/*!
Theme Name: Krentsel
Theme URI: http://underscores.me/
Author: WEBTOP
Author URI: https://web24.pro/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: krentsel
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Krentsel is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
	--container: 1240px;
	--gap: 10px;
	--block-gap: calc(var(--gap) * 10);

	--text-size: 16px;
	--text-size-lg: 18px;
	--h1-size: 44px;
	--h2-size: 36px;
	--h3-size: 32px;
	--h4-size: 28px;
	--h5-size: 24px;
	--h6-size: 20px;

	--bg: #f5f5f5;
	--brown: #B1976B;
	--black: #181818;
	--white: #FFFFFF;
	--grey: #6C6C6C;
	--light: #EEEEEE;
}
*, ::after, ::before {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
body {
	margin: 0;
	padding: 0;
	font-size: var(--text-size);
	font-weight: 400;
	font-family: 'Montserrat', sans-serif;
	line-height: 1.4;
	color: var(--grey);
	background: var(--bg);
}
a {
	color: var(--brown);
	transition: .5s;
}
a:hover {
	text-decoration: none;
}
img {
	margin: 0;
	vertical-align: middle;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	transition: .5s;
}
.bg-cover {
	position: relative;
}
.bg-cover img,
.bg-cover video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.bg-cover-span {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1;
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Playfair Display', serif;
	font-weight: 700;
	margin: calc(var(--gap) * 4) 0 calc(var(--gap) * 2.5);
	color: var(--black);
	line-height: 1.2;
}
h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
	margin-top: 0;
}
h1 {
	font-size: var(--h1-size);
}
h2 {
	font-size: var(--h2-size);
}
h3 {
	font-size: var(--h3-size);
}
h4 {
	font-size: var(--h4-size);
}
h5 {
	font-size: var(--h5-size);
}
h6 {
	font-size: var(--h6-size);
}
p, ul, ol, blockquote {
	margin: 0 0 calc(var(--gap) * 2.5);
}
h1:last-child, h2:last-child, h3:last-child, h4:last-child, h5:last-child, h6:last-child, p:last-child, ul:last-child, ol:last-child, blockquote:last-child {
	margin-bottom: 0;
}
iframe {
	max-width: 100%;
}
.form-fields {
	display: flex;
	flex-wrap: wrap;
	margin: 0 calc(var(--gap) * -1) calc(var(--gap) * -2);
}
.form-field {
	flex: 0 0 100%;
	max-width: 100%;
	padding: 0 var(--gap);
	margin-bottom: calc(var(--gap) * 2);
}
.form-field-50 {
	flex: 0 0 50%;
	max-width: 50%;
}
::-webkit-input-placeholder {
	color: var(--grey);
}
::-moz-placeholder {
	color: var(--grey);
}
:-ms-input-placeholder {
	color: var(--grey);
}
:-moz-placeholder {
	color: var(--grey);
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
select,
textarea {
	font-size: var(--text-size);
	font-weight: 400;
	font-family: 'Montserrat', sans-serif;
	line-height: 1.5;
	width: 100%;
	background: var(--light);
	border: none;
	color: var(--black);
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	border-radius: 0px;
	padding: calc(var(--gap) * 1.5) calc(var(--gap) * 2);
	height: 56px;
	outline: none;
	transition: .5s;
}
textarea {
	height: 120px;
	resize: vertical;
}
select {
	cursor: pointer;
}
.form-field-button.center {
	text-align: center;
}
.wpcf7-spinner {
	position: absolute;
	right: 0;
	top: 0;
}
.wpcf7-not-valid-tip {
	margin-top: 4px;
}
.wpcf7 form .wpcf7-response-output {
	margin: calc(var(--gap) * 2) 0 0;
	padding: var(--gap) calc(var(--gap) * 2);
}
.form-field-policy {
	font-size: 14px;
	line-height: 1.2;
}
.wpcf7-acceptance {
	display: block;
	cursor: pointer;
}
.wpcf7-acceptance .wpcf7-list-item {
	margin-left: 0;
	display: block;
}
.wpcf7-acceptance .wpcf7-list-item-label {
	display: block;
	padding-left: 32px;
	cursor: pointer;
}
.wpcf7-acceptance label {
	position: relative;
	display: inline-block;
}
.wpcf7-acceptance input[type="checkbox"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	appearance: none;
	display: inline-block;
	vertical-align: middle;
	background: var(--light);
	width: 20px;
	height: 20px;
	outline: 0;
	padding: 0px;
	margin: 0;
	margin-right: 0;
	position: absolute;
	left: 0;
	top: 0;
	cursor: pointer;
	transition: .25s;
}
.wpcf7-acceptance input[type="checkbox"]:checked:after {
	content: '';
    width: 6px;
    height: 11px;
    border-bottom: 1px solid var(--black);
    border-right: 1px solid var(--black);
    display: block;
    position: absolute;
    top: 3px;
    left: 8px;
    transform: rotate(45deg);
}




.screen-reader-text {
	display: none;
}
.container {
	width: 100%;
	max-width: var(--container);
	margin-left: auto;
	margin-right: auto;
}
.section {
	position: relative;
	padding-top: calc(var(--gap) * 10);
	padding-bottom: calc(var(--gap) * 10);
	z-index: 1;
}
.pt-0 {
	padding-top: 0 !important;
}
.pb-0 {
	padding-bottom: 0 !important;
}
.mt-0 {
	margin-top: 0 !important;
}
.mb-0 {
	margin-bottom: 0 !important;
}
@media (min-width: 992px) {
	.hide-lg {
		display: none !important;
	}
}
.w-100 {
	width: 100% !important;
}



.heading {
	margin-bottom: calc(var(--gap) * 6);
}
.heading.center {
	text-align: center;
}
.heading.white {
	color: var(--white);
}
.heading p {
	margin-bottom: var(--gap);
	color: var(--brown);
	text-transform: uppercase;
}
.heading h2 {
	margin: 0;
	font-size: var(--h1-size);
	display: inline-block;
}
.heading.line h2 {
	padding-bottom: 4px;
	border-bottom: 2px solid var(--brown);
}
.heading.white h2 {
	color: var(--white);
}



.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: var(--text-size);
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	line-height: 1.5;
	border: none;
	padding: 10px 24px;
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	border-radius: 0px;
	outline: none;
	min-width: 180px;
	min-height: 56px;
	cursor: pointer;
	text-decoration: none;
	z-index: 1;
	transition: .5s;
}
.btn:before {
	content: '';
	border: 1px solid;
	position: absolute;
	width: calc(100% - 8px);
	height: calc(100% - 8px);
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: .5s;
	z-index: -1;
}
.btn:after {
	content: '';
	position: absolute;
	width: 0px;
	height: 0px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: .5s;
	z-index: -1;
}
.btn:hover:after {
	width: calc(100% - 8px);
	height: calc(100% - 8px);
}
.btn-primary {
	background-color: var(--brown);
	border-color: var(--brown);
	color: var(--white);
}
.btn-primary:hover {
	color: var(--brown);
}
.btn-primary:before {
	border-color: var(--white);
}
.btn-primary:hover:after {
	background: var(--white);
}
.btn-secondary {
	background-color: var(--white);
	border-color: var(--white);
	color: var(--brown);
}
.btn-secondary:hover {
	color: var(--white);
}
.btn-secondary:before {
	border-color: var(--brown);
}
.btn-secondary:hover:after {
	background: var(--brown);
}
.btn.btn-link {
	padding: 0;
	border: none;
	color: var(--brown);
	min-width: inherit;
	min-height: inherit;
}
.btn.btn-link:before,
.btn.btn-link:after {
	display: none;
}
.btn.btn-link:hover {
	text-decoration: underline;
	text-decoration-style: dashed;
	text-underline-offset: 4px;
}
.btn:disabled {
	opacity: .3;
}



.swiper-pagination {
	position: relative !important;
	bottom: auto !important;
	top: auto !important;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: calc(var(--gap) * 4);
	gap: var(--gap);
}
.swiper-pagination-bullet {
	flex: 0 0 12px;
	max-width: 12px;
	width: 12px !important;
	height: 12px !important;
	background: transparent !important;
	margin: 0 !important;
	opacity: 1 !important;
	-moz-border-radius: 50% !important;
	-webkit-border-radius: 50% !important;
	border-radius: 50% !important;
	border: 1px solid var(--brown) !important;
	transition: .5s;
}
.swiper-pagination-bullet-active,
.swiper-pagination-bullet:hover {
	background: var(--brown) !important;
}



/*
.swiper-navigation {
	position: relative;
	display: flex;
	align-items: center;
	z-index: 9;
}
.swiper-navigation button {
	position: relative;
	flex: 0 0 56px;
	max-width: 56px;
	width: 56px;
	height: 36px;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
	border: none;
	background: var(--blue);
	display: flex;
	align-items: center;
	justify-content: center;
	outline: none;
	padding: 0;
	cursor: pointer;
	clip-path: polygon(30% 0, 100% 0%, 70% 100%, 0% 100%);
	transition: .5s;
}
.swiper-navigation button:hover {
	background: var(--blue-dark);
}
.swiper-navigation button:disabled {
	background: var(--blue);
	opacity: .15;
	cursor: no-drop;
}
.swiper-navigation button:before {
	content: '';
	-webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-image: url(images/expand-down.svg);
    mask-image: url(images/expand-down.svg);
    background-color: var(--white);
    flex: 0 0 20px;
    max-width: 20px;
    width: 20px;
    height: 20px;
    transition: .5s;
    z-index: 1;
}
.swiper-navigation button.swiper-navigation-prev:before {
	transform: rotate(90deg);
}
.swiper-navigation button.swiper-navigation-next:before {
	transform: rotate(-90deg);
}*/


