html {
    font-family: "Rubik", sans-serif;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    font-size: 16px;
    line-height: 160%;
    color: var(--black);
}

@media (max-width: 375px) {
    html {
        font-size: 14px;
    }
}
body {
    margin: 0;
    background-color: rgba(240, 237, 230, 1);
}

[data-inviewport=obs__full-width] {
    position: relative;
}

[data-inviewport=obs__full-width]:before {
    content: "";
    position: absolute;
    background-color: rgba(240, 237, 230, 1);
    top: 0;
    right: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    transition: 1s;
    display: flex;
}

.watched[data-inviewport=obs__full-width]:before {
    width: 0%;
}

html, body {
    height: 100%;
}

#wrapper {
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.content {
    flex: 1 0 auto;
    position: relative;
}

.footer {
    display: flex;
    flex-direction: column;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: #fff;
    transition: 0.3s ease;
}
.header-logo {
    flex-shrink: 0;
    max-width: 223px;
    width: 100%;
    margin-right: 30px;
}
.header-logo img {
    max-width: 100%;
}
.header-wrap {
    width: 100%;
    height: 80px;
}
.header-inner__wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.header-nav__tabs {
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    font-weight: 400;
    font-size: 14px;
    margin-bottom: 12px;
}
.header-nav__tabs-btn {
    width: 100%;
    display: inline-block;
    text-align: center;
    background-color: transparent;
    color: var(--black_60);
    padding: 4px 15px;
    width: 100%;
    border-radius: 50px;
    border: solid 2px rgba(0, 0, 0, 0.124);
}
.header-nav__tabs-btn.tab__active {
    color: #fff;
    background-color: #C4A679;
    border-color: #C4A679;
}
.header-nav__list{
    font-size: 14px;
}
.header-nav__list._main {
    display: flex;
    height: auto;
    align-items: center;
}
.header-nav__item {
    cursor: pointer;
}

.header-nav__item.current-menu-item .nav__item-link,
.header-nav__item.current-menu-item .header-nav__item-link,
.header-nav__item.active .header-nav__item-link {
    color: var(--black);
    font-weight: 500;
    text-decoration: underline;
    text-underline-position: under;
    text-decoration-thickness: 1px;
}
.header-nav__item:hover .header-nav__item-link{
    color: var(--black);
}

