html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}
main {
    flex: 1;
}
body {
	font-family: 'Myriad Pro';
	box-sizing: border-box;
	background: #D8D3C1;
	color: #1E1E1E;
	
}
.container {
	max-width: 1400px;
	margin: 0 auto;
}
.site-main .container {
	max-width: 1200px;
}
.site-page .container {
	max-width: 980px;
}
header {
	background: #8D8B8D;
}
.flex {
	display: flex;
}
.header_flex {
	align-items: center;
	gap: 40px;
	padding: 20px 0 10px 0;
}
.slogan {
	text-decoration: none;
}
.slogan_line {
	align-items: center;
	gap: 10px;
}
.slogan_line .big_text {
	color: #D8D3C1;
	font-weight: 700;
	font-size: 100px;
	line-height: 0.9em;
}
.slogan_line .small_text {
	font-size: 24px;
	line-height: 1em;
	font-weight: 700;
	color: #1E1E1E;
	
}


#site-navigation {
	 flex: 1;
}
.nav-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2.1rem 0rem; /* вертикальный и горизонтальный отступ */
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  justify-content: space-between;
}

.nav-grid li {
  width: calc(10%);
  display: flex;
  align-items: center;
}

.nav-grid a {
  display: flex;
  text-decoration: none;
  font-size: 28px;
  line-height: 28px;
  font-weight: 700;
  color: #D8D3C1; 
  padding-left: 5px;
  width: 100%;
  text-align: left;
  display: block;
  transition: all .3s ease-out;
}

.nav-grid a.cross_link {
	border-left: 4px solid #1E1E1E;
}

.nav-grid img {
  width: 32px;
  height: 32px;
}

.nav-grid .social_link_1 {
  margin-left: auto;
}



.language_line {
	background: #1E1E1E;
	
}
.language_line .widget_icl_lang_sel_widget li {
	border-left: 1px solid #D8D3C1;
}
.language_line .widget_icl_lang_sel_widget li:last-child {
	border-right: 1px solid #D8D3C1;
}
.language_line .widget_icl_lang_sel_widget a {
	color: #D8D3C1;
	font-size: 28px;
	font-weight: 400;
	text-transform: uppercase;
	padding: 0 10px;
}
.wpml-ls-legacy-list-horizontal {
	padding: 5px 0;
}

.prefooter_line {
	background: #1E1E1E;
}
.nav-footer {
	width: 100%;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0;
	margin: 0 auto;
}
.nav-footer li {
	list-style: none;
	display: block;
	width: 100%;
}
.nav-footer li a {
	display: block;
	width: 100%;
	text-align: center;
	color: #D8D3C1;
	text-decoration: none;
	font-size: 20px;
	font-weight: 700;
	border-left: 1px solid #D8D3C1;
}

.footer_info {
	background: #8D8B8D;
	color: #fff;
	padding: 40px 0;
	font-size: 16px;
}
.footer_flex {
	justify-content: space-between;
	gap: 20px;
	
}
.footer_1 {
	max-width: 300px;
}
.footer_1,
.footer_2 {
	padding-left: 30px;
	position: relative;
}
.footer_1:before,
.footer_2:before,
.g_title:before {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	top: 1px;
	width: 16px;
	height: 16px;
	background: #1E1E1E;
}
.footer_phone {
	display: inline-block;
	background: #1E1E1E;
	color: #fff;
	text-decoration: none;
	padding: 0 10px;
	line-height: 26px;
	margin-bottom: 5px;
}
.footer_email {
	display: block;
	text-decoration: none;
	margin-top: 20px;
	color: #fff;
}

.container_404 {
	min-height: 800px;
	background-position: 50% 50%;
	background-size: cover;
	background-repeat: no-repeat;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #D8D3C1;
	text-align: center;
}
.error_404 {
	font-size: 100px;
	font-weight: 700;
}
.title_404 {
	font-size: 25px;
	font-weight: 700;
}
.back_404 {
	color: #D8D3C1;
	
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 20px;
	justify-content: center;
}
.back_404 svg {
	
}
.back_404 span {
	text-decoration: underline;
	font-size: 18px;
	font-weight: 14px;
}
.main_slider .slide img {
	width: 100%;
}
.main_slider {
	position: relative;
}
.main_slider .slick-arrow {
	position: absolute;
	top: calc(50% - 20px);
	z-index: 1;
	font-size: 0;
	width: 40px;
	height: 40px;
	background: url(img/arrow.svg) 50% 50% no-repeat transparent;
	cursor: pointer;
	border: none;
	opacity: 0;
	transition: all 1s ease-out;
}
.main_slider:hover .slick-arrow {
	opacity: 1;
}
.main_slider .slick-prev {
	left: 0;
}
.main_slider .slick-next {
	right: 0;
	transform: rotate(180deg);
}