.soc-links {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	align-items: center;
	gap: calc(var(--gap) * 2);
}
.soc-links li.soc-mobile {
	display: none;
}
@media (max-width: 991px) {
	.soc-links li.soc-mobile {
		display: block;
	}
	.soc-links li.soc-desktop {
		display: none;
	}
}
.soc-links li a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
}
.soc-links li a svg {
	flex: 0 0 100%;
	max-width: 100%;
	height: 100%;
}
.soc-links li a path[fill="white"] {
	fill: var(--grey);
	transition: .5s;
}
.soc-links.white li a path[fill="white"] {
	fill: var(--white);
}
.soc-links li a:hover path[fill="white"],
.soc-links.white li a:hover path[fill="white"] {
	fill: var(--brown);
}
.soc-links li a path[stroke="white"] {
	stroke: var(--grey);
}
.soc-links.white li a path[stroke="white"] {
	stroke: var(--white);
}
.soc-links li a:hover path[stroke="white"],
.soc-links.white li a:hover path[stroke="white"] {
	stroke: var(--brown);
}




.modal-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -9999;
	opacity: 0;
	transition: .5s;
}
.modal-menu.show {
	z-index: 9999;
	opacity: 1;
}
.modal-menu-bg {
	background: rgba(29, 29, 29, 0.8);
	position: absolute;
	opacity: 0;
	transition: .5s;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}
