/* ------------------------------------------------------------ *\
Shell
\* ------------------------------------------------------------ */

.shell {
	max-width: calc(1160px + 50px);
	padding: 0 25px;
	margin: 0 auto;
}

/* ------------------------------------------------------------ *\
Hero
\* ------------------------------------------------------------ */

.hero {
	position: relative;
	background: linear-gradient(180deg, rgba(21,87,132,1) 0%, rgba(194,210,221,1) 50%, rgba(218,227,233,1) 100%);
	padding-bottom: 108px;
}

.hero .hero__decoration {
	position: absolute;
	width: 100%;
	top: 50%;
	left: 0;
	transform: translateY(-40%);
}

.hero__decoration img {
	width: 100%;
}

.hero .hero__main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	padding: 0 17px;
	margin-bottom: 166px;
}

.hero .hero__image {
	flex: 1;
	margin-left: calc(( 1140px - 100vw)/2);
	max-width: 800px;
}

.hero .hero__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero .hero__content {
	max-width: 562px;
	padding: 110px 0 40px 30px;
}

.hero .hero__entry {
	color: #fff;
	font-size: 20px;
	margin-bottom: 25px;
}

.hero .hero__entry p {
	line-height: 1.5;
}

.hero .hero__entry h1,
.hero .hero__entry h2 {
	color: #fff !important;
}

.hero .hero__entry h1 {
	font-size: 64px;
	margin-bottom: 4px;
	line-height: 1;
}

.hero .hero__entry h2 {
	font-size: 32px;
	font-weight: 400;
	font-family: 'Tenon Regular';
	line-height: 1.2;
}

.hero .hero__foot {
	position: relative;
	text-align: center;
	font-size: 20px;
	color: #292929;
}

.hero .hero__logos {
	margin-bottom: 40px;
}

.hero .heading {
	max-width: 760px;
	margin: 0 auto 40px auto;
}

.hero .hero__foot a {
	color: #F26531;
	text-decoration: underline;
	transition: color .2s;
}

.hero .hero__foot a:hover {
	text-decoration: none;
	color: #51C9F5;
}

@media only screen and (max-width: 1199px) {
	.hero .hero__main {
		padding: 0;
	}

	.hero .hero__content {
		max-width: 500px;
	}

	.hero .hero__main {
		margin-bottom: 100px;
	}
}

@media only screen and (max-width: 1140px) {
	.hero .hero__image {
		margin-left: 0;
	}
}

@media only screen and (max-width: 1023px) {
	.hero {
		padding-bottom: 70px;
	}

	.hero .hero__entry h1 {
		font-size: 48px;
	}

	.hero .hero__main {
		flex-direction: column-reverse;
		margin-bottom: 50px;
	}

	.hero .hero__content {
		padding: 70px 0;
		max-width: none;
	}

	.hero .hero__image {
		max-width: 500px;
		margin: 0 auto;
	}
}

@media only screen and (max-width: 766px)  {
	.hero {
		padding-bottom: 50px;
	}

	.hero .hero__content {
		padding: 50px 0;
	}

	.hero .hero__decoration {
		top: 50%;
	}
}

/* ------------------------------------------------------------ *\
Subscribe
\* ------------------------------------------------------------ */

.subscribe form {
	display: flex;
	gap: 16px;
	align-items: center;
}

.subscribe input {
	background-color: #fff;
	color: #848484 !important;
	font-size: 20px;
	height: 45px;
	border: 1px solid #DAE3E9;
	text-transform: none;
	flex: 0 0 53%;
	transition: border-color .3s
}

.subscribe input::placeholder {
	color: #848484 !important;
}

.subscribe .subscribe__btn {
	background-color: #F26531;
	border-color: #F26531;
	font-size: 14px;
	margin: 0;
	font-weight: 700;
	border-radius: 5px;
	padding: 9px 20px;
	flex: 0 0 38%;
}

.subscribe .subscribe__btn:after {
	line-height: 0.7em;
}

.subscribe .subscribe__btn:hover {
	background-color: #f2855e;
	border-color: #f2855e;
}

/* subscribe alt */
.subscribe--alt form {
	gap: 30px;
	justify-content: space-between;
}

.subscribe--alt input {
	flex: 0 0 59%;
}

.subscribe--alt .subscribe__btn {
	flex: 1;
}

@media only screen and (max-width: 600px)  {
	
	.subscribe form {
		flex-direction: column;
		gap: 20px;
	}

	.subscribe input {
		width: 100%;
	}

	.subscribe .subscribe__btn {
		width: 100%;	
	}
}

/* ------------------------------------------------------------ *\
Heading
\* ------------------------------------------------------------ */
.heading {
	font-size: 20px;
	line-height: 1.5;
	color: #292929;
}

.heading p span {
	color: #51C9F5;
	text-transform: uppercase;
	font-size: 20px;
	font-family: 'Tenon Bold';
	letter-spacing: 0.04em;
}

