@font-face {
	font-family: 'HelveticaNeueCyr';
	src: url('../fonts/HelveticaNeueCyr-Roman.woff2') format('woff2'),
		url('../fonts/HelveticaNeueCyr-Roman.woff') format('woff'),
		url('../fonts/HelveticaNeueCyr-Roman.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;
}

@font-face {
	font-family: 'HelveticaNeueCyr';
	src: url('../fonts/HelveticaNeueCyr-Medium.woff2') format('woff2'),
		url('../fonts/HelveticaNeueCyr-Medium.woff') format('woff'),
		url('../fonts/HelveticaNeueCyr-Medium.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'HelveticaNeueCyr';
	src: url('../fonts/HelveticaNeueCyr-Bold.woff2') format('woff2'),
		url('../fonts/HelveticaNeueCyr-Bold.woff') format('woff'),
		url('../fonts/HelveticaNeueCyr-Bold.ttf') format('truetype');
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: 'BebasNeue';
	src: url('../fonts/BebasNeue-Bold.woff2') format('woff2'),
		url('../fonts/BebasNeue-Bold.woff') format('woff');
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: 'Constantia';
	src: url('../fonts/Constantia.woff2') format('woff2'),
		url('../fonts/Constantia.woff') format('woff'),
		url('../fonts/Constantia.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
}


/* Использование шрифта */
body {
	font-family: 'HelveticaNeueCyr', sans-serif;
	font-size: 16px;
	font-weight: 400;
}


section {
	overflow: hidden;
}


.container {
	max-width: 1150px;
	padding: 0 20px;
	margin: 0 auto;
}

.header-section {
	min-height: 720px;
	height: 100%;
	position: relative;
	overflow: hidden;
	margin-bottom: 70px;
}

.header-section .container {
	min-height: 720px;
	height: 100%;
}

.header-section::before {
	content: '';
	background-image: url(../img/image-bg.png);
	height: 100%;
	background-repeat: no-repeat;
	width: 100vw;
	bottom: 0;
	right: 0;
	left: 0;
	position: absolute;
	background-size: cover;
	z-index: -1;
}

.header-section::after {
	content: '';
	background-image: url(../img/image-1.png);
	max-height: 316px;
	height: 100%;
	background-repeat: no-repeat;
	width: 100%;
	bottom: 0;
	right: 0;
	left: 0;
	position: absolute;
	background-size: cover;
	z-index: -1;
}

.header-section .grid-content {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 40px;
	min-height: 720px;
	height: 100%;
	align-items: center;
	position: relative;
}

.heading-page {
	font-size: 64px;
	color: #222222;
	line-height: 110%;
	font-family: 'Constantia';
}

.accent {
	color: #A4B29B;
}

.content__left {
	display: flex;
	flex-direction: column;
	gap: 50px;
	align-items: start;
}

.header-section .dsc {
	font-size: 18px;
	max-width: 410px;
	line-height: 125%;
}

.content__info span {
	width: auto;
}

.content__info {
	display: flex;
	gap: 10px;

}

.button {
	padding: 35px 30px;
	background: #A4B29B;
	box-shadow: 0 4px 39px 8px rgba(135, 154, 123, 0.48);
	cursor: pointer;
	color: #fff;
	font-size: 26px;
	font-weight: 500;
	border-radius: 25px;
	-webkit-border-radius: 25px;
	-moz-border-radius: 25px;
	-ms-border-radius: 25px;
	-o-border-radius: 25px;
}

.button a {
	color: #fff;
}



.button {
	box-shadow: 0 4px 39px 8px rgba(135, 154, 123, 0.80);
}

.grid-content.content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
}

button.button.button-link {
	background: unset;
	box-shadow: unset;
	color: #111;
}

button.button.button-link a {
	color: #333;
}


.header .content__right .button {
	display: none;
	margin-bottom: 40px;
}


.header__img img {
	max-width: 600px;
	max-height: 600px;
	height: 100%;
	position: absolute;
	z-index: -1;
	bottom: 0;
	right: -15%;
	object-fit: contain;
}

.header-section .content__right::before {
	content: '';
	background-image: url(../img/palma.png);
	height: 100%;
	background-repeat: no-repeat;
	max-width: 750px;
	width: 100%;
	bottom: -23%;
	right: -37%;
	position: absolute;
	z-index: -1;
}


.elem::before {
	content: '';
	background-image: url(../img/palma-1.png);
	height: 100%;
	background-repeat: no-repeat;
	max-width: 556px;
	width: 100%;
	bottom: 0;
	left: -350px;
	position: absolute;
	z-index: -1;
	background-size: contain;
}



/* section about */

.about {
	margin-bottom: 120px;
	position: relative;
	overflow: hidden;
}



.about::before {
	content: '';
	background-image: url(../img/image.png);
	max-height: 310px;
	height: 100%;
	background-repeat: no-repeat;
	width: 120%;
	bottom: 0;
	right: 0;
	left: -150px;
	position: absolute;
	background-size: cover;

}

.about::after {
	content: '';
	background-image: url(../img/palma-1.png);
	background-repeat: no-repeat;
	width: 500px;
	bottom: -8%;
	right: -160px;
	position: absolute;
	background-size: cover;
	z-index: -1;
	height: 100%;
}

.about .heading-page {
	margin-bottom: 60px;
}

.border {
	border-bottom: 3px solid #a4b29b;
}

.about__dsc {
	font-size: 24px;
	line-height: 150%;
	color: #222222;
	font-weight: 300;
}



.about .grid-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
}

.about .content__left {
	margin-left: -40px;
}


/* section quote */

section.section-quote .about__dsc:before {
    content: ",,";
    position: absolute;
    font-size: 116px;
    color: #a4b39b4a;
    left: -7%;
    top: -41px;
}

.section-quote .container {
    max-width: 850px;
}

.section-quote .about__dsc {
    position: relative;
}

section.section-quote {
    padding: 40px;
    margin-bottom: 30px;
}

/* section my-product */

.my-product {
	overflow: hidden;
	margin-bottom: 120px;
	position: relative;
}

.my-product::after {
	content: '';
	background-image: url(../img/palma.png);
	background-repeat: no-repeat;
	width: 800px;
	bottom: 0;
	left: -350px;
	position: absolute;
	background-size: contain;
	z-index: -1;
	height: 695px;
}


.my-product .heading-page {
	margin-bottom: 60px;
}


.list-card {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px 80px;
}

.card-product {
	background: linear-gradient(180deg, #f8f8f8 8.5%, rgba(226, 218, 218, 0.59) 100%);
	padding: 80px 70px;
	display: flex;
	flex-direction: column;
	gap: 30px;
	border-radius: 30px;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	-ms-border-radius: 30px;
	-o-border-radius: 30px;
}

.button__product {
	font-weight: 500;
	font-size: 24px;
	line-height: 110%;
	color: #fff;
	padding: 25px 50px;
	width: max-content;
	margin: 0 auto;

}

.product__name {
	font-family: 'Constantia';
	font-weight: 400;
	font-size: 36px;
	line-height: 110%;
	color: #a4b29b;
	text-align: center;
}

.product-dsc {
	font-weight: 500;
	font-size: 18px;
	line-height: 125%;
	text-align: center;
	color: #4e4e4e;
}

.product__number {
	font-size: 48px;
}

/* education */

.education {
	margin-bottom: 120px;
}

.education .heading-page {
	margin-bottom: 60px;
}

.education .grid-content {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 70px;
}

.list-education {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
}

.list-education.bottom {
	height: max-content;
}

.education__card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 320px;
	height: 100%
}


.swiper-container {
	width: 100%;
	max-width: 100%;
	height: max-content;
	position: relative;
	overflow: hidden;
}

.swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: contain
}