.modal-menu.show .modal-menu-bg {
	opacity: 1;
}
.modal-menu-wrap {
	position: relative;
	height: 100%;
	width: 100%;
	max-width: 600px;
	margin: auto;
	transform: translateY(-100%);
	padding: calc(var(--gap) * 4) 0 calc(var(--gap) * 10);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: calc(var(--gap) * 10);
	transition: .5s;
	overflow: auto;
	z-index: 1;
}
.modal-menu.show .modal-menu-wrap {
	transform: translateY(0);
}
.modal-menu-close {
	-webkit-mask-image: url(images/close.svg);
	mask-image: url(images/close.svg);
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	background-color: #D9D9D9;
	flex: 0 0 36px;
	max-height: 36px;
	width: 36px;
	height: 36px;
	border: none;
	padding: 0;
	outline: none;
	cursor: pointer;
	transition: .5s;
}
.modal-menu-close:hover {
	background-color: var(--brown);
}


.main-menu {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	font-family: 'Playfair Display', serif;
	font-size: var(--h4-size);
	line-height: 1.2;
	width: 100%;
	text-align: center;
}
.main-menu li {
	margin-bottom: calc(var(--gap) * 3);
	padding-bottom: calc(var(--gap) * 3);
	border-bottom: 2px solid rgba(255, 255, 255, .1);
}
.main-menu li:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}
.main-menu li a {
	color: var(--white);
	text-decoration: none;
}
.main-menu li a:hover {
	color: var(--brown);
}







