
:root {
	--accent-color: #C97A2B;
	--accent-color-hover: #f0861d;
	--text-color: #000000;
	--text-color-second: #ffffff;
	--border-color: #D9D9D9;
	--bg-color: #fffefe;
	--error-color: #b34141;
}

html,body {
	margin:0;
	padding:0;
	font: 300 16px/20px "Open Sans", sans-serif;
	color:var(--text-color);
	min-height: 100%;
	height: 100%;
}

h1 {
	font: 700 52px/1.2em "Literata", serif;
	margin: 0;
	padding: 0 0 16px 0 ;
	
}
h2 {
	font: 700 52px/1.2em "Literata", serif;
	margin: 0;
	padding: 0 0 16px 0;
	text-align: center;
	}

h3 {
	font: 700 32px/1.2em "Literata", serif;
	margin: 0;
	padding: 0 0 12px 0;
}
h4 {
	font: 700 24px/1.2em "Literata", serif;
	margin: 0;
	padding: 0 0 10px 0;
}

figure {margin: 0;}

.subtitle {
	font: 300 24px/1.2em "Open Sans", sans-serif;
	margin: 0;
	padding: 0;
	text-align: center;
}

.double_title {
	position: relative;
	text-align: center;
}

.double_title span {
	font-size: 98px;
	opacity: .11;
	position: absolute;
	display: block;
	text-align: center;
	width: 100%;
	top: -44px;
	color: var(--accent-color);
}

.white_title {
	color: var(--text-color-second);
}

p {
	margin:0 0 20px; 
	padding:0;
}

.first_button, a.first_button {
	display:inline-block;
	background-color:var(--accent-color);
	padding:8px 32px;
	border-radius:12px; 
	color:var(--text-color); 
	text-decoration:none; 
	text-align: center;
}
.first_button:hover {background-color:var(--accent-color-hover)}

#wrapper {
	height: 100%;
}
.wrapper_fixed {
	position:relative;
	max-width:1400px;
	min-width:300px;
	width: calc(100% - 40px);
	padding:0 20px;	
	margin: 0 auto;
}

.main_screen {
	background: url(../images/main_screen_b.jpg) center center no-repeat;
	background-size: cover;
	height: 100%;
	position: relative;
	}

.header {
	padding: 30px 40px;
	z-index: 300;
	position: relative;
}

.page_header {
	background-color:#000;
}

.menu {
	display: inline-block;
}

.burger-checkbox {
	position: absolute;
	visibility: hidden;
	width: 23px;
	height: 21px;
}

.burger {
	cursor: pointer;
	display: block;
	position: relative;
	top: -7px;
	border: none;
	background: transparent;
	width: 30px;
	height: 18px;
	float: left;
	z-index: 1;
}

.burger::before,
.burger::after {
	content: '';
	left: 0;
	position: absolute;
	display: block;
	width: 100%;
	height: 1px;
	border-radius: 10px;
	background: #fff;
}

.burger::before {
	top: 0;
	box-shadow: 0 8px 0 #fff;
	transition: box-shadow .3s .15s, top .3s .15s, transform .3s;
}

.burger::after {
	bottom: 0;
	transition: bottom .3s .15s, transform .3s;
}

.burger-checkbox:checked+.burger::before {
	top: 6px;
	transform: rotate(45deg);
	box-shadow: 0 6px 0 rgba(0, 0, 0, 0);
	transition: box-shadow .15s, top .3s, transform .3s .15s;
}

.burger-checkbox:checked+.burger::after {
	bottom: 11px;
	transform: rotate(-45deg);
	transition: bottom .3s, transform .3s .15s;
	background: #fff;
}

.menu-list {
	top: 0;
	left: 0;
	position: absolute;
	display: grid;
	gap: 12px;
	padding: 42px 0;
	margin: 0;
	background: rgba(0, 0, 0, 0.9);
	list-style-type: none;
	transform: translateX(-100%);
	transition: .3s;
	width: 300px;
}

.menu-item {
	display: block;
	padding: 8px;
	color: #fff;
	font-size: 18px;
	text-align: center;
	text-decoration: none;
}

.menu-item:hover {
	background: rgba(255, 255, 255, .2)
}

.menu-item a {
	color:#fff;
	text-decoration:none;
}

.burger-checkbox:checked~.menu-list {
	transform: translateX(0);
}

.logo {
	margin-left: 24px;
}

.phone_link {
	float: right;
}

.main_screen__video_bg {
	display:none;
}

.main_screen_wrapper {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	color: var(--text-color-second);
	height: calc(100% - 110px);
}
.main_screen_content {
	display: flex;
	flex-direction: column;
	gap: 110px;
	justify-content: center;
	z-index: 200;
}

.main_screen_title_block {}

.main_screen_title_h1 {font-size: 60px;}