.header-nav__item-link {
    transition: 0.3s ease;
    padding: 6px 16px;
    cursor: pointer;
    color: var(--black_60);
    position: relative;
    display: inline-block;
}
footer .header-nav__item-link {
    padding: 0;
}
.header-btn{
    margin-left: auto;
    flex-shrink: 0;
}
.header-burger {
    width: 46px;
    height: 46px;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: 20px;
    position: relative;
    transition: 0.3s;
}
.header-burger > * {
    pointer-events: none;
}
.header-burger span {
    position: relative;
    margin-top: 9px;
    margin-bottom: 9px;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 20px;
    height: 2px;
    right: 0;
    margin: auto;
}
.header-burger span::before, .header-burger span::after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 5px;
    background-color: var(--black);
    outline: 1px solid transparent;
    transition-property: background-color, transform;
    transition-duration: 0.3s;
}
.header-burger span::before, .header-burger span::after {
    position: absolute;
    content: "";
}
.header-burger span::before {
    top: -3px;
}
.header-burger span::after {
    top: 3px;
}
.header-burger.clicked span::before {
    transform: translateY(3px) rotate(45deg);
}
.header-burger.clicked span::after {
    transform: translateY(-3px) rotate(-45deg);
}
@media (min-width: 1200px) {
    .header-nav__list._main {
        min-height: 46px;
    }
    .header-nav__list._subnav {
        display: flex;
        flex-wrap: wrap;
        grid-auto-flow: column;
        position: absolute;
        padding: 24px 8px 8px 8px;
        width: 440px;
        top: 31px;
        left: 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    .header-nav__list._subnav:before {
        content: "";
        position: absolute;
        width: 100%;
        background-color: #fff;
        height: calc(100% - 17px);
        bottom: 0;
        left: 0;
        border: solid 1.5px rgba(0, 0, 0, 0.1);
        border-radius: 20px;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
        border-top: none;
        z-index: -1;
        pointer-events: none;
    }
    .header-nav__list._subnav.show {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }
    .header-nav__list._subnav .header-nav__item-link {
        padding: 2px 16px !important;
        display: inline-block;
    }
    
    .header-nav__list._subnav li {
        margin: 0;
    }
    .header-nav__list._subnav li:nth-child(-n+4) {
        grid-column: 1;
        width: 50%;
    }
    .header-nav__list._subnav li:nth-child(n+5) {
        grid-column: 2;
        width: 50%;
    }
}
@media (max-width: 1410px) {
    .header-logo {
        margin-right: 20px;
    }
    .header-nav__item-link {
        padding: 6px 13px;
    }
    footer .header-nav__item-link {
        padding: 0;
    }
}
@media (max-width: 1199px) {
    .header {
        border-bottom: solid 1.5px rgba(0, 0, 0, 0.1);
    }
    .header-nav{
        background-color: #F0EDE6;
        position: fixed;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        z-index: 9;
        top: 80px;
        left: 0;
        height: calc(100% - 80px);
        padding: 66px 24px 32px 24px;
        width: 100%;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.55s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    }
    .header-nav.show {
        transform: translateX(0px);
    }
    .header-nav__item-link {
        padding: 28px 0;
    }
    footer .header-nav__item-link {
        padding: 0;
    }
    .header-nav__list {
        display: none!important;
        width: 100%;
        font-family: "Inter", sans-serif;
        font-weight: 400;
        font-size: 22px;
        line-height: 140%;
        letter-spacing: 0.01em;
        color: var(--black_60);
    }
    .header-nav__list.active {
        display: inline-block!important;
    }
    .header-nav__item {
        display: inline-block;
        position: relative;
        counter-increment: list-counter;
        width: 100%;
        border-bottom: solid 1px rgba(0, 0, 0, 0.12);
    } 
    .header-nav__item.current-menu-item,
    .header-nav__item.active{
        border-color: var(--black);
    }
    .header-nav__item.current-menu-item .nav__item-link,
    .header-nav__item.current-menu-item .header-nav__item-link,
    .header-nav__item.active .header-nav__item-link{
        text-decoration: none;
        text-shadow: none;
        color: var(--black);
    }
    .header-nav__item::after {
        content: "0" counter(list-counter);
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        display: flex;
        align-items: center;
        color: var(--black);
    }
    .header-nav__item:nth-child(n+10)::after {
        content: counter(list-counter);
    }
}
@media (max-width: 767px) {
    .header-nav__list{
        font-size: 18px;
    }
    .header-nav__item-link {
        padding: 21px 0;
    }
}

.info-logo{
    margin-bottom: 48px;
}
@media (max-width: 576px) {
    .info-title{
        font-size: 24px;
    }
}

.banner-item{
    background-color: #C4A679;
    padding: 32px 40px;
    display: inline-block;
    width: 100%;
    color: #fff;
    margin: 140px 0;
}
.banner-item__title{
    color: #fff;
}
.banner-item__content-wrap{
    padding: 22px 0;
}
.banner-item__content{
    max-width: 800px;
    display: inline-block;
}
.banner-item__content p{
    margin-bottom: 0;
}
.banner-item__btn{
    margin-top: 18px;
}
@media (max-width: 1199px) {
    .banner-item{
        margin: 48px 0;
    }
}
@media (max-width: 767px) {
    .banner-item{
        padding: 32px 20px;
    }
}


.footer {
    background-color: #fff;
    font-family: "Inter", sans-serif;
    font-weight: 400;
}
.footer-top__wrap{
    padding-top: 48px;
    padding-bottom: 28px;
}
.footer-logo {
    flex-shrink: 0;
    max-width: 223px;
    width: 100%;
}
.footer-wrap{
    display: flex;
    align-items: flex-start;
    gap: 48px;
    font-size: 18px;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: 0.01em;
    justify-content: flex-end;
}
.footer-nav a,
.footer-contact a {
    color: var(--black);
}
.footer-nav li,
.footer-contact li{
    margin-bottom: 20px;
}
.footer-nav a:hover,
.footer-contact a:hover{
    color: var(--primary_1);
}
.footer-bottom__wrap{
    padding-top: 4px;
    padding-bottom: 4px;
}
.footer-text{
    margin: 12px 0;
    font-size: 18px;
    line-height: 150%;
}
@media (max-width: 991px) {
    .footer-logo{
        margin-bottom: 60px;
    }
    .footer-wrap{
        justify-content: flex-start;
    }
}
@media (max-width: 767px) {
    .footer-wrap{
        flex-wrap: wrap;
    }
    .footer-nav,
    .footer-contact{
        width: 100%;
    }
}


.modal-form__wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 20px;
}
.modal-form {
    flex-shrink: 0;
    width: 100%;
}
.modal-form .form-group {
    width: 100%;
    margin-bottom: 24px;
}
.modal-form .form-group input {
    width: 100%;
    height: 51px;
    font-family: "Rubik";
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    letter-spacing: 0.01em;
    outline: none;
    border: none;
    border-bottom: solid 1.5px var(--black_20);
}
.modal-form .form-group input::-moz-placeholder {
    color: var(--black_20);
}
.modal-form .form-group input::placeholder {
    color: var(--black_20);
}
.modal-form .form-group .req__text, .modal-form .form-group .error__text {
    position: relative;
    max-width: 100%;
    left: 0;
    bottom: 0;
    padding-top: 10px;
}
.modal-form__group-wrap {
    display: flex;
    justify-content: space-between;
}
.modal-form__group-wrap .form-group {
    width: calc(50% - 8px);
}
.modal-form__submit-wrap{
    display: flex;
    align-items: center;
    gap: 32px;
    padding-top: 16px;
}
.modal-form__submit {
    flex-shrink: 0;
}
.modal-form__agree {
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    margin-bottom: 0;
    color: var(--black_45);
}
.modal-form__agree-link {
    color: var(--black_45);
}
.modal-form__agree-link:hover {
    color: var(--black);
}