/*
.wp-caption {
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}
.wp-caption-text {
	text-align: center;
}
.gallery {
	display: flex;
	flex-wrap: wrap;
	margin: 32px -15px 2px;
}
.gallery:first-child {
	margin-top: 0;
}
.gallery:last-child {
	margin-bottom: -30px;
}
.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
	margin: 0 0 24px;
	padding: 0 12px;
}
.gallery-item > * {
	overflow: hidden;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	border: 1px solid var(--line);
}
.gallery-columns-2 .gallery-item {
	flex: 0 0 calc(100% / 2);
	max-width: calc(100% / 2);
}
.gallery-columns-2 .gallery-item > * {
	height: calc((var(--container) - 30px) / 2 / 1.4);
}
.gallery-columns-3 .gallery-item {
	flex: 0 0 calc(100% / 3);
	max-width: calc(100% / 3);
}
.gallery-columns-3 .gallery-item > * {
	height: calc((var(--container) - 30px * 2) / 3 / 1.4);
}
.gallery-columns-4 .gallery-item {
	flex: 0 0 calc(100% / 4);
	max-width: calc(100% / 4);
}
.gallery-columns-4 .gallery-item > * {
	height: calc((var(--container) - 30px * 3) / 4 / 1.4);
}
.gallery-columns-5 .gallery-item {
	flex: 0 0 calc(100% / 5);
	max-width: calc(100% / 5);
}
.gallery-columns-5 .gallery-item > * {
	height: calc((var(--container) - 30px * 4) / 5 / 1.4);
}
.gallery-columns-6 .gallery-item {
	flex: 0 0 calc(100% / 6);
	max-width: calc(100% / 6);
}
.gallery-columns-6 .gallery-item > * {
	height: calc((var(--container) - 30px * 5) / 6 / 1.4);
}
.gallery-columns-7 .gallery-item {
	flex: 0 0 calc(100% / 6);
	max-width: calc(100% / 6);
}
.gallery-columns-7 .gallery-item > * {
	height: calc((var(--container) - 30px * 6) / 7 / 1.4);
}
.gallery-columns-8 .gallery-item {
	flex: 0 0 calc(100% / 8);
	max-width: calc(100% / 8);
}
.gallery-columns-8 .gallery-item > * {
	height: calc((var(--container) - 30px * 7) / 8 / 1.4);
}
.gallery-columns-9 .gallery-item {
	flex: 0 0 calc(100% / 9);
	max-width: calc(100% / 9);
}
.gallery-columns-9 .gallery-item > * {
	height: calc((var(--container) - 30px * 8) / 9 / 1.4);
}
.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: .5s;
}
.gallery-item a:hover img {
	transform: scale(1.08);
}
.gallery-caption {
	display: block;
}
.alignleft {
	float: left;
	margin-right: 30px;
	margin-bottom: 20px;
}
.alignright {
	float: right;
	margin-left: 30px;
	margin-bottom: 20px;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
}
img.alignleft,
img.alignright,
img.aligncenter {
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	border-radius: 20px;
}*/



.wrapper {
	position: relative;
	z-index: 1;
}
.header {
	position: sticky;
	top: 0;
	padding: 0 var(--block-gap);
	height: 64px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	transition: .5s;
	z-index: 92;
}
.admin-bar .header {
	top: 32px;
}
.header.fixed {
	background: rgba(29, 29, 29, 0.8);
}
.header-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
}
.header-logo {
	flex: auto;
}
.header-logo img {
	max-height: 48px;
}
.header-phone {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	margin: 0;
	font-size: var(--text-size-lg);
}
.header-phone a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--white);
	text-decoration: none;
}
.header-phone a:hover {
	color: var(--brown);
}
.header-phone a:before {
	content: '';
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-image: url(images/phone.svg);
	mask-image: url(images/phone.svg);
	background-color: var(--white);
	flex: 0 0 24px;
	max-width: 24px;
	width: 24px;
	height: 24px;
	transition: .5s;
}
.header-phone a:hover:before {
	background-color: var(--brown);
}
.header-toggle {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}
.header-toggle button {
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-image: url(images/menu.svg);
	mask-image: url(images/menu.svg);
	background-color: var(--white);
	flex: 0 0 36px;
	max-width: 36px;
	width: 36px;
	height: 36px;
	border: none;
	padding: 0;
	outline: none;
	cursor: pointer;
	transition: .5s;
}
.header-toggle button:hover {
	background-color: var(--brown);
}



.main {
	position: relative;
	margin-top: -64px;
	z-index: 1;
}


.block-row {
	display: flex;
}
.block-col {
	position: relative;
	flex: 0 0 50%;
	max-width: 50%;
	padding: var(--block-gap);
	display: flex;
	flex-direction: column;
	justify-content: center;
	z-index: 1;
}
.block-col.full {
	flex: 0 0 100%;
	max-width: 100%;
}
.page-header .block-col {
	padding-top: calc(var(--block-gap) * 1.5);
}
.block-image {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1;
}
.block-bg {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: -1;
}
.block-button {
	margin-top: calc(var(--gap) * 4);
}
.block-button.center {
	text-align: center;
}
.block-line {
	position: relative;
	border: 1px solid var(--grey);
	padding: calc(var(--gap) * 6);
	z-index: 1;
}



.hero-right {
	min-height: calc(100vw / 2.28);
	gap: calc(var(--gap) * 6);
}
.hero-heading p {
	color: var(--brown);
	text-transform: uppercase;
	margin-bottom: var(--gap);
}
.hero-heading h1 {
	margin: 0;
	font-size: calc(var(--h1-size) * 1.25);
	color: var(--white);
}
.hero-description {
	font-size: var(--h6-size);
	color: var(--brown);
}
.hero-quote {
	color: var(--white);
	text-align: right;
}



.services-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: calc(var(--gap) * 4);
}
.services-list li {
	display: flex;
	align-items: center;
	gap: calc(var(--gap) * 2);
	font-size: var(--h6-size);
	color: var(--white);
}
.services-list span {
	flex: 0 0 60px;
	max-width: 60px;
}