.main_screen_subtitle {
	font-size: 40px;
	font-family: "Literata", serif;
	font-weight: 300;
	display: flex;
	margin: 0;
	padding: 0;

}

.main_screen_subtitle li {
	list-style: none;
	float: left;
	margin-right: 24px;
}

.main_screen_subtitle li:not(:first-child)::before {
	content: "\2022";
	color: var(--accent-color);
	font-weight: bold;
	display: inline-block;
	width: 1em;

}

.main_screen_descr {
	font-size: 20px;
	font-family: "Open Sans", sans-serif;
	font-weight:300;
	line-height: normal;
}

.main_screen .first_button {
	padding: 16px 32px;
}

.main_screen_advants_list {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 60px;
	z-index: 200;
}

.main_screen_advants_item {
	font-size: 18px;
	text-align: right;
	}

.main_screen_advants_item h3 {
	color: var(--accent-color);
	margin: 0;
}

.content_block {
	padding: 80px 0;
	background-color: var(--bg-color);
}

.about_us_content {
	display: grid;
	grid-template-columns: 7fr 5fr;
	gap: 40px;
	margin-top: 30px;
}

.slider {
	position: relative;
}

.flexslider {
	background: none;
	border: none;	
	height: 100%;
}

.flex-viewport, .slides, .flexslider .slides > figure {
	height: 100%;
}

.flexslider .slides img {
	border-radius: 24px;
	height: 100%;
	object-fit:cover;

}
.flex-direction-nav {display: none;}

.flex-control-nav {
	width: auto;
	background-color: rgba(0,0,0,0.3);
	backdrop-filter: blur(4.4px);
	padding: 20px 26px;
	border-radius: 12px;
	bottom: 20px;
	left: 50%;
	transform: translate(-50%, 0);
}

.flex-control-paging li a {
	background: none;
	border:1px solid var(--accent-color);
}
.flex-control-paging li a.flex-active {
	background: var(--accent-color);
}

.about_us_list {
	counter-reset: section;
	list-style-type: none;
	margin: 0;
	padding: 60px 0;
	position: relative;
	
}
.about_us_list li {
	z-index: 0;
	margin-bottom: 40px;
	position: relative;
}
.about_us_list li div{
	z-index: 10;
	position: relative;
}

.about_us_list li:before {
	counter-increment: section;
	content: "0"counters(section, ".");
	font-size: 78px;
	font-family: "Literata", serif;
	font-weight: 700;
	color: var(--accent-color);
	opacity: 0.11;
	position: absolute;
	left: -25px;
	top: 5px;
	z-index: 0;
}

.included_block {
	background: url(../images/bg_1.jpg) center center no-repeat;
	color: var(--text-color-second);
	font-family: "Open Sans", sans-serif;
	font-weight:300;

}

.included_list {
	display: grid;
	gap: 40px;
	margin-top: 40px;
	grid-template-columns: repeat(6,1fr);
}

.included_item {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	text-align: center;
	gap:8px;
}

.included_icon svg { 
	width: 60px;
	height: 60px;
}

.included_item span {
	opacity:.7;
}

.reviews_block {
	text-align: center;
}

.reviews_list {
	margin:30px 0;
}

.reviews_list img {
	max-width:300px;
	min-width:200px;
	object-fit: cover;
	width: 100%;
}

.reviews_list .slides li {
	border-radius: 8px;
	border:1px solid var(--border-color);
	overflow: hidden;
	height: 200px;
}

.price_block {
	background: url(../images/bg_2.jpg) top center no-repeat;
}

.price__list {
	display: flex;
	flex-direction: row;
	gap: 40px;
	justify-content: center;
	margin-top:30px;
}

.price__item {
	padding: 40px;
	width: 600px;
	background-color: rgba(255, 255, 255, .5);
	border-radius: 24px;
}

.price_item__row {
	display: flex;
	justify-content: space-between;
	margin-bottom: 20px;
	gap: 10px;
}


.price_item__dot {
	flex-grow: 1;
	border-bottom: 1px dashed var(--text-color);
	position:relative;
	top:-4px; 
}

.price_item__price {
	text-align:right;
	font-family: "Open Sans", sans-serif;
	font-weight:600;
}

.rules_block {
	background: linear-gradient(to right,var(--bg-color), rgba(255,255,255,.1)), url(../images/bg_3.jpg) top center no-repeat;
	background-size: cover;
}

.rules_list {
	counter-reset: section;
	list-style-type: none;
	margin: 0 auto;
	padding: 40px 20px 0;
	position: relative;
	max-width: 1160px;
}

.rules_list li {
	z-index: 0;
	margin-bottom: 30px;
	position: relative;
}

.rules_list li h4 {
	z-index: 10;
	position: relative;
}