.heading p {
	padding-bottom: 0;
}

.heading p:not(:last-child) {
	margin-bottom: 7px;
}

.heading h2 {
	font-size: 48px;
	font-family: "Tenon Regular";
	padding-bottom: 0;
	margin-bottom: 9px;
	line-height: 1.2;
}

.heading h3 {
	font-weight: 400;
	font-family: "Tenon Regular";
	font-size: 32px;
	margin-bottom: 8px;
	line-height: 1.24;
	padding-bottom: 0;
}

.heading a {
	text-decoration: underline;
	color: #F26531;
	transition: color .2s;
}

.heading a:hover {
	color: #51C9F5;
	text-decoration: none;
}

@media only screen and (max-width: 1023px)  {
	.heading h2 {
		font-size: 34px;
	}

	.heading h3 {
		font-size: 26px;
	}
}

@media only screen and (max-width: 766px)  {
	.heading {
		font-size: 18px;
	}
}

/* ------------------------------------------------------------ *\
Link
\* ------------------------------------------------------------ */

.link {
	color: #F26531;
	font-size: 20px;
	position: relative;
	text-decoration: none;
}

.link:before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 1px;
	background-color: currentColor;
	transition: opacity .2s;
}

.link:hover:before {
	opacity: 0; 
}

/* ------------------------------------------------------------ *\
List logos
\* ------------------------------------------------------------ */

.list-logos {
	display: flex;
	align-items: stretch;
	gap: 40px;
}

.list-logos li {
	display: inline-block;
	background-color: #fff;
	box-shadow: 0px 4px 4px 0px rgba(47, 90, 120, 0.20);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 22px;
	flex: 1;
}

@media only screen and (max-width: 1023px) {
	.list-logos {
		gap: 15px;
	}
}


@media only screen and (max-width: 766px) {
	.list-logos {
		flex-wrap: wrap;
	}

	.list-logos li {
		flex: 1 0 calc(50% - 15px);
	}
}

/* ------------------------------------------------------------ *\
Background colors
\* ------------------------------------------------------------ */

.bg-beige {
	background-color: #F7F3F3;
}

.bg-blue {
	background-color: #DAE3E9;
}

/* ------------------------------------------------------------ *\
Section content image
\* ------------------------------------------------------------ */

.section-content-image {
	padding: 70px 0;
	overflow: hidden;
}

.section-content-image .section__inner {
	display: flex;
	align-items: center;
}

.section-content-image .section__content {
	max-width: 450px;
	padding: 65px 50px 0 0;
}

.section-content-image .section__decoration {
	text-align: right;
}

.section-content-image .section__image {
	position: relative;
	margin-right: calc((1120px - 100vw)/2);
	align-self: flex-end;
	margin-bottom: -70px;
	max-width: 800px;
	flex: 1;
}

.section-content-image .section__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.section-content-image .section__entry {
	max-width: 745px;
	margin: 0 auto;
}

@media only screen and (max-width: 1140px) {
	.section-content-image .section__image {
		margin-right: -25px;
	}
}

@media only screen and (max-width: 1023px) {
	.section-content-image {
		padding: 50px 0;
	}

	.section-content-image .section__content {		
		padding: 0 30px 0 0;
	}
}

@media only screen and (max-width: 766px) {
	.section-content-image .section__inner {
		display: block;
	}

	.section-content-image .section__content {
		margin-bottom: 40px;
		max-width: none;
		padding: 0;
	}

	.section-content-image .section__image {
		margin: 0 0 -50px 0;
	}
}

/* ------------------------------------------------------------ *\
Section content cards
\* ------------------------------------------------------------ */
.section-content-cards {
	padding: 160px 0 130px 0;
}

.section-content-cards .section__inner {
	display: flex;
	align-items: center;
	margin-bottom: 36px;
}

.section-content-cards .section__content {
	max-width: 584px;	
	padding-left: 50px;
}

.section-content-cards .section__image {
	aspect-ratio: 633/547;
	flex: 1;
}

.section-content-cards .section__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.section-content-cards .section__entry {
	max-width: 745px;
	margin: 0 auto;
}

.section-content-cards .section__entry:not(:last-child) {
	margin-bottom: 70px;
}

.section-content-cards .section__cards {
	margin-bottom: 37px;
}

@media only screen and (max-width: 1199px) {
	.section-content-cards {
		padding: 80px 0;
	}
}

@media only screen and (max-width: 1023px) {
	.section-content-cards {
		padding: 50px 0;
	}

	.section-content-cards .section__image {
		max-width: 500px;
		margin: 0 auto;
	}

	.section-content-cards .section__inner {
		flex-direction: column-reverse;
	}

	.section-content-cards .section__content {
		max-width: none;
		padding-left: 0;
		margin-bottom: 40px;
	}

	.section-content-cards .section__entry:not(:last-child) {
		margin-bottom: 50px;
	}
}