.modal {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: auto;
    padding: 20px 10px;
    visibility: hidden;
    display: flex;
    align-items: center;
    align-content: center;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}
.modal-title {
    width: 100%;
    font-size: 32px;
}
.modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.modal .m-content {
    width: 100%;
    background-color: #fff;
    padding: 60px 48px 40px 48px;
}
.modal.active {
    visibility: visible;
    opacity: 1 !important;
}
.modal.active .m-container {
    transform: none;
    opacity: 1;
}
.m-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 679px;
    margin: auto auto;
    position: relative;
    opacity: 0;
    border-radius: 5px;
    transform: translateY(50px);
    transition: 1s cubic-bezier(0.215, 0.61, 0.355, 1);
    overflow: auto;
}
.modal.modal-docs .m-container {
    max-width: 986px;
}
.m-container ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.m-container ::-webkit-scrollbar-track {
    background: #f0ede6;
}
.m-container ::-webkit-scrollbar-thumb {
    background: #D1D1D1;
}
.m-container ::-webkit-scrollbar-thumb:hover {
    background: #a3a3a3;
}
.m-close {
    position: absolute;
    right: 30px;
    top: 30px;
    width: 35px;
    height: 35px;
    display: inline-block;
    cursor: pointer;
    border-radius: 8px;
    border: solid 1.5px var(--black);
    background-color: #fff;
    z-index: 3;
    transition: 0.3s;
}
.m-close:hover {
    border-color: #C4A679;
    background-color: var(--primary_1);
}
.m-close:hover:before,
.m-close:hover::after{
    background-color: #fff;
}
.m-close:before {
    content: "";
    position: absolute;
    width: 15px;
    height: 2px;
    border-radius: 2px;
    background-color: var(--black);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    transform: rotate(45deg);
    transition: 0.3s;
}
.m-close::after {
    content: "";
    position: absolute;
    width: 15px;
    height: 2px;
    border-radius: 2px;
    background-color: var(--black);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    transform: rotate(135deg);
    transition: 0.3s;
}
@media (max-width: 767px) {
    .modal-title{
        padding-right: 50px;
        font-size: 24px;
    }
    .modal .m-content {
        padding: 24px 24px;
    }
    .m-close {
        top: 20px;
        right: 17px;
    }
    .modal-form__submit-wrap{
        flex-wrap: wrap;
        gap: 20px;
    }
}