/* Стили кастомных стрелок */
.custom-prev,
.custom-next {
	position: absolute;
	top: 50%;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	border-radius: 50%;
	transition: all ease-in-out 0.6s;
	-webkit-transition: all ease-in-out 0.6s;
	-moz-transition: all ease-in-out 0.6s;
	-ms-transition: all ease-in-out 0.6s;
	-o-transition: all ease-in-out 0.6s;
}

.custom-prev svg path,
.custom-next svg path {
	transition: all ease-in-out 0.3s;
	-webkit-transition: all ease-in-out 0.3s;
	-moz-transition: all ease-in-out 0.3s;
	-ms-transition: all ease-in-out 0.3s;
	-o-transition: all ease-in-out 0.3s;
	background: #fff;
}

.custom-prev {
	left: -50px;
}

.custom-next {
	right: -50px;
}

.custom-prev::after,
.custom-next::after {
	font-size: 24px;
	font-weight: bold;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after,
.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
	content: none;
}

.custom-prev svg:hover path,
.custom-next svg:hover path {
	stroke: rgb(164, 178, 155);
}

.education__slider {
	max-width: 580px;
	margin: 0 auto;
	position: relative;
	margin-bottom: 90px;
}

.list-education.bottom {
	flex-direction: row;
}

.education__card .bold {
	font-weight: 500;
}