.quote {
	border-left: 16px solid #1E1E1E;
	padding-left: 20px;
	font-size: 33px;
	font-weight: 700;
}
.quote p {
	font-size: 33px;
	font-weight: 700;
}

.main_text {
	padding: 60px 0;
}
.main_text .quote {
	font-size: 50px;
	font-weight: 400;
	line-height: 1em;
}

.button {
	display: inline-block;
	background: #1E1E1E;
	line-height: 48px;
	padding: 0 16px;
	text-transform: uppercase;
	color: #D8D3C1;
	text-decoration: none;
	font-size: 28px;
	font-weight: 400;
	letter-spacing: 1px;
	position: relative;
}
.main_text .button:after {
	content: '';
	display: inline-block;
	width: 22px;
	height: 15px;
	border-top: 6px solid #D8D3C1;
	margin-left: 5px;
}
.maintext_links {
	justify-content: space-between;
	align-items: center;
	margin-top: 30px;
}

.main_colum_text {
	background: #8D8B8D;
	color: #fff;
	font-size: 28px;
	font-weight: 400;
	padding: 60px 0;
}
.main_colum_text p {
	text-indent: 1.5em;
	margin: 0;
}
.main_colum_text .wrap {
	gap: 30px;
}
.main_colum_text .wrap>div {
	width: 50%;
}

.main_gallery {
	padding: 60px 0;
}
.gallery {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.g_item img {
	width: 100%;
}
.g_item>a {
	margin: 0 0 30px 0;
}
.g_title {
	position: relative;
	font-size: 18px;
	font-weight: 400;
	padding-left: 30px;
	margin: 0 0 30px 0;
}


.g_item_25 {
	width: calc(25% - 20px);
}
.g_item_33 {
	width: calc(33% - 20px);
}
.g_item_50 {
	width: calc(50% - 20px);
}
.g_item_66 {
	width: calc(66% - 20px);
}
.g_item_75 {
	width: calc(75% - 20px);
}
.g_item_100 {
	width: 100%;
}
.g_border {
	display: block;
	background: #1E1E1E;
	padding: 20px;
	font-size: 0;
}

.slide_pagination {
	display: flex;
	align-items: center;
	gap: 20px;
	justify-content: space-between;
	padding: 30px 0;
}

.sp_nav {
	display: flex;
	align-items: center;
	flex: 1;
}
.sp_nav.disabled {
	opacity: 0.1 !important;
}
.sp_prev:before,
.sp_next:after {
	content: '';
	display: block;
	width: 40px;
	height: 18px;
	background: url(img/sp_arrow.svg) 50% 50% no-repeat transparent;
	background-size: contain;
}
.sp_next:after {
	transform: rotate(180deg);
}
.sp_prev:after,
.sp_next:before {
	content: '';
	display: block;
	width: 5px;
	height: 40px;
	background: #1E1E1E;
}
.sp_nav span {
	display: block;
	height: 5px;
	width: 100%;
	background: #1E1E1E;
}
.sp_curent {
	font-size: 55px;
	font-weight: 700;
}

.g_gallery {
	display: block;
}


.step {
	display: flex;
	justify-content: space-between;
	padding: 45px 0;
	border-bottom: 1px solid #000;
}
.step:last-child {
	border: none;
	padding-bottom: 0;
}
.step_num {
	display: flex;
	width: 74px;
	height: 74px;
	background: #1E1E1E;
	color: #D8D3C1;
	font-size: 74px;
	align-items: center;
	justify-content: center;
	gap: 50px;
	font-weight: 700;
}
.step_content {
	width: calc(100% - 50px - 74px);
}
.step_text {
	font-size: 25px;
	font-weight: 400;
	margin-bottom: 30px;
}

.step_text p {
	margin-top: 0;
}
.step_text p:last-child {
	margin-bottom: 0;
}

.step_1_header {
	margin-right: -150px;
	gap: 30px;
}
.step_1_content {
	justify-content: space-between;
	gap: 50px;
	margin-left: -50px;
}
.step_1_header audio {
	min-width: 300px;
}
.step_1_content .quote p {
	font-size: 25px;
}

.logo {
	position: relative;
}
.logo_nav_wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-left: -30px;
	margin-right: -30px;
	position: absolute;
	top: calc(50% - 15px);
	width: calc(100% + 60px);
}
.logo_nav {
	display: block;
	background: url(img/arrow.svg) 50% 50% no-repeat transparent;
	width: 30px;
	height: 30px;
	background-size: contain;
}
.logo_nav.disabled {
	opacity: 0.1 !important;;
}
.logo_nav_next {
	transform: rotate(180deg);
}
.logo_nav_title {
	font-size: 55px;
	font-weight: 700;
	line-height: 30px;
}
.slide_pagination_bottom {
	padding-top: 0;
}