.rules_list li:before {
	counter-increment: section;
	content: "0" counters(section, ".");
	font-size: 52px;
	font-family: "Literata", serif;
	font-weight: 700;
	color: var(--accent-color);
	position: absolute;
	left: -25px;
	top: 5px;
	opacity: .11;
	z-index: 0;
}

.form_block {
	background: url(../images/bg_4.jpg) center center no-repeat;
	color: var(--text-color-second);
	background-size:cover;
}

.form_block__form {
	max-width: 365px;
	margin: 40px auto 0;
}

.form_block__form label {
	margin-bottom: 8px;
	display: block;
}
.form_block__form input[type=text] {
	padding: 10px;
	border-radius: 12px;
	border: none;
	outline: none;
	display: block;
	background-color: rgba(240, 238, 238, 0.08);
	width: calc(100% - 20px);
	margin-bottom: 24px;
	color: var(--text-color-second);
}

.form_block__form textarea {
	padding: 10px;
	border-radius: 12px;
	border: none;
	outline: none;
	display: block;
	background-color: rgba(240, 238, 238, 0.08);
	width: calc(100% - 20px);
	height: 100px;
	margin-bottom: 24px;
	color: var(--text-color-second);
}

.form_block__form button[type=submit] {
	width: 100%;
	display: block;
	border: none;
	outline: none;
	padding: 10px 0;
	font-size: 16px;
	cursor: pointer;
}

.form_block__descr {
	max-width:365px;
	font-size:10px;	
	margin:20px auto 0;
	text-align:center;
}
.form_block__descr  a {
	color:#fff;
}

.footer {
	padding: 40px 0 20px;
	background-color: #131212;
	color: var(--text-color-second);
}
.footer .wrapper_fixed{
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer__menu {
	display: flex;
	column-gap: 20px;
}

.footer__menu li {
	list-style: none;
	font-size: 16px;
	
}
.footer__menu  a {
	display: block;
	padding: 8px;
	color: #fff;
	font-size: 18px;
	text-align: center;
	text-decoration: none;
}



.footer .logo {
	margin-left: 0;
}

.footer__copyright {
	margin: 40px auto 0;
	font-size: 14px;
	opacity: 0.6;
}

.footer a {
	color: var(--text-color-second);
}

#button-max {
	position:fixed; 
	right:35px; 
	bottom:40px; 
	height:40px; 
	width:40px; 
	background:var(--accent-color) url(images/icons/whatsapp.svg) center center no-repeat; 
	background-size:20px; 
	border-radius:40px;
	box-shadow:0 0 4px rgb(0 0 0 / 30%);
	z-index:10000;
}
#button-max:before,
#button-max:after {
	content            : "";
	display            : block;
	position           : absolute;
	border             : 50%;
	border             : 1px solid var(--accent-color);
	left               : -20px;
	right              : -20px;
	top                : -20px;
	bottom             : -20px;
	border-radius      : 50%;
	animation          : animate 1.5s linear infinite;
	opacity            : 0;
	backface-visibility: hidden;
	z-index			   : 1;
}

#button-message:after {
	animation-delay: .5s;
}

#button-message {
	position:fixed; 
	right:35px; 
	bottom:30px; 
	height:40px; 
	width:40px; 
	background:var(--accent-color) url(../images/mail.svg) center center no-repeat; 
	background-size:20px; 
	border-radius:40px;
	box-shadow:0 0 4px rgb(0 0 0 / 30%);z-index:10000;
}
#button-message:before,
#button-message:after {
	content            : "";
	display            : block;
	position           : absolute;
	border             : 50%;
	border             : 1px solid var(--accent-color);
	left               : -20px;
	right              : -20px;
	top                : -20px;
	bottom             : -20px;
	border-radius      : 50%;
	animation          : animate 1.5s linear infinite;
	opacity            : 0;
	backface-visibility: hidden;
	z-index			   : 1;
}

#button-message:after {
	animation-delay: .5s;
}
#button-message.close_state {background-image:url(../images/close_icon.svg); animation-name: none;} 
#button-message.close_state:after, #button-message.close_state:before{animation-name: none;}

.max_button, .telegram_button {height:55px; width:55px; position:absolute; right:35px; }
.max_button {bottom:50px; background:url(../images/max_button.webp) center center no-repeat;background-size:55px;}
.telegram_button {bottom:50px;background:url(../images/telegram_button.webp) center center no-repeat;background-size:55px;}

@keyframes animate {
	0% {
		transform: scale(0.5);
		opacity  : 0;
	}

	50% {
		opacity: 1;
	}

	100% {
		transform: scale(1.2);
		opacity  : 0;
	}
}

.popup_wrap {
	position:fixed; 
	top:0;
	left:0;
	bottom:
	0;
	right:0;
	z-index:1000;
	overflow-y: auto;
	padding:0 15px;
	display:none;
	background-color:rgba(0,0,0,0.6);
}