.intro-bottom__rating {
    gap: 0 10px;
}

.rating {
    color: #C4A679;
}

.icon-caret:before {
    content: "";
    margin: auto;
    width: 6px;
    height: 6px;
    border: solid 1px var(--black_60);
    transform: rotate(45deg);
    border-top: none;
    border-left: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.header-nav__item .icon-caret {
    margin-left: 3px;
    width: 9px;
    height: 9px;
    display: inline-block;
    position: relative;
    top: -2px;
    
}

.header-nav__item.show .header-nav__item-link .icon-caret, .header .nav__item:hover .header-nav__item-link .icon-caret {
    transform: rotate(180deg);
    top: 2px;
}

.header .nav__item:hover .header-nav__item-link .icon-caret:before,
.header-nav__item.show .header-nav__item-link .icon-caret:before {
    border-color: var(--black);
}

*[data-name="agree"],
.agree_other,
.agree,
.wpcf7-spinner,
.ajax-loader {
	display:none;
}

body .wpcf7-mail-sent-ok, 
body .ajax-loader, 
body .wpcf7-validation-errors {
	font-size: 12px;
}

body .wpcf7-response-output,
body .wpcf7-not-valid-tip,
body .wpcf7 form.invalid .wpcf7-response-output, 
body .wpcf7 form.unaccepted .wpcf7-response-output {
	display: none;
}

body .wpcf7-mail-sent-ok {
	border: none;
	color: #398f14;
	margin: 0;
	padding: 0;
	margin-top: 15px;
}

body .wpcf7-validation-errors, 
body .wpcf7-acceptance-missing {
	border: none;
	color: #ff0000;
	padding: 0;
	margin: 0;
	margin-top: 15px;
}

body .modal-form .form-group input.wpcf7-not-valid {
	border-bottom: 1px solid #FF1506 ;
}

.modal-form.hide {
    display: none;
}

.modal-form.show {
    display: flex;
}

.serv_adress .serviceIntro-bottom__text-padding {
    padding-left: 86px;
}

@media (max-width: 991px) {
    .serv_adress .serviceIntro-bottom__text-padding {
        padding-left: 0;
    }
}

.sc-page {
    padding: 40px 0;
}

.sc-page ul,
.sc-page ol {
    padding-left: 17px;
}

#breadcrumbs {
    margin-bottom: 20px;
}

.intro-video img {
    margin: auto;
    bottom: 0;
    height: 100%;
    top: 20%;
    position: relative;
}

.footer h3 {
    font-weight: 500;
    font-size: 24px;
    line-height: 35px;
    letter-spacing: 0.01em;
    color: var(--black);
    margin-bottom: 30px;
}
.footer .footer__wrap {
    width: 100%;
    padding: 48px 48px 20px 48px;
    border-radius: 30px;
}
.footer .footer__top {
    display: flex;
    flex-wrap: wrap;
}
.footer .footer__col-1 {
    width: 50%;
    padding-right: 120px;
}
.footer .footer__col-2 {
    width: 50%;
}
.footer .address__wrap {
    margin-top: 24px;
}
.footer .address__wrap p {
    font-weight: 500;
    margin-bottom: 10px;
}
.footer .address__wrap .worktime {
    color: var(--black_60);
}
.footer .footer__nav-list-wrap {
    display: flex;
    max-width: 520px;
    width: 100%;
    margin-right: auto;
    justify-content: space-between;
}
.footer .footer__nav-list {
    padding-left: 28px;
}
.footer .footer__nav-list .list__title {
    display: inline-block;
    width: 100%;
    font-weight: 500;
    font-size: 20px;
    line-height: 145.71%;
    color: var(--black);
    min-height: 23px;
    margin-bottom: 7px;
}
.footer .footer__nav-list li {
    margin-bottom: 10px;
}
.footer .footer__bottom {
    padding-top: 30px;
}
.footer .footer__bottom p {
    margin-bottom: 0;
    color: var(--black_20);
}
.footer .footer__bottom p a {
    color: var(--black_20);
}
.footer .footer__bottom p a:hover {
    color: var(--black);
}