.advantages-items {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	gap: calc(var(--gap) * 4);
}
.advantages-item {
	max-width: 225px;
}
.advantages-item__image {
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: calc(var(--gap) * 2);
}
.advantages-item__image img {
	max-height: 100px;
}
.advantages-item__title {
	font-family: 'Playfair Display', serif;
	text-align: center;
	font-size: var(--h6-size);
	color: var(--white);
	margin-bottom: var(--gap);
	line-height: 1.2;
}
.advantages-item__text {
	text-align: center;
	color: var(--brown);
}




.about-right {
	background: var(--black);
	min-height: calc(100vw / 2.59);
}
.about-content-1 {
	color: var(--brown);
	margin-bottom: calc(var(--gap) * 6);
}
.about-content-1:last-child {
	margin-bottom: 0;
}
.about-content-2 {
	font-size: var(--h6-size);
	color: var(--white);
}



.blog-items {
	display: flex;
	flex-wrap: wrap;
	margin: 0 calc(var(--gap) * -2) calc(var(--gap) * -4);
}
.blog-item {
	flex: 0 0 calc(100% / 3);
	max-width: calc(100% / 3);
	margin: 0 0 calc(var(--gap) * 4);
	padding: 0 calc(var(--gap) * 2);
}
.blog-items.columns-2 .blog-item {
	flex: 0 0 50%;
	max-width: 50%;
}
.blog-item__wrap {
	position: relative;
	height: 100%;
	background: var(--white);
	display: flex;
	flex-direction: column;
	z-index: 1;
}
.blog-item__image {
	flex: 0 0 calc((var(--container) - var(--gap) * 4 * 2) / 3 / 1.382);
	max-height: calc((var(--container) - var(--gap) * 4 * 2) / 3 / 1.382);
}
.blog-item__info {
	flex: auto;
	padding: calc(var(--gap) * 2);
	display: flex;
	flex-direction: column;
}
.blog-item__title {
	font-size: var(--h6-size);
	font-weight: 400;
	text-align: center;
	margin-bottom: var(--gap);
}
.blog-item__title a {
	color: var(--black);
	text-decoration: none;
}
.blog-item__title a:hover {
	color: var(--brown);
}
.blog-item__excerpt {
	flex: auto;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	margin-bottom: calc(var(--gap) * 2);
}
.blog-item__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--gap);
}




.reviews-item__wrap {
	max-width: 780px;
	margin: auto;
}
.reviews-item__text {
	position: relative;
	text-align: center;
	font-size: var(--h6-size);
	color: var(--brown);
	margin-bottom: calc(var(--gap) * 2);
	z-index: 1;
}
.reviews-item__text:before {
	content: '';
	background: url(images/quote.svg) no-repeat center;
	background-size: contain;
	display: block;
	width: 76px;
	height: 60px;
	margin: 0 auto calc(var(--gap) * 2);
}
.reviews-item__info {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: calc(var(--gap) * 2);
}
.reviews-item__image {
	flex: 0 0 60px;
	max-width: 60px;
	width: 60px;
	height: 60px;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	overflow: hidden;
}
.reviews-item__name {
	font-family: 'Playfair Display', serif;
	color: var(--white);
	font-weight: 400;
	font-size: var(--h4-size);
}



.contacts-section {
	background: var(--light);
}
.contacts-left {
	justify-content: flex-start;
}
.contacts-right {
	background: var(--white);
	justify-content: flex-start;
}
.contacts-list {
	display: flex;
	flex-direction: column;
	gap: calc(var(--gap) * 2);
}
.contacts-list p {
	margin: 0;
	display: flex;
	align-items: center;
	gap: var(--gap);
	font-size: var(--h6-size);
}
.contacts-list p:before {
	content: '';
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	background-color: var(--grey);
	flex: 0 0 28px;
	max-width: 28px;
	width: 28px;
	height: 28px;
}
.contacts-list p.phone:before {
	-webkit-mask-image: url(images/phone.svg);
	mask-image: url(images/phone.svg);
}
.contacts-list p.e-mail:before {
	-webkit-mask-image: url(images/mail.svg);
	mask-image: url(images/mail.svg);
}
.contacts-list p a {
	text-decoration: none;
	color: var(--brown);
}
.contacts-list p a:hover {
	color: var(--black);
}




