/*Theme Name: Allure
Theme URI:
Author: Mikhail Epikhin
Author URI:
Description: Original theme
Version: 1.0*/

@font-face {
	font-family: 'Montserrat';
	src: url('fonts/Montserrat-Regular.eot');
	src: local('☺'), url('fonts/Montserrat-Regular.woff') format('woff'), url('fonts/Montserrat-Regular.ttf') format('truetype'), url('fonts/Montserrat-Regular.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Montserrat';
	src: url('fonts/Montserrat-Bold.eot');
	src: local('☺'), url('fonts/Montserrat-Bold.woff') format('woff'), url('fonts/Montserrat-Bold.ttf') format('truetype'), url('fonts/Montserrat-Bold.svg') format('svg');
	font-weight: bold;
	font-style: normal;
}
@font-face {
	font-family: 'Gambetta';
	src: url('fonts/Gambetta-Regular.eot');
	src: local('☺'), url('fonts/Gambetta-Regular.woff') format('woff'), url('fonts/Gambetta-Regular.ttf') format('truetype'), url('fonts/Gambetta-Regular.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Gambetta';
	src: url('fonts/Gambetta-LightItalic.eot');
	src: local('☺'), url('fonts/Gambetta-LightItalic.woff') format('woff'), url('fonts/Gambetta-LightItalic.ttf') format('truetype'), url('fonts/Gambetta-LightItalic.svg') format('svg');
	font-weight: normal;
	font-style: italic;
}

html{height: 100%;}
body{margin: 0 auto; height: 100%; white-space: normal; font-family: 'Montserrat', sans-serif; color: #32353A; background: #E8E6E0; line-height: 1.1; font-size: 16px; font-weight: normal;}

a,input{color: #32353A; text-decoration: none;}
a, input, label, label::before, select, textarea, a *, button, .button, .header-scroll, .popup-container, .popup, .slick-prev::before, .slick-next::before, .main-menu a::after, .faq-list-item, .faq-list-item *, .faq-list-item .question::after, .work-card .compare-button::after, .tooltip-content{
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

*{position: relative; margin: 0px; padding: 0px; list-style: none; vertical-align: top; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; -webkit-appearance: none; -moz-appearance: none; -ms-appearance: none; appearance: none !important; background: none; -moz-border-radius: 0px; -webkit-border-radius: 0px; -khtml-border-radius: 0px; border-radius: 0px; border: 0; font-family: inherit; font-weight: inherit; line-height: 1.1;}

b, strong, b *, strong *{font-weight: bold;}
p, p *{line-height: 1.4;}
p a{color: #545965;}
p a:hover{color: #32353A;}

.wrapper{margin: 0 auto; max-width: 1440px; padding: 0px 45px;}
.phone{white-space: nowrap;}

.photo picture{position: absolute; top: 0px; right: 0px; bottom: 0px; left: 0px; overflow: hidden;}
.photo picture img{display: block; width: 100%; height: 100%; object-fit: cover;}

@media only screen and (max-width: 1080px) {
::-webkit-scrollbar{width: 0px; height: 0px; background: transparent;}
.wrapper{padding-left: 30px; padding-right: 30px;}
}

@media only screen and (max-width: 767px) {
.wrapper{padding-left: 15px; padding-right: 15px;}
}

/* Кнопки */

.button{display: inline-flex; justify-content: center; align-items: center; gap: 15px; padding: 0px 30px; height: 48px; font-family: 'Montserrat', sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: 0.25em; border-radius: 0px; white-space: nowrap; cursor: pointer;}

.btn-primary{color: #E8E6E0; background: #545965;}
.btn-primary:hover{background: #32353A;}

.header-alt:not(.header-scroll) .btn-primary,
.btn-alt.btn-primary{color: #545965; background: #E8E6E0;}
.header-alt:not(.header-scroll) .btn-primary:hover,
.btn-alt.btn-primary:hover{background: #CBCBC9;}

.btn-secondary{color: #32353A; border: 1px solid #32353A;}
.btn-secondary:hover{color: #545965; border-color: #545965;}

.header-alt:not(.header-scroll) .btn-secondary,
.btn-alt.btn-secondary{color: #E8E6E0; border-color: #E8E6E0;}
.header-alt:not(.header-scroll) .btn-secondary:hover,
.btn-alt.btn-secondary:hover{color: #D3D8CE; border-color: #D3D8CE;}

.buttons{display: flex; gap: 10px;}

/* Сетка формы */

.form-layout{display: flex; flex-wrap: wrap; gap: 15px;}
.f-100{width: 100%;}
.f-50{width: calc(50% - 7.5px);}
.f-label{display: block; margin-bottom: 10px; color: #545965; font-size: 14px; font-weight: bold;}
.f-submit{margin-top: 0px; width: 100%;}
.f-submit .button{width: 100%;}
.f-agree{width: 100%;}
.form-agree{margin: 0 auto; max-width: 320px; text-align: center; line-height: 1.4; font-size: 12px;}
.form-agree a{color: #545965; border-bottom: 1px solid #545965;}
.form-agree a:hover{color: #32353A; border-color: #32353A;}

/* Поля форм */

.form-field{display: block; width: 100%; padding: 20px 15px; color: #32353A; font-size: 16px; background: transparent; border: 1px solid #CBCBC9; overflow-x: hidden;}
.form-field:hover{border-color: #32353A;}
.form-field:focus{border-color: #32353A; outline: 1px solid #32353A;}

input::-webkit-input-placeholder{color: rgba(50, 53, 58, 0.5);}
input:-moz-placeholder{color: rgba(50, 53, 58, 0.5);}
textarea::-webkit-input-placeholder{color: rgba(50, 53, 58, 0.5);}
textarea:-moz-placeholder{color: rgba(50, 53, 58, 0.5);}
button{background: none; color: inherit; border: none; padding: 0; font: inherit; cursor: pointer; outline: inherit;}

:active, :hover, :focus{outline: 0; outline-offset: 0;}
textarea{resize: none; overflow: auto; min-height: 120px}

.f-radio, .f-checkbox{display: flex; flex-direction: column; gap: 10px;}
.f-label + .f-radio, .f-label + .f-checkbox{margin-top: 15px;}
.wpcf7-list-item, .f-group-item{margin: 0px !important;}
.wpcf7-list-item input, .f-group-item input{display: none;}
.wpcf7-list-item-label, .f-group-item-label{display: flex; align-items: flex-start; gap: 10px; cursor: pointer;}
.wpcf7-list-item-label::before, .f-group-item-label::before{content: ""; flex-shrink: 0; display: block; width: 20px; height: 20px; border: 1px solid #EAE8FB; box-sizing: border-box;}
.wpcf7-list-item-label:hover::before, .f-group-item-label:hover::before{border-color: #9990EA;}
:checked + .wpcf7-list-item-label::before, :checked + .f-group-item-label::before{border-color: #3322D6;}

.wpcf7-radio .wpcf7-list-item-label::before, .f-radio .f-group-item-label::before{border-radius: 50%;}
.wpcf7-radio :checked + .wpcf7-list-item-label::before, .f-radio :checked + .f-group-item-label::before{border-width: 6px;}

.wpcf7-checkbox .wpcf7-list-item-label::before, .wpcf7-acceptance .wpcf7-list-item-label::before, .f-checkbox .f-group-item-label::before{background: url('images/icons/tick-white.svg') center center no-repeat; background-size: 12px; border-radius: 0px;}
.wpcf7-checkbox :checked + .wpcf7-list-item-label::before, .wpcf7-acceptance :checked + .wpcf7-list-item-label::before, .f-checkbox :checked + .f-group-item-label::before{background-color: #3322D6;}

/* Contact form 7 */

.wpcf7-form-control-wrap{display: block;}
.wpcf7-spinner{position: absolute !important; top: 50%; right: 50%; transform: translate(50%, -50%); margin: 0px !important;}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form .wpcf7-response-output{position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px; display: flex; justify-content: center; align-items: center; margin: 0px !important; padding: 30px !important; text-align: center; color: #32353A; line-height: 1.4; background: #D3D8CE; border: 0 !important; opacity: 0; visibility: hidden; z-index: 2; animation: 3s alert-show ease;}

.wpcf7-not-valid-tip{position: absolute !important; top: 5px; right: 5px; max-width: 100%; padding: 2px 5px; color: #32353A !important; font-size: 12px !important; white-space: nowrap; background: #D3D8CE; z-index: 1; pointer-events: none;}

@keyframes alert-show {
  0% {opacity: 0; visibility: hidden;}
  15% {opacity: 1; visibility: visible;}
  85% {opacity: 1; visibility: visible;}
  100% {opacity: 0; visibility: hidden;}
}

/* Попапы */

.popup-container{position: fixed; top: 0px; left: 0px; right: 0px; bottom: 0px; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; z-index: 99;}
.popup-visible{opacity: 1; visibility: visible;}
.popup-container > .popup-overlay{position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px; background: rgba(50, 53, 58, 0.7); cursor: pointer;}
.popup{padding: 75px 30px 45px; width: 520px; max-height: 100vh; background: #E8E6E0; border: 1px solid #32353A; box-shadow: 0px 2px 15px 0px rgba(50, 53, 58, 0.5); overflow-y: scroll; scrollbar-width: none;}
.popup-visible .popup{}
.popup::-webkit-scrollbar{width: 0px; height: 0px; background: transparent;}
.popup > .popup-close{position: absolute; top: 15px; right: 15px; padding: 0px; width: 60px; height: 60px; background: url('images/icons/close-black.svg') center center no-repeat #D3D8CE; background-size: 20px 20px; border-radius: 50%; z-index: 1;}
.popup > .popup-close:hover{background-color: #CBCBC9;}

.popup .headline{display: block; margin-bottom: 15px; text-align: center; font-family: 'Gambetta', serif; letter-spacing: 0.05em; font-size: 36px;}
.popup .form-layout{margin-top: 30px;}

@media only screen and (max-width: 767px) {
.popup{padding: 75px 15px 30px;}
}

/* Форматирование текста */

.story{}
.story > :first-child{margin-top: 0px;}
.story > :last-child{margin-bottom: 0px;}
.story *{font-size: 16px;}
.story p{margin: 15px 0px;}
.story h1{display: block; line-height: 1; font-family: 'Gambetta', serif; font-size: 60px; font-weight: normal; letter-spacing: 0.05em;}
.story h2{margin-top: 40px; margin-bottom: 25px; line-height: 1; font-family: 'Gambetta', serif; font-size: 36px; font-weight: normal; letter-spacing: 0.05em;}
.story h3{margin-top: 40px; line-height: 1; font-family: 'Gambetta', serif; font-size: 24px; font-weight: normal; letter-spacing: 0.05em;}
.story h1 *, .story h2 *, .story h3 *{font-weight: bold;}
.story ul, .story ol{margin: 30px 0px; counter-reset: myCounter;}
.story li{margin: 15px 0px; padding-left: 30px; line-height: 1.4;}
.story li *{line-height: 1.4;}
.story li::before{position: absolute; left: 0px; top: 0px; display: block; line-height: 1.4;}
.story ul li::before{content: "—";}
.story ol li::before{counter-increment: myCounter; content: counter(myCounter) ".";}
.story img{border-radius: 0px;}
.story .wp-caption{margin: 30px 0px;}
.story .wp-caption img{margin: 0px;}
.story .wp-caption-text{margin: 15px 0px 0px; text-align: center; color: #545965; font-size: 14px;}
.story blockquote{margin: 30px;}
.story blockquote *{line-height: 1.3; font-size: 24px;}
.story a{color: #545965; border-bottom: 1px solid #545965;}
.story a:hover{color: #32353A; border-color: #32353A;}

@media only screen and (max-width: 767px) {
.story *{font-size: 16px;}
.story h1{font-size: 48px;}
.story h2{margin-bottom: 20px; font-size: 28px;}
.story h3{font-size: 20px;}
.story .wp-caption-text{font-size: 12px;}
.story blockquote *{font-size: 20px;}
}

/* Слайдер. Slick Slider */

.slick-prev, .slick-next{outline: none; position: absolute; top: 0; bottom: 0; display: block; text-indent: 9999px; white-space: nowrap; border-radius: 0px; overflow: hidden; cursor: pointer; z-index: 1;}
.slick-prev{left: -15px;}
.slick-next{right: -15px;}
.slick-disabled{opacity: 0; visibility: hidden;}

/* Слайдер. Карусель */

.carousel-slider .slick-prev, .carousel-slider .slick-next{width: 120px; overflow: visible;}
.carousel-slider .slick-prev::before, .carousel-slider .slick-next::before{content: ""; position: absolute; top: 50%; right: 50%; display: block; width: 75px; height: 75px; background: center center no-repeat #D3D8CE; background-size: 30px 30px; border: 5px solid #E8E6E0; border-radius: 50%; box-shadow: 0px 2px 15px 0px rgba(50, 53, 58, 0.3); -webkit-transform: translate(50%, -50%); -ms-transform: translate(50%, -50%); transform: translate(50%, -50%);}
.carousel-slider .slick-prev::before{background-image: url('images/icons/arrow-left-black.svg');}
.carousel-slider .slick-next::before{background-image: url('images/icons/arrow-right-black.svg');}
.carousel-slider .slick-prev:hover::before, .carousel-slider .slick-next:hover::before{background-color: #CBCBC9;}

.carousel-slider .slick-dots{position: absolute; left: 0px; right: 0px; bottom: -45px; display: flex; justify-content: center; align-items: center; gap: 10px; margin: 0; padding: 0; list-style: none; z-index: 1;}
.carousel-slider .slick-dots li button{display: block; padding: 0px; width: 12px; height: 12px; background: #D3D8CE; text-indent: 9999px; white-space: nowrap; border-radius: 50%; overflow: hidden; cursor: pointer;}
.carousel-slider .slick-dots li button:hover{background: #CBCBC9;}
.carousel-slider .slick-dots .slick-active button{background: #32353A !important;}

.carousel-slider{position: static; margin: 0px -15px;}
.carousel-slider .slick-list{overflow: visible;}
.carousel-slider .slide{padding: 0px 15px;}

@media only screen and (max-width: 767px) {
.slick-prev{left: 0px;}
.slick-next{right: 0px;}
.carousel-slider .slick-prev, .carousel-slider .slick-next{width: 50px}
.carousel-slider .slick-prev::before, .carousel-slider .slick-next::before{width: 45px; height: 45px; background-size: 16px 16px;}

.carousel-slider .slick-dots{bottom: -30px; gap: 6px;}
.carousel-slider .slick-dots li button{width: 8px; height: 8px;}

.carousel-slider{margin: 0px -7.5px;}
.carousel-slider .slide{padding: 0px 7.5px;}
}

/* Слайдер. Галерея */

.gallery{background: #32353A; overflow: hidden;}
.gallery-slider{margin: 0 auto; max-width: 1350px;}
.gallery-slider .slide{padding: 0px;}
.gallery-slider .photo{padding-bottom: 67%;}

.gallery-slider .slick-dots{bottom: 30px;}
.gallery-slider .slick-dots li button{background: none; border: 2px solid #D3D8CE;}
.gallery-slider .slick-dots li button:hover{background: none; border-color: #CBCBC9;}
.gallery-slider .slick-dots .slick-active button{background: #E8E6E0 !important; border-color: #E8E6E0 !important;}

.gallery-slider .slick-prev{left: 10px;}
.gallery-slider .slick-next{right: 10px;}

@media only screen and (max-width: 767px) {
.gallery-slider .slick-dots{bottom: 15px;}
}

@media only screen and (max-width: 560px) {
.gallery-slider .photo{padding-bottom: 131%;}
}

/* Видеоплеер */

.video-wrapper{position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px; overflow: hidden; cursor: pointer;}
.video-wrapper video{margin: 0 auto; width: auto; height: 100%; display: block;}
.play-button{position: absolute; top: 50%; left: 50%; width: 105px; height: 105px; display: flex; align-items: center; justify-content: center; background: url('images/icons/play.svg') center center no-repeat #D3D8CE; background-size: 36px 36px; border: 5px solid #E8E6E0; border-radius: 50%; box-shadow: 0px 2px 15px 0px rgba(50, 53, 58, 0.3); transform: translate(-50%, -50%);}
.play-button:hover{background-color: #CBCBC9;}
.play-button.hidden{opacity: 0; pointer-events: none;}

.progress-container{position: absolute; bottom: 0; left: 0; right: 0; height: 8px; background: #D3D8CE; cursor: pointer;}
.progress-bar{height: 100%; width: 0%; background: #545965; transition: width 0.1s linear;}

@media only screen and (max-width: 767px) {
.play-button{width: 75px; height: 75px; background-size: 24px 24px;}
.progress-container{height: 6px;}
}

/* Соцсети */

.social{display: flex; gap: 10px;}
.social a{display: block; width: 40px; height: 40px; background: center center no-repeat #D3D8CE; background-size: contain; border-radius: 50%;}
.social a:hover{background-color: #CBCBC9;}

.social .facebook{background-image: url('images/social/facebook.svg');}
.social .instagram{background-image: url('images/social/instagram.svg');}
.social .pinterest{background-image: url('images/social/pinterest.svg');}

/* Логотип */

.celme-logo,
.celme-logo-full,
.celme-logo-basic,
.celme-logo-round,
.celme-logo-alt{display: inline-block; background: center center no-repeat; background-size: contain;}

.celme-logo-full.black{background-image: url('images/celme-logo-full-black.svg');}
.celme-logo-full.white{background-image: url('images/celme-logo-full-white.svg');}
.celme-logo-basic.black{background-image: url('images/celme-logo-basic-black.svg');}
.celme-logo-basic.white{background-image: url('images/celme-logo-basic-white.svg');}
.celme-logo-round.black{background-image: url('images/celme-logo-round-black.svg');}
.celme-logo-round.white{background-image: url('images/celme-logo-round-white.svg');}
.celme-logo-alt.black{background-image: url('images/celme-logo-alt-black.svg');}
.celme-logo-alt.white{background-image: url('images/celme-logo-alt-white.svg');}

/* Шапка */

.header{position: absolute; top: -98px; left: 0px; right: 0px; z-index: 90;}
.header .wrapper{display: flex; align-items: center; gap: 30px; margin-top: 98px; padding-top: 25px; padding-bottom: 25px;}
.header .left, .header .right{flex: 1; display: flex; align-items: center; gap: 10px;}
.header .right{justify-content: flex-end;}

.header .celme-logo{width: 132px; height: 48px; background-image: url('images/celme-logo-basic-black.svg');}

.main-menu{display: flex; gap: 10px;}
.main-menu a{display: block; padding: 15px; line-height: 18px; color: #32353A; font-weight: bold;}
.main-menu a::after{content: ""; position: absolute; bottom: 5px; left: 50%; right: 50%; display: block; height: 1px; background: #32353A;}
.main-menu a:hover{color: #545965;}
.main-menu a:hover::after{left: 15px; right: 15px; background: #545965;}

.btn-menu{display: none; width: 48px; height: 48px; background: url('images/icons/menu-black.svg') center center no-repeat #D3D8CE; background-size: 20px 20px;}

.header-alt:not(.header-scroll) .celme-logo{background-image: url('images/celme-logo-basic-white.svg');}
.header-alt:not(.header-scroll) .main-menu a{color: #E8E6E0;}
.header-alt:not(.header-scroll) .main-menu a::after{background: #E8E6E0;}
.header-alt:not(.header-scroll) .main-menu a:hover{color: #D3D8CE;}
.header-alt:not(.header-scroll) .main-menu a:hover::after{background: #D3D8CE;}
.header-alt:not(.header-scroll) .btn-menu{background-image: url('images/icons/menu-white.svg'); background-color: transparent; border: 1px solid #E8E6E0;}
.header-home:not(.header-scroll) .celme-logo{display: none;}

.header-scroll{position: fixed; top: 0px !important; background: rgba(232, 230, 224, 0.85); border-bottom: 1px solid #32353A; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);}
.header-scroll .wrapper{margin-top: 0px !important; padding-top: 15px; padding-bottom: 15px;}

@media only screen and (max-width: 1280px) {
.main-menu{gap: 0px;}
.main-menu a{padding: 15px 12px; font-size: 14px;}
}

@media only screen and (max-width: 1080px) {
.main-menu{display: none;}
.btn-menu{display: block;}
}

@media only screen and (max-width: 767px) {
.header{top: -66px;}
.header .wrapper{justify-content: space-between; margin-top: 66px; padding-top: 15px; padding-bottom: 15px;}
.header .left, .header .right{flex: unset;}
.header .celme-logo{width: 99px; height: 36px;}
.header .btn-primary{display: none;}
.btn-menu{height: 36px; background-size: 16px 16px;}

.header-scroll .wrapper{padding-top: 10px; padding-bottom: 10px;}
}

/* Мобильное меню */

#popup-menu{justify-content: flex-end; align-items: stretch;}
.popup-menu{display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; gap: 30px; padding: 75px 0px 30px; width: 320px;}
.popup-visible .popup-menu{}

.mobile-menu a{display: block; padding: 10px 30px; font-family: 'Gambetta', serif; font-size: 24px; letter-spacing: 0.05em;}

.popup-menu .below{padding: 0px 30px;}
.mobile-contact{display: flex; flex-direction: column; align-items: flex-start; gap: 15px; margin-bottom: 30px;}
.mobile-contact-item{font-size: 14px;}

.popup-menu .social{margin-bottom: 30px;}

.popup-menu .buttons{flex-direction: column; align-items: stretch; width: 100%;}

/* Заголовок страницы */

.page-header{margin-left: auto; margin-right: auto; margin-bottom: 30px; max-width: 720px; text-align: center;}
.page-header .headline{display: block; line-height: 1; font-family: 'Gambetta', serif; font-size: 60px; font-weight: normal; letter-spacing: 0.05em;}

@media only screen and (max-width: 767px) {
.page-header{margin-bottom: 25px;}
.page-header .headline{font-size: 48px;}
}

/* Заголовок блока */

.block-header{display: flex; flex-direction: column; align-items: center; margin-bottom: 30px; text-align: center;}
.block-header .number{display: block; margin-bottom: 10px; padding-bottom: 10px; line-height: 1; color: #545965; font-family: 'Gambetta', serif; font-size: 36px; font-weight: normal; font-style: italic; border-bottom: 1px solid #545965;}
.block-header .headline{display: block; line-height: 1; font-family: 'Gambetta', serif; font-size: 60px; font-weight: normal; letter-spacing: 0.05em;}
.block-header .sub-headline{display: block; line-height: 1; font-family: 'Gambetta', serif; font-size: 48px; font-weight: normal; letter-spacing: 0.05em;}
.block-header .block-desc{margin-top: 15px; max-width: 720px;}

@media only screen and (max-width: 767px) {
.block-header{margin-bottom: 25px;}
.block-header .number{margin-bottom: 5px; padding-bottom: 5px; font-size: 24px;}
.block-header .headline{font-size: 48px;}
.block-header .sub-headline{font-size: 36px;}
}

/* Главная. Первый экран */

.hello{color: #E8E6E0; background: #32353A;}
.hello .bg{position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px;}
.hello .bg::after{content: ""; position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px; background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0));}
.hello .wrapper{display: flex; justify-content: space-between; align-items: stretch; gap: 45px; padding-top: 143px; padding-bottom: 143px; min-height: 100vh;}
.hello .left{flex-shrink: 0; display: flex; flex-direction: column; gap: 60px; width: 420px;}
.hello .celme-logo{width: 320px; height: 320px; background-image: url('images/celme-logo-round-white.svg');}
.hello .headline{display: block; line-height: 1; font-family: 'Gambetta', serif; font-size: 48px; letter-spacing: 0.05em;}

.hello .right{display: flex; flex-direction: column; justify-content: flex-end; max-width: 720px;}
.hello .right .content{padding: 30px; background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);}
.hello .buttons{margin-top: 45px;}

@media only screen and (max-width: 1080px) {
.hello .wrapper{flex-direction: column;}
.hello .left{gap: 45px;}
.hello .celme-logo{width: 240px; height: 240px;}
}

@media only screen and (max-width: 767px) {
.hello .wrapper{gap: 30px; padding-top: 86px; padding-bottom: 60px;}
.hello .left{gap: 30px; width: unset;}
.hello .celme-logo{width: 180px; height: 180px;}
.hello .headline{font-size: 36px;}
.hello .right .content{margin: 0px -15px; padding: 30px 15px;}
.hello .story *{font-size: 14px;}
.hello .buttons{margin-top: 35px;}
}

@media only screen and (max-width: 560px) {
.hello .buttons{flex-direction: column;}
}

/* Главная. Философия */

.philosophy .wrapper{display: flex; justify-content: center; padding-top: 90px;}
.philosophy .content{max-width: 720px; text-align: center;}
.philosophy-text{font-family: 'Gambetta', serif; letter-spacing: 0.05em;}
.philosophy-text p{line-height: 1.2; font-size: 36px;}

@media only screen and (max-width: 767px) {
.philosophy .wrapper{padding-top: 60px;}
.philosophy-text p{font-size: 24px;}
}

/* Главная. Портфолио */

.our-works{overflow: hidden;}
.our-works .wrapper{padding-top: 90px; padding-bottom: 45px;}

.works-slider{margin: 0 auto; max-width: 900px;}

.work-card{padding-bottom: 60%; background: #CBCBC9;}
.work-card .photo{position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px;}
.work-card .right.photo{clip-path: inset(0 0 0 50%);}
.work-card .controls{position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px;}
.work-card .caption{position: absolute; display: inline-block; padding: 10px 15px; font-size: 14px; background: #D3D8CE; border-radius: 500px;}
.work-card .caption.before{top: 15px; left: 15px;}
.work-card .caption.after{bottom: 15px; right: 15px;}
.work-card .compare-button{position: absolute; top: 0px; bottom: 0px; left: calc(50% - 30px); display: flex; justify-content: center; align-items: center; width: 60px; cursor: pointer;}
.work-card .compare-button::before{content: ""; position: absolute; top: 0px; bottom: 0px; left: 27px; display: block; width: 6px; background: #E8E6E0;}
.work-card .compare-button::after{content: ""; display: block; width: 30px; height: 30px; background: url('images/icons/slider-arrows.svg') center center no-repeat #D3D8CE; background-size: 20px 20px; border: 5px solid #E8E6E0; border-radius: 50%; box-shadow: 0px 2px 15px 0px rgba(50, 53, 58, 0.3); z-index: 1;}
.work-card .compare-button:hover::after{background-color: #CBCBC9;}

@media only screen and (max-width: 767px) {
.our-works .wrapper{padding-top: 60px; padding-bottom: 30px;}

.work-card{padding-bottom: 83%;}
.work-card .caption{padding: 6px 12px; font-size: 12px;}
.work-card .caption.before{top: 5px; left: 5px;}
.work-card .caption.after{bottom: 5px; right: 5px;}
}

/* Главная. Услуги */

.home-services{overflow: hidden;}
.home-services .wrapper{padding-top: 90px; padding-bottom: 135px;}

.services-slider .slick-track{display: flex !important;}
.services-slider .slick-track .slide{height: inherit !important;}
.services-slider .service-card{height: 100% !important;}

.service-card{display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; gap: 20px;}
.service-card.service-copy{padding: 30px; border: 1px solid #32353A;}
.service-card .photo{padding-bottom: 65%; background: #CBCBC9;}
.service-card .title{display: block; margin-top: 15px; text-align: center; font-family: 'Gambetta', serif; font-size: 24px; letter-spacing: 0.05em;}
.service-card .short-desc{display: block; margin-top: 10px; text-align: center; font-size: 14px;}
.service-card .details{display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 5px 10px; margin-bottom: 15px;}
.service-card .details-item{display: flex; align-items: center; gap: 10px; color: #545965;}
.service-card .details-item:not(:last-child)::after{content: ""; display: block; width: 1px; height: 10px; background: #545965;}
.service-card .button{width: 100%;}
.service-card .full-desc{display: none;}
.service-card .additional-info{display: none; margin-top: 20px; padding: 20px; background: #CBCBC9;}
.service-card .additional-info *{font-size: 14px;}
.service-card .popup-buttons{display: none;}

.tooltip{z-index: 1;}
.tooltip-icon{display: block; width: 18px; height: 18px; background: url('images/icons/info.svg') center center no-repeat; background-size: contain; cursor: pointer;}
.tooltip-content{position: absolute; bottom: calc(100% + 10px); left: -15px; padding: 10px; width: 240px; color: #E8E6E0; font-size: 10px; background: #32353A; opacity: 0; visibility: hidden;}
.tooltip-content::after{content: ""; position: absolute; bottom: -5px; left: 19px; width: 10px; height: 10px; background: #32353A; -webkit-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg);}
.tooltip:hover .tooltip-content{opacity: 1; visibility: visible;}

.popup-service .service-card{gap: 10px;}
.popup-service .service-card .short-desc{display: none;}
.popup-service .service-card .details{margin-bottom: 5px;}
.popup-service .service-card .full-desc{display: block;}
.popup-service .service-card .additional-info{display: block;}
.popup-service .service-card .below .button{display: none;}
.popup-service .service-card .popup-buttons{display: flex; margin-top: 20px;}

@media only screen and (max-width: 767px) {
.home-services .wrapper{padding-top: 60px; padding-bottom: 90px;}
.service-card.service-copy{padding: 15px;}
}

/* Главная. О нас */

.about{overflow: hidden;}
.about .wrapper{padding-top: 90px; padding-bottom: 90px;}
.about .block-desc{text-align: left;}

.team-slider{margin: 0 auto; max-width: 900px;}
.team-slider .slick-track{display: flex !important;}
.team-slider .slick-track .slide{height: inherit !important;}
.team-slider .team-card{height: 100% !important;}

.team-card{display: flex; align-items: stretch;}
.team-card.team-copy{border: 1px solid #32353A;}
.team-card .photo{flex-shrink: 0; width: 360px; height: 360px;}
.team-card .info{display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; gap: 30px; padding: 45px;}
.team-card .name{display: block; line-height: 1; font-family: 'Gambetta', serif; font-size: 36px; letter-spacing: 0.05em;}
.team-card .job{display: block; margin-top: 5px; color: #545965;}
.team-card.team-copy .story *{font-size: 14px;}

.team-card .see-more{display: inline-block; margin-top: 10px; color: #545965; font-size: 14px; font-weight: bold;}
.team-card .see-more:hover{color: #32353A;}
.team-card.team-copy .bio-full{display: none;}

.team-card.team-paste{flex-direction: column; align-items: center; gap: 20px; padding: 0px !important;}
.team-card.team-paste .photo{border-radius: 50%; overflow: hidden; }
.team-card.team-paste .info{gap: 20px; padding: 0px;}
.team-card.team-paste .below{display: none;}
.team-card.team-paste .see-more{display: none;}

.about-slider{margin-top: 30px;}
.about-slider .slick-track{display: flex !important;}
.about-slider .slick-track .slide{height: inherit !important;}

.about-card{padding-bottom: 100%;}
.about-card .photo{position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px;}
.about-card .info{position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px; display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; gap: 20px; padding: 30px; border: 1px solid #32353A;}
.about-card .headline{display: block; line-height: 1; font-family: 'Gambetta', serif; font-size: 36px; letter-spacing: 0.05em;}
.about-card .story *{font-size: 14px;}

@media only screen and (max-width: 1080px) {
.team-card{flex-direction: column; align-items: flex-start; gap: 20px; padding: 45px;}
.team-card .photo{width: 240px; height: 240px; border-radius: 50%; overflow: hidden;}
.team-card .info{gap: 15px; padding: 0px;}
}

@media only screen and (max-width: 767px) {
.about .wrapper{padding-top: 60px; padding-bottom: 60px;}

.team-slider{margin: 0px -7.5px;}
.team-card{align-items: center; gap: 15px; padding: 15px;}
.team-card .photo{width: 180px; height: 180px;}
.team-card .info{gap: 12px; text-align: center;}
.team-card.team-paste .info{text-align: left;}
.team-card .name{font-size: 24px;}
.team-card .job{font-size: 14px;}

.about-card .info{gap: 15px; padding: 15px;}
.about-card .headline{font-size: 24px;}
}

@media only screen and (max-width: 560px) {
.about-slider{position: static; max-width: 83%;}
.about-card{padding-bottom: 83%;}
}

/* Главная. Отзывы */

.testimonials{overflow: hidden;}
.testimonials .wrapper{padding-top: 90px; padding-bottom: 45px;}

.rating{display: block; width: 150px; height: 30px; background: #CBCBC9;}
.rating::before, .rating .value{content: ""; position: absolute; top: 0px; left: 0px; bottom: 0px; display: block; background: #545965;}
.rating::after{content: ""; position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px; display: block; background: url('images/icons/rating.svg') left center repeat-x; background-size: 30px 30px;}

.rating-5::before{width: 100%;}
.rating-4::before{width: 80%;}
.rating-3::before{width: 60%;}
.rating-2::before{width: 40%;}
.rating-1::before{width: 20%;}
.rating-0::before{width: 0%;}

.average-rating-block{display: flex; justify-content: center; align-items: center; gap: 30px; margin-bottom: 30px;}
.rating-block .caption{display: block; margin-top: 5px; font-size: 12px; color: #545965;}

.testimonials-slider .slick-track{display: flex !important;}
.testimonials-slider .slick-track .slide{height: inherit !important;}
.testimonials-slider .testimonial-card{height: 100% !important;}

.testimonial-card{display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; gap: 30px; padding: 30px; border: 1px solid #32353A;}
.testimonial-card .testimonial-header{display: flex; align-items: center; gap: 15px;}
.testimonial-card .photo{flex-shrink: 0; width: 60px; height: 60px; background: #CBCBC9; border-radius: 50%; overflow: hidden;}
.testimonial-card .info{flex: 1;}
.testimonial-card .name{display: block; font-family: 'Gambetta', serif; font-size: 24px; letter-spacing: 0.05em;}
.testimonial-card .date{display: block; margin-top: 5px; color: #545965; font-size: 14px;}
.testimonial-card .google-logo{flex-shrink: 0; display: block; width: 24px; height: 24px; background: url('images/icons/google.svg') center center no-repeat; background-size: contain;}
.testimonial-card .rating{margin-top: 10px;}
.testimonial-card .text{margin-top: 20px;}
.testimonial-card .text *{font-size: 14px;}
.testimonial-card .see-more{display: inline-block; margin-top: 10px; color: #545965; font-size: 14px; font-weight: bold;}
.testimonial-card .see-more:hover{color: #32353A;}
.testimonial-card .button{width: 100%;}

@media only screen and (max-width: 767px) {
.testimonials .wrapper{padding-top: 60px; padding-bottom: 30px;}

.rating{width: 100px; height: 20px;}
.rating::after{background-size: 20px 20px;}

.average-rating-block{flex-direction: column; align-items: center; gap: 15px;}
.rating-block{display: flex; flex-direction: column; align-items: center; text-align: center;}

.testimonial-card{padding: 15px;}
.testimonial-card .photo{width: 45px; height: 45px;}
.testimonial-card .name{font-size: 20px;}
.testimonial-card .date{margin-top: 2px; font-size: 12px;}
.testimonial-card .google-logo{width: 16px; height: 16px;}
}

@media only screen and (max-width: 560px) {
.testimonials-slider{margin: 0 auto; width: calc(100% - 50px);}
.testimonials .slick-prev{left: -35px;}
.testimonials .slick-next{right: -35px;}
}

/* Главная. Сертификаты */

.giftcards .wrapper{padding-top: 90px; padding-bottom: 0px;}
.giftcards-block{display: flex; align-items: stretch; gap: 45px; padding: 45px; background: url('images/pattern.png') center center repeat; background-size: 250px auto; border: 1px solid #32353A; overflow: hidden;}
.giftcards-block .instruction{flex-shrink: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; gap: 15px; padding: 30px; width: calc(50% - 22.5px); background: #CBCBC9;}
.giftcards-block .headline{display: block; line-height: 1.2; font-family: 'Gambetta', serif; font-size: 36px; letter-spacing: 0.05em;}
.giftcards-block .story *{font-size: 14px;}

.giftcards-slider{margin: 0px; width: calc(50% - 22.5px); background: #E8E6E0; border: 1px solid #32353A;}
.giftcards-slider .slick-list{height: 100%; overflow: hidden;}
.giftcards-slider .slick-track{display: flex !important; height: inherit;}
.giftcards-slider .slick-track .slide{height: inherit !important;}
.giftcards-slider .slick-prev{left: -30px;}
.giftcards-slider .slick-next{right: -30px;}
.giftcards-slider .giftcard-card{height: 100% !important;}
.giftcard-card{display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; gap: 20px; padding: 30px 15px;}
.giftcard-card .photo{padding-bottom: 53%; background: #CBCBC9;}
.giftcard-card .info{margin-top: 15px;}
.giftcard-card .title{display: block; text-align: center; font-family: 'Gambetta', serif; font-size: 24px; letter-spacing: 0.05em;}
.giftcard-card .amount{display: block; margin: 10px auto 0px; padding: 5px 15px; width: 120px; text-align: center; font-size: 36px; background: #D3D8CE; border-radius: 500px;}
.giftcard-card .button{width: 100%;}

@media only screen and (max-width: 1080px) {
.giftcards-block{flex-direction: column;}
.giftcards-slider{width: 100%;}
.giftcards-block .instruction{width: 100%;}
}

@media only screen and (max-width: 767px) {
.giftcards .wrapper{padding-top: 60px;}
.giftcards-block{gap: 15px; margin: 0px -15px; padding: 15px; background-size: 150px auto;}

.giftcards-block .instruction{gap: 10px; padding: 15px;}
.giftcards-block .headline{font-size: 24px;}
.giftcards-slider .slick-prev{left: -10px;}
.giftcards-slider .slick-next{right: -10px;}

.giftcard-card{padding: 15px;}
.giftcard-card .amount{padding: 3px 10px; width: 100px; font-size: 24px;}
}

/* Главная. CTA-блок */

.cta .wrapper{padding-top: 90px; padding-bottom: 75px;}
.cta-block{display: flex; flex-direction: column; align-items: center; padding: 45px; border: 1px solid #32353A;}

@media only screen and (max-width: 767px) {
.cta .wrapper{padding-top: 60px; padding-bottom: 45px;}
.cta-block{margin: 0px -15px; padding: 30px 15px;}
}

/* Услуги. Раздел */

.services-category .wrapper{padding-top: 118px;}
.category-desc{margin: 0 auto; max-width: 720px; text-align: center; font-family: 'Gambetta', serif; letter-spacing: 0.05em;}
.category-desc p{line-height: 1.2; font-size: 24px;}
.category-buttons{justify-content: center; margin-top: 30px;}

.services-grid{display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;}
.category-desc + .services-grid, .category-buttons + .services-grid{margin-top: 40px;}

.services-category + .testimonials .wrapper{padding-top: 90px; padding-bottom: 90px;}

@media only screen and (max-width: 1080px) {
.services-grid{grid-template-columns: repeat(2, 1fr);}
}

@media only screen and (max-width: 767px) {
.services-category .wrapper{padding-top: 86px;}
.category-desc p{font-size: 20px;}
.services-grid{gap: 15px;}
.category-desc + .services-grid, .category-buttons + .services-grid{margin-top: 35px;}
.services-category + .testimonials .wrapper{padding-top: 60px; padding-bottom: 75px;}
}

@media only screen and (max-width: 560px) {
.category-buttons{flex-direction: column;}
.services-grid{grid-template-columns: repeat(1, 1fr);}
}

/* FAQ. Раздел */

.faq-category .wrapper{padding-top: 118px; padding-bottom: 45px;}

.faq-group{margin-top: 60px;}
.accordion-input{display: none;}
.faq-list{display: flex; flex-direction: column; align-items: stretch; margin: 40px auto 0px; max-width: 760px; border: 1px solid #32353A;}
.faq-list-item:not(:first-child){border-top: 1px solid #32353A;}
.faq-list-item .question{display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 20px 30px; cursor: pointer;}
.faq-list-item .question .info{display: flex; align-items: center; gap: 30px}
.faq-list-item .question .number{flex-shrink: 0; display: flex; justify-content: center; align-items: center; width: 40px; height: 40px; color: #545965; font-family: 'Gambetta', serif; font-size: 24px; font-weight: normal; font-style: italic; background: #D3D8CE; border-radius: 50%;}
.faq-list-item .question .title{display: block; font-family: 'Gambetta', serif; font-size: 24px; letter-spacing: 0.05em;}
.faq-list-item .question::after{content: ""; flex-shrink: 0; display: block; width: 24px; height: 24px; background: url('images/icons/arrow-right-black.svg') center center no-repeat #D3D8CE; background-size: 12px 12px; border-radius: 50%;}
.faq-list-item .question:hover::after{background-color: #CBCBC9;}
.faq-list-item :checked ~ .question::after{-webkit-transform: rotate(90deg); -ms-transform: rotate(90deg); transform: rotate(90deg);}

.faq-list-item .answer{padding: 0px 30px; height: 0px; overflow: hidden;}
.faq-list-item :checked ~ .answer{padding-bottom: 30px; height: auto;}

@media only screen and (max-width: 1080px) {

}

@media only screen and (max-width: 767px) {
.faq-category .wrapper{padding-top: 86px; padding-bottom: 30px;}
.faq-group{margin-top: 45px;}
.faq-list{margin-top: 35px;}

.faq-list-item .question{gap: 20px; padding: 15px;}
.faq-list-item .question .info{gap: 15px}
.faq-list-item .question .number{width: 30px; height: 30px; font-size: 20px;}
.faq-list-item .question .title{font-size: 20px;}

.faq-list-item .answer{padding: 0px 15px;}
.faq-list-item :checked ~ .answer{padding-bottom: 20px;}
}

/* Блог. Раздел */

.blog-category .wrapper{padding-top: 118px; padding-bottom: 45px;}
.blog-grid{display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;}
.blog-grid-item{display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 30px; border: 1px solid #32353A;}
.blog-grid-item:hover{}
.blog-grid-item .title{display: block; font-family: 'Gambetta', serif; font-size: 24px; letter-spacing: 0.05em;}
.blog-grid-item:hover .title{}
.blog-grid-item .desc{display: block; margin-top: 10px; font-size: 14px;}
.blog-grid-item .date{display: block; text-align: right; color: #545965;}

@media only screen and (max-width: 1080px) {
.blog-grid{grid-template-columns: repeat(2, 1fr);}
}

@media only screen and (max-width: 767px) {
.blog-category .wrapper{padding-top: 86px; padding-bottom: 30px;}
.blog-grid{gap: 15px;}
.blog-grid-item{gap: 20px; padding: 20px 15px;}
.blog-grid-item .title{font-size: 20px;}
.blog-grid-item .date{font-size: 14px;}
}

@media only screen and (max-width: 560px) {
.blog-grid{grid-template-columns: repeat(1, 1fr);}
}

/* Прайс-лист. Раздел */

.prices-page .wrapper{padding-top: 118px; padding-bottom: 45px;}
.prices-page .content{margin: 0 auto; max-width: 760px;}

.prices-table{margin: 40px auto 0px; max-width: 760px;}
.prices-table h2{text-align: center;}

.tablepress{border: 1px solid #32353A !important;}
.tablepress caption{display: none;}
.tablepress td{padding: 30px !important; vertical-align: middle !important; color: #32353A !important; border-color: #32353A !important;}
.tablepress td:last-child{padding-left: 0px !important; font-family: 'Gambetta', serif; font-size: 24px; font-style: italic; letter-spacing: 0.05em; white-space: nowrap; text-align: right;}

.prices-table + .buttons{justify-content: center; margin-top: 45px;}

@media only screen and (max-width: 767px) {
.prices-page .wrapper{padding-top: 86px; padding-bottom: 30px;}
.prices-page .category-buttons{flex-direction: column;}

.tablepress td{padding: 20px 15px !important;}
.tablepress td:last-child{font-size: 20px;}
}

/* Простая страница */

.simple-page .wrapper{padding-top: 118px; padding-bottom: 45px;}
.simple-page .content{margin: 0 auto; max-width: 760px;}

@media only screen and (max-width: 767px) {
.simple-page .wrapper{padding-top: 86px; padding-bottom: 30px;}
}

/* Страница ошибки 404 */

.page-404 .wrapper{display: flex; justify-content: center; align-items: center; padding-top: 118px; padding-bottom: 45px; min-height: calc(100vh - 201px);}
.page-404 .content{margin: 0 auto; max-width: 760px; text-align: center;}

@media only screen and (max-width: 767px) {
.page-404 .wrapper{padding-top: 86px; padding-bottom: 30px;}
}

/* Подвал */

.footer{margin-top: 45px; border-top: 1px solid #32353A;}
.footer .wrapper{padding-top: 15px; padding-bottom: 15px;}

.footer-columns{display: flex; justify-content: space-between; align-items: center; gap: 15px 30px;}

.footer .celme-logo{width: 80px; height: 80px; background-image: url('images/celme-logo-round-black.svg');}
.footer-contact{display: flex; flex-direction: column; align-items: flex-start; gap: 10px;}
.footer-contact-item{line-height: 1.3; font-size: 14px;}

.footer-bottom{border-top: 1px solid #32353A;}
.footer-bottom .wrapper{display: flex; justify-content: space-between; gap: 15px 30px; padding-top: 20px; padding-bottom: 20px;}

.copyright{font-size: 12px;}
.footer-links{display: flex; flex-wrap: wrap; gap: 10px 20px;}
.footer-links a{display: block; font-size: 12px;}
.footer-links a:hover{color: #545965;}

@media only screen and (max-width: 1080px) {
.footer-columns{flex-wrap: wrap;}
.footer-columns .col:first-child{display: flex; justify-content: center; width: 100%;}
}

@media only screen and (max-width: 767px) {
.footer .wrapper{padding-top: 30px; padding-bottom: 30px;}
.footer-columns{flex-direction: column; align-items: center; gap: 10px;}
.footer-columns .col:first-child{margin-bottom: 10px;}
.footer .celme-logo{width: 80px; height: 80px;}
.footer-contact{align-items: center; text-align: center;}
.footer .social{justify-content: center; margin-top: 10px;}
.footer .social a{font-size: 12px;}
.footer-bottom .wrapper{flex-direction: column; align-items: center; text-align: center; padding-top: 30px; padding-bottom: 30px;}
.footer-links{justify-content: center;}
}