.education__card .dsc {
	font-weight: 400;
	font-size: 20px;
	color: #222;
}

.education__card .year {
	font-family: 'BebasNeue', sans-serif;
	font-weight: 700;
	font-size: 48px;
	color: #a4b29b;
}

.education__card .institution {
	font-weight: 700;
	font-size: 24px;
	color: #222;
}



/* reviews */

.reviews {
	margin-bottom: 120px;
}

.reviews .heading-page {
	margin-bottom: 60px;
}

.reviews__dsc {
    font-weight: 200;
    font-size: 21px;
    line-height: 130%;
    color: #222;
    height: 110px;
}

.reviews__name {
	font-weight: 500;
	font-size: 24px;
	color: #222;
}

.card-reviews {
	border-radius: 44px;
	padding: 60px 65px;
	background: #f7f7f7;

	display: flex;
	flex-direction: column;
	gap: 20px;
}

.card-reviews button.reviews__more-btn{
        margin-top: 24px;
    text-align: left;
    font-size: 21px;
    font-weight: 400;
}

ul.list-reviews {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.reviews-swiper {
	max-width: 1869px;
}

/* modal reviews */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 39px;
    border-radius: 8px;
    max-width: 800px;
    text-align: left;
    margin: 0 30px;
    font-size: 24px;
    line-height: 150%;
    color: #222222;
    font-weight: 100;
}

.modal-content p {
    max-height: 90vh;
    overflow-y: auto;
    padding-right: 10px;
    height: 571px;
}

.close {
    float: right;
    font-size: 24px;
    cursor: pointer;
}



/* footer */

footer .nav-list {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 60px 0;
}

footer .nav-item {
	font-family: 'Constantia';
	font-weight: 400;
	font-size: 20px;
	line-height: 108%;
	text-align: center;
	color: #222;
}


/* detail page */


.detail-product .heading-page {
	margin-bottom: 50px;
}

.detail-product {
	margin: 120px 0;

}


.detail-product .content ol li,
.detail-product .content ul li {
	margin-bottom: 40px;

}

.detail-product .content ol li p,
.detail-product .content ul li p,
.detail-product .content ol p,
.detail-product .content ul p,
.detail-product .content p,
.detail-product .content div,
.detail-product .content span {
	margin-bottom: 15px;
	font-size: 18px;
	line-height: 120%;
	font-weight: 300;
}

.detail-product .content ol {
	padding-left: 20px;

}

.detail-product .content button {
	margin: 80px auto;
	display: block;
}

.detail-product .content h3 {
	font-size: 20px;
	margin-bottom: 15px;
	line-height: 123%;
}

.detail-product .content h2 {
	font-size: 24px;
	margin-bottom: 15px;
}

.detail-product span.number.accent {
	font-size: 96px;
}

.detail-product .content li::marker {
	font-weight: 600;
	font-size: 1.2rem;
}

.detail-product::before {
	content: '';
	background-image: url(../img/image-bg.png);
	height: 100%;
	background-repeat: no-repeat;
	width: 100vw;
	bottom: 0;
	right: 0;
	left: 0;
	top: 0;
	position: fixed;
	background-size: cover;
	z-index: -1;
}


.detail-product::after {
	content: '';
	background-image: url(../img/palma.png);
	height: 100%;
	background-repeat: no-repeat;
	max-width: 750px;
	width: 100%;
	bottom: 0;
	left: -400px;
	position: fixed;
	z-index: -1;
	background-size: contain;
	filter: blur(10px);
	-webkit-filter: blur(10px);
}

.detail-product .content::after {
	content: '';
	background-image: url(../img/palma-3.png);
	height: 100%;
	background-repeat: no-repeat;
	max-width: 750px;
	width: 100%;
	bottom: 0;
	right: -450px;
	position: fixed;
	z-index: -1;
	background-size: contain;
}