.footer {
	position: relative;
	background: var(--black);
	color: var(--white);
	z-index: 1;
}
.footer-wrap {
	display: flex;
	justify-content: space-between;
	gap: calc(var(--gap) * 4);
}
.footer-widget {
	max-width: 340px;
}
.footer-widget-title {
	font-size: var(--text-size-lg);
	color: var(--grey);
	margin-bottom: calc(var(--gap) * 1.5);
}
.footer-info {
	color: var(--brown);
	margin-bottom: calc(var(--gap) * 2);
}
.footer-menu,
.footer-contacts {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: calc(var(--gap));
}
.footer-contacts p {
	margin: 0;
}
.footer-menu li a,
.footer-contacts a {
	color: var(--white);
	text-decoration: none;
}
.footer-menu li a:hover,
.footer-contacts a:hover {
	color: var(--brown);
}
.footer-menu ul {
	display: none;
}

.copyright {
	border-top: 1px solid rgba(255, 255, 255, .1);
	padding: calc(var(--gap) * 1.5) 0;
	text-align: center;
	color: var(--grey);
	font-size: 14px;
}




.page-header {
	position: relative;
	background: var(--black);
	z-index: 1;
}
.page-label {
	color: var(--brown);
	margin-bottom: var(--gap);
	text-transform: uppercase;
}
.page-title {
	font-size: var(--h1-size);
	color: var(--white);
	margin: 0;
}
.page-body-wrap {
	display: flex;
	gap: calc(var(--gap) * 4);
}
.page-body-main {
	flex: 0 0 calc(100% / 3 * 2 - var(--gap) * 2);
	max-width: calc(100% / 3 * 2 - var(--gap) * 2);
}
.page-sidebar {
	flex: 0 0 calc(100% / 3 - var(--gap) * 2);
	max-width: calc(100% / 3 - var(--gap) * 2);
	display: flex;
	flex-direction: column;
	gap: calc(var(--gap) * 2);
}
.widget {
	position: relative;
	background: var(--white);
	border: 1px solid var(--brown);
	padding: calc(var(--gap) * 2);
	z-index: 1;
}
.widget-title {
	font-size: var(--h6-size);
	margin-bottom: calc(var(--gap) * 2);
}



.search-form {
	position: relative;
	z-index: 1;
}
.search-form input.search-field {
	padding-right: calc(var(--gap) * 2 + 36px);
}
.search-form .search-submit {
	position: absolute;
	width: 36px;
	height: 36px;
	top: calc(50% - 18px);
	right: 10px;
	-webkit-mask-image: url(images/search.svg);
	mask-image: url(images/search.svg);
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	background-color: var(--brown);
	border: none;
	padding: 0;
	outline: none;
	cursor: pointer;
	transition: .5s;
	z-index: 1;
}
.search-form .search-submit:hover {
	background-color: var(--black);
}


.widget_categories ul {
	display: flex;
	flex-direction: column;
	gap: var(--gap);
	padding-left: 20px;
}
.widget_categories ul li::marker {
	color: var(--brown);
}
.widget_categories ul li a {
	color: var(--black);
	text-decoration: none;
}
.widget_categories ul li a:hover {
	color: var(--brown);
}



.wp-calendar-table {
	width: 100%;
	border-collapse: collapse;
	text-align: center;
}
.wp-calendar-table th {
	background: #f5f5f5;
	padding: 8px;
	font-weight: 600;
}
.wp-calendar-table td {
	padding: 8px;
	border: 1px solid var(--light);
	font-size: 14px;
}
.wp-calendar-table td a {
	display: inline-block;
	width: 100%;
	height: 100%;
	background: var(--light);
	color: var(--black);
	text-decoration: none;
	padding: 2px 0;
	border-radius: 5px;
}
.wp-calendar-table td a:hover {
	background: var(--brown);
	color: var(--white);
}
.wp-calendar-table caption {
	margin-bottom: calc(var(--gap) * 1.5);
	font-weight: 600;
	color: var(--black);
}
.wp-calendar-nav {
	display: flex;
	justify-content: space-between;
	margin-top: calc(var(--gap) * 1.5);
	font-size: 14px;
}
.wp-calendar-nav a {
	text-decoration: none;
	font-weight: 500;
}
.wp-calendar-nav a:hover {
	text-decoration: underline;
}





.navigation.pagination {
	position: relative;
	margin-top: calc(var(--gap) * 4);
	z-index: 2;
}
.nav-links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	gap: calc(var(--gap) / 1.5);
	margin: 0;
	padding: 0;
	list-style: none;
}
.nav-links .page-numbers:not(.dots) {
	min-width: 44px;
	height: 44px;
	font-weight: 400;
	color: var(--black);
	border: 1px solid var(--light);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 10px;
	text-decoration: none;
}
.nav-links .page-numbers:not(.dots):hover,
.nav-links .page-numbers.current {
	background: var(--brown);
	border-color: var(--brown);
	color: var(--white);
}



.singleBlog-date {
	margin-top: calc(var(--gap) * 1.5);
}
.singleBlog-wrap:after {
	content: '';
	clear: both;
	display: block;
}
.singleBlog-image {
	float: left;
	margin: 0 calc(var(--gap) * 4) calc(var(--gap) * 4) 0;
	max-width: 480px;
}