@media (max-width: 1460px) {
	.container {
		padding-left: 15px;
		padding-right: 15px;
	}
	.logo {
		margin-left: 15px;
	}
	.language_line {
		padding-left: 15px;
	}
	.step_1_header {
		margin-right: -100px 
	}
	body {
		overflow-x: hidden;
	}
}
@media (max-width: 1200px) {
	.step_1_header {
		margin-right: 0px 
	}
	.header_flex {
		flex-wrap: wrap;
		justify-content: center;
		gap: 10px 40px;
		
	}
	#site-navigation {
		width: 100%;
		flex: auto;
	}
	.nav-grid {
		gap: 1rem 0rem;
		flex-wrap: nowrap;
	}
	.nav-grid a {
		font-size: 22px;
	}
	.nav-grid .social_link_1 {
		margin-left: 0;
	}
	.language_line {
        padding-left: 0px;
    }
}
@media (max-width: 980px) {
	.slogan {
		order: 3;
	}
	#site-navigation {
        width: calc(100% - 250px);
        flex: auto;
    }
	.nav-grid {
		gap: 8px 0rem;
		flex-wrap: wrap;
	}
	.header_flex {
		margin-left: auto;
		margin-right: auto;
	}
	.nav-grid li {
		width: calc(16%);
	}
	.nav-grid a {
        font-size: 20px;
		line-height: 24px;
    }
	.nav-grid img {
		width: 24px;
		height: 24px;
	}
	
	.step_1_header {
		position: relative;
	}
	.step_1_header audio {
		position: absolute;
		top: -80px;
		width: 100%;
	}
	.step.step_1 {
		padding-top: 60px;
	}
	
}
@media (max-width: 768px) {
	.main_text .quote {
		font-size: 32px;
	}
	.button {
		font-size: 24px;
	}
	.main_colum_text {
		font-size: 24px;
	}
	.main_colum_text .wrap {
		flex-wrap: wrap;
	}
	.main_colum_text .wrap>div {
		width: 100%;
	}
	.prefooter_line,
	.footer_1,.footer_2,.footer_3{
		display: none;
	}
	.footer_flex {
		justify-content: center;
		text-align: center;
	}
	.footer_info {
		padding: 20px 0;
	}
	.quote p {
		font-size: 24px;
	}
	.step_1_content .quote p {
		font-size: 20px;
	}
	.step_text {
		font-size: 22px;
	}
	.step_text p {
		margin-bottom: 10px;
	}
}
@media (max-width: 580px) {
	.g_item {
		width: 100% !important;
	}
	.step_1_content {
		flex-wrap: wrap;
		margin-left: 0;
	}
	.main_image {
		order: 3;
	}
	.slogan_line .big_text {
		font-size: 66px;
	}
	.slogan_line .small_text {
		font-size: 18px;
	}
	.logo img {
		width: 120px;
	}
	.step_num {
		width: 50px;
		height: 50px;
		font-size: 40px;
	}
	.step_content {
		width: calc(100% - 50px - 20px);
	}
	.step .quote {
		margin-left: -70px;
	}
	.step_1_header .quote {
		margin-left: 0px;
	}
	.step_1_header audio {
		left: -70px;
		width: calc(100% + 70px);
	}
	.maintext_links {
		display: block;
	}
	.maintext_links_left {
		margin-bottom: 10px;
	}
	.button {
		display: block;
		text-align: center;
	}
	.step_content>.quote:first-child {
		margin-top: 70px;
	}
}

@media (max-width: 420px) {
	
}



/* hover/active */
/*
.nav-grid a.cross_link {
	position: relative;
	overflow: hidden;
}
.nav-grid a.cross_link:before {
	content: '';
	position: absolute;
	left: -10px;
	top: 0;
	bottom: 0;
	width: 10px;
	background: url(img/arrow_grey.svg) 100% 50% no-repeat transparent;
	transform: rotate(180deg);
	background-size: contain;
	transition: all .2s ease-out;
}
.nav-grid a.cross_link.active:before,
.nav-grid a.cross_link:hover:before {
	left: 0px;
}
*/

.sp_nav,
.logo_nav,
.language_line .widget_icl_lang_sel_widget a,
.nav-footer li a,
.button,
.footer_phone,
.main_slider .slick-arrow  {
	transition: all .2s ease-out;
}

.nav-grid a.active,
.nav-grid a:hover {
	color: #1E1E1E;
}
.nav-footer li a.active,
.nav-footer li a:hover {
	color: #8D8B8D;
}
.language_line .widget_icl_lang_sel_widget a:hover {
	color: #8D8B8D;
}
.logo_nav:hover,
.sp_nav:hover,
.button:hover,
.footer_phone:hover,
.main_slider .slick-arrow:hover {
	opacity: 0.8;
}