@media (max-width: 1199px) {
    .footer {
        padding-bottom: 100px;
    }
    .footer h3 {
        padding-right: 50px;
    }
    .footer .footer__wrap {
        padding: 35px 32px 20px 32px;
    }
    .footer .footer__col-1 {
        padding-right: 0;
        width: 100%;
        position: relative;
    }
    .footer .footer__col-2 {
        width: 100%;
        padding-right: 60px;
    }
    .footer .footer__nav-list {
        padding-left: 0;
        padding-right: 28px;
    }
    .footer .footer__bottom .order-3 {
        order: 2;
    }
    .footer .footer__bottom .order-2 {
        order: 3;
    }
}
@media (min-width: 768px) and (max-width: 1199px) {
    .footer .social--item {
        position: absolute;
        top: 100%;
        flex-direction: column;
        right: 0;
    }
    .footer .social--item a {
        margin: 4px 0 !important;
    }
}
@media (max-width: 767px) {
    .footer{
        padding-bottom: 100px!important;
    }
    .footer h3 {
        padding-right: 0;
    }
    .footer .footer__wrap {
        border-radius: 20px;
        padding: 35px 0;
    }
    .footer .social--item {
        margin-bottom: 30px;
    }
    .footer .address__wrap {
        margin-top: 5px;
    }
    .footer .footer__col-2 {
        padding-right: 0;
    }
    .footer .footer__nav-list-wrap {
        flex-wrap: wrap;
    }
    .footer .footer__nav-list {
        width: 100%;
        margin-bottom: 20px;
        padding-right: 15px;
    }
    .footer .footer__nav-list.services__1 {
        width: 65%;
    }
    .footer .footer__nav-list.services__2 {
        width: 35%;
        padding-right: 0;
    }
    .footer .footer__bottom {
        padding-top: 20px;
    }
    .footer .header-nav__item:after {
        display: none;
    }
    .footer .header-nav__item {
        border-bottom: none;
    }
}
@media (max-width: 576px) {
    .footer h3 {
        font-size: 19px;
        line-height: 28px;
        margin-bottom: 20px;
    }
    .footer .footer__nav-list li {
        margin-bottom: 4px;
    }
    .footer .footer .social--item {
        margin-bottom: 22px;
    }
    .footer .address__wrap {
        font-size: 14px;
        line-height: 18px;
    }
    .footer .footer__bottom {
        font-size: 14px;
        line-height: 18px;
    }
}
.social--item {
    display: flex;
    flex-wrap: wrap;
}
.social--item.vertical {
    flex-direction: column;
}
.social--item.vertical a {
    margin-bottom: 8px;
}
.social--item.horizontal a {
    margin: 0 4px;
}
.social--item.horizontal a:first-of-type {
    margin-left: 0;
}
.social--item.horizontal a:last-of-type {
    margin-right: 0;
}
.social--item a {
    width: 44px;
    height: 44px;
    border: solid 1.5px rgba(0, 0, 0, 0.1);
    border-radius: 100%;
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
}
.social--item a:hover {
    border-color: var(--primary_1);
}
.icon{
    vertical-align: middle;
}

.bar__bottom-mobile {
    z-index: 998;
    width: 100%;
    padding: 12px 10px;
    background: #fff;
    position: fixed;
    height: 73px;
    border-top: solid 1px rgba(0, 0, 0, 0.1);
    bottom: 0;
    left: 0;
    font-size: 12px;
    line-height: normal;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.bar__bottom-mobile a.header-nav__item-link {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-left: 2px;
    padding-right: 2px;
}
.bar__bottom-mobile a.header-nav__item-link .icon {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-bottom: 5px;
    font-size: 16px;
}
.bar__bottom-mobile .active a.header-nav__item-link {
    color: var(--primary_1);
}
.bar__bottom-mobile .bar__bottom-mobile-wrap {
    border: solid 1.5px rgba(0, 0, 0, 0.1);
    border-radius: 41px;
    background-color: #f0ede6;
    width: 100%;
    display: flex;
    padding: 4px 12px;
    align-items: center;
    text-align: center;
    align-content: center;
    justify-content: space-around;
}
.bar__bottom-mobile .header-nav__item-link {
    padding: 0;
}
.bar__bottom-mobile .header-nav__item:after {
        display: none;
    }
.bar__bottom-mobile .header-nav__item {
        border-bottom: none;
    }