.services-items {
	display: flex;
	flex-wrap: wrap;
	margin: 0 calc(var(--gap) * -2) calc(var(--gap) * -4);
}
.services-item {
	flex: 0 0 calc(100% / 3);
	max-width: calc(100% / 3);
	margin: 0 0 calc(var(--gap) * 4);
	padding: 0 calc(var(--gap) * 2);
}
.services-item__wrap {
	position: relative;
	height: 100%;
	background: var(--white);
	display: flex;
	flex-direction: column;
	z-index: 1;
}
.services-item__image {
	flex: 0 0 calc((var(--container) - var(--gap) * 4 * 2) / 3 / 1.382);
	max-height: calc((var(--container) - var(--gap) * 4 * 2) / 3 / 1.382);
}
.services-item__title {
	flex: auto;
	padding: calc(var(--gap) * 2);
	display: flex;
	flex-direction: column;
	justify-content: center;
	font-size: var(--h6-size);
	font-weight: 400;
	text-align: center;
	margin: 0;
}
.services-item__title a {
	color: var(--black);
	text-decoration: none;
}
.services-item__title a:hover {
	color: var(--brown);
}




.error-404-number {
	font-size: calc(var(--h1-size) * 6);
	text-align: center;
	line-height: 1;
	margin: 0 0 calc(var(--gap) * 6);
	color: var(--grey);
}
.error-404-button {
	text-align: center;
}




@media (max-width: 1699px) {
	:root {
		--container: 1240px;
		--gap: 10px;
		--block-gap: calc(var(--gap) * 8);

		--text-size: 16px;
		--text-size-lg: 18px;
		--h1-size: 38px;
		--h2-size: 34px;
		--h3-size: 30px;
		--h4-size: 26px;
		--h5-size: 22px;
		--h6-size: 20px;
	}
	.section {
		padding-top: var(--block-gap);
		padding-bottom: var(--block-gap);
	}
	.heading {
		margin-bottom: calc(var(--gap) * 4);
	}
	.hero-right {
		gap: calc(var(--gap) * 4);
	}
	.hero-description,
	.services-list li,
	.about-content-2,
	.reviews-item__text,
	.contacts-list p {
		font-size: var(--text-size-lg);
	}
	.services-list {
		gap: calc(var(--gap) * 2.5);
	}
	.block-button {
		margin-top: calc(var(--gap) * 3);
	}
	.advantages-items {
		gap: calc(var(--gap) * 4) calc(var(--gap) * 3);
	}
	.block-line {
		padding: calc(var(--gap) * 4.5);
	}
	.advantages-item {
		flex: auto;
		max-width: calc(32% - 10px);
	}
	.advantages-item__image {
		height: 80px;
	}
	.advantages-item__image img {
		max-height: 80px;
	}
	.about-content-1 {
		margin-bottom: calc(var(--gap) * 4);
	}
	.reviews-item__name {
		font-size: var(--h6-size);
	}
}




@media (max-width: 1399px) {
	:root {
		--container: 1110px;
		--gap: 8px;
		--block-gap: calc(var(--gap) * 8);

		--text-size: 16px;
		--text-size-lg: 18px;
		--h1-size: 36px;
		--h2-size: 32px;
		--h3-size: 28px;
		--h4-size: 24px;
		--h5-size: 22px;
		--h6-size: 20px;
	}
	.heading {
		margin-bottom: calc(var(--gap) * 5);
	}
	.block-button {
		margin-top: calc(var(--gap) * 4);
	}
}




@media (max-width: 1199px) {
	:root {
		--container: 910px;
		--gap: 6px;
		--block-gap: calc(var(--gap) * 8);

		--text-size: 16px;
		--text-size-lg: 18px;
		--h1-size: 36px;
		--h2-size: 32px;
		--h3-size: 28px;
		--h4-size: 24px;
		--h5-size: 22px;
		--h6-size: 20px;
	}
	input[type="text"], input[type="email"], input[type="tel"], input[type="search"], select, textarea {
		padding: calc(var(--gap) * 2) calc(var(--gap) * 3);
	}
	.hero-right.block-col {
		padding-top: 100px;
	}
	.hero-description, .services-list li, .about-content-2, .reviews-item__text, .contacts-list p {
		font-size: var(--text-size);
	}
	.advantages-item__image {
		height: 68px;
	}
	.advantages-item__image img {
		max-height: 68px;
	}
	.advantages-item__title,
	.blog-item__title,
	.services-item__title {
		font-size: var(--text-size-lg);
	}
	.reviews-item__text:before {
		height: 44px;
	}
	.reviews-item__image {
		flex: 0 0 48px;
		max-width: 48px;
		width: 48px;
		height: 48px;
	}
	.reviews-item__text {
		margin-bottom: calc(var(--gap) * 3);
	}
	.services-item__title,
	.blog-item__info,
	.widget {
		padding: calc(var(--gap) * 2.5);
	}
	.blog-item__excerpt,
	.blog-item__date {
		font-size: 14px;
	}
	.singleBlog-image {
		max-width: 360px;
	}
	.error-404-number {
		font-size: calc(var(--h1-size) * 5);
	}
}