/* ------------------------------------------------------------ *\
Card
\* ------------------------------------------------------------ */
.card {
	border-radius: 10px;
	background: #FFF;
	box-shadow: 0px 4px 4px 0px rgba(47, 90, 120, 0.20);
	padding: 30px 30px;
	text-align: center;
	position: relative;
}

.card p:not(:last-child) {
	margin-bottom: 30px;
}

.card + .card {
	margin-top: 40px;
}

.card .card__link {
	position: relative;
	text-transform: uppercase;
	color: #F26531;
	font-size: 14px;
	font-weight: 700;
	transition: color .4s;
	text-decoration: none;
}

.card .card__link i {
	font-size: 11px;
	transition: transform .4s;
}

.card .card__link:hover {
	color: #51C9F5;
}

.card .card__link:hover i {
	transform: translateX(5px);
}

.card p:not(:last-child) {
	margin-bottom: 17px;
}

.card h3 {
	margin-bottom: 20px;
}

/* card alt */
.card--alt {
	padding: 40px 30px ;
}

.card--alt h3 {
	margin-bottom: 10px;
}

@media only screen and (max-width: 1023px) {
	.card + .card {
		margin-top: 20px;
	}
}

/* ------------------------------------------------------------ *\
Grid
\* ------------------------------------------------------------ */

.grid {
	display: flex;
	flex-wrap: wrap;
	margin: -21px;
}

.grid .grid__col {
	max-width: 100%;
	flex: 1;
	padding: 21px;
}

.grid .grid__col--1of3 {
	flex: 0 0 33.33%;
}

.grid .grid__col--1of2 {
	flex: 0 0 50%;
}

@media only screen and (max-width: 1023px) {
	.grid {
		margin: -10px;
	}
	
	.grid .grid__col {
		padding: 10px;
	}

	.grid .grid__col--1of3 {
		flex: 0 0 50%;
	}
}

@media only screen and (max-width: 766px) {
	.grid {
		display: block;
	}
}

/* ------------------------------------------------------------ *\
Section
\* ------------------------------------------------------------ */

.section {
	padding: 119px 0;
	text-align: center;
	overflow: hidden;
}

.section .section__entry {
	max-width: 800px;
	margin: 0 auto 30px auto;
}

.section .section__subscribe {
	max-width: 560px;
	margin: 0 auto;
}

@media only screen and (max-width: 1023px) {
	.section {
		padding: 50px 0;
	}
}

/* ------------------------------------------------------------ *\
Testimonial
\* ------------------------------------------------------------ */

.testimonial p span {
	color: #51C9F5;
	text-transform: uppercase;
	font-size: 20px;
	font-family: "Tenon Bold";
	letter-spacing: 0.05em;
}

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

.testimonial blockquote {
	font-size: 48px;
	line-height: 1.23;
	border: none;
	color: #292929;
	padding: 0;
}

.testimonial h6 {
	font-size: 20px;
	color: #054C7C;
	font-weight: 500;
	padding-bottom: 0;
}

@media only screen and (max-width: 1023px) {
	.testimonial p {
		margin-bottom: 30px;
	}

	.testimonial blockquote {
		font-size: 40px;
	}
}

@media only screen and (max-width: 766px) {
	.testimonial blockquote {
		font-size: 30px;
	}
}

/* ------------------------------------------------------------ *\
Slider testimonials
\* ------------------------------------------------------------ */
.slider-testimonials {
	position: relative;
}

.slider-testimonials .slider__clip {
	max-width: 880px;
	margin: 0 auto;
	overflow: hidden;
}

.slider-testimonials .slider__actions {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 87%;
	transform: translate(-50%, -50%);
	display: flex;
	justify-content: space-between;
	pointer-events: none;
	z-index: 1;
}

.slider-testimonials .slider__prev,
.slider-testimonials .slider__next {
	pointer-events: all;
	cursor: pointer;
}

.slider-testimonials .slider__prev:hover i,
.slider-testimonials .slider__next:hover i {
	color: #51C9F5;
}

.slider-testimonials .slider__actions i {
	color: #F26531;
	font-size: 26px;
	transition: color .4s;
}

@media only screen and (max-width: 1199px) {
	.slider-testimonials .slider__actions {
		width: 100%;
	}
}

@media only screen and (max-width: 1023px) {
	.slider-testimonials .slider__clip {
		padding-bottom: 65px;
	}

	.slider-testimonials .slider__actions {
		bottom: -20px;
		top: auto;
		width: 150px;
	}
}

/* ------------------------------------------------------------ *\
Section cards
\* ------------------------------------------------------------ */
.section-cards {
	padding: 125px 0;
}

.section-cards .section__head {
	text-align: center;
	max-width: 760px;
	margin: 0 auto 40px auto;
}

@media only screen and (max-width: 1023px) {
	.section-cards {
		padding: 50px 0;
	}
}