@media (max-width: 991px) {
	:root {
		--container: 690px;
		--gap: 6px;
		--block-gap: calc(var(--gap) * 10);

		--text-size: 15px;
		--text-size-lg: 16px;
		--h1-size: 32px;
		--h2-size: 28px;
		--h3-size: 24px;
		--h4-size: 22px;
		--h5-size: 20px;
		--h6-size: 18px;
	}
	.header {
		padding: 0 calc(var(--block-gap) / 3);
	}
	.block-col {
		padding: var(--block-gap) calc(var(--block-gap) / 3);
		flex: 0 0 100%;
		max-width: 100%;
	}
	.hero-left,
	.services-left {
		display: none;
	}
	.advantages-item {
		flex: 0 0 calc(50% - var(--gap) * 3 / 2);
		max-width: calc(50% - var(--gap) * 3 / 2);
	}
	.advantages-item__title, .blog-item__title, .services-item__title {
		font-size: var(--h6-size);
	}
	.advantages-item__image {
		height: 48px;
	}
	.advantages-item__image img {
		max-height: 48px;
	}
	.block-row {
		flex-wrap: wrap;
	}
	.about-left.block-col {
		padding: 0;
	}
	.about-image {
		position: relative;
	}
	.home .blog-items,
	.relatedBlog-section .blog-items {
		justify-content: center;
	}
	.blog-item,
	.services-item {
		flex: 0 0 50%;
		max-width: 50%;
	}
	.blog-item__image,
	.services-item__image {
		flex: 0 0 calc((var(--container) - var(--gap) * 4) / 2 / 1.382);
		max-height: calc((var(--container) - var(--gap) * 4) / 2 / 1.382);
	}
	.footer-wrap {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.footer-soc {
		justify-content: center;
	}
	.footer-widget {
		max-width: 100%;
	}
	.copyright {
		font-size: 12px;
	}

	.singleBlog-image {
		margin: 0 0 calc(var(--gap) * 4);
		float: none;
		max-width: 100%;
	}

	.page-body-wrap {
		flex-direction: column;
		gap: calc(var(--gap) * 10);
	}
	.page-body-main,
	.page-sidebar {
		flex: auto;
		max-width: 100%;
	}
}




@media (max-width: 767px) {
	:root {
		--container: 510px;
		--gap: 6px;
		--block-gap: calc(var(--gap) * 10);

		--text-size: 15px;
		--text-size-lg: 16px;
		--h1-size: 32px;
		--h2-size: 28px;
		--h3-size: 24px;
		--h4-size: 22px;
		--h5-size: 20px;
		--h6-size: 18px;
	}
	.admin-bar .header {
		top: 0px;
	}
	.form-field-50 {
		flex: 0 0 100%;
		max-width: 100%;
	}
}




@media (max-width: 575px) {
	:root {
		--container: calc(100vw - 40px);
		--gap: 6px;
		--block-gap: calc(var(--gap) * 10);

		--text-size: 15px;
		--text-size-lg: 16px;
		--h1-size: 28px;
		--h2-size: 24px;
		--h3-size: 22px;
		--h4-size: 20px;
		--h5-size: 18px;
		--h6-size: 17px;
	}
	.header-wrap {
		gap: 16px;
	}
	.header-phone {
		font-size: 14px;
	}
	.header-phone a {
		gap: 2px;
	}
	.header-phone a:before {
		flex: 0 0 18px;
		max-width: 18px;
		width: 18px;
		height: 18px;
	}
	.hero-heading h1 {
        font-size: var(--h1-size);
    }
    .services-list span {
		flex: 0 0 40px;
		max-width: 40px;
	}
	.block-line {
		padding: 0;
		border: none;
	}
	.advantages-item__title {
		font-size: var(--text-size-lg);
	}
	.advantages-item__text {
		font-size: 14px;
	}
	.blog-item,
	.blog-items.columns-2 .blog-item,
	.services-item {
		flex: 0 0 100%;
		max-width: 100%;
	}
	.blog-item__image,
	.services-item__image {
		flex: 0 0 calc(var(--container) / 1.382);
		max-height: calc(var(--container) / 1.382);
	}
}