@import url('./Effra.css');
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@100;300;400;500;600;700;800;900&family=Rubik:wght@300;400;500;600;700;800;900&display=swap');

@font-face {
    font-family: 'Gogol';
    src: url(../fonts/ofont.ru_Gogol.ttf);
    font-display: swap;
}

:root {
    --main-font: 'Effra', sans-serif;
    --main-color: #1c1c1c;
    --text-default: #333;
    --main-bg: #c07a50;
    --alter-bg: #93949b;
    --alter-font: 'Gogol';
    --border: #bf7a50;
    --fz-title: 32px;
    --fz-big-title: 48px;
    --fz-default: 16px;
}

body {
    font-family: var(--main-font);
    color: var(--main-color);
}

.js-disable-scroll {
    height: 100%;
    overflow-y: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;

}

span.bold {
    font-weight: bold;
}

.arrow-up {
    width: 48px;
    height: 48px;
    position: fixed;
    bottom: 59px;
    right: calc(50% - 640px);
    cursor: pointer;
    display: none;
    z-index: 20;
}

.text-link {
    color: var(--border);
    text-decoration: underline;
    cursor: pointer;
}

.text-link:hover {
    text-decoration: none;
}

.colored {
    color: var(--border);
}

.border {
    border: solid 4px var(--border);
    position: relative;
    padding-left: 38px !important;
    padding-right: 38px !important;
}

.border::before, .border::after {
    content: '';
    width: calc(100% - 84px);
    height: 6px;
    position: absolute;
    left: 42px;
    background-color: #fff;
}

.border::before {
    top: -5px;
}

.border::after {
    bottom: -4px;
}

.border-other::before, .border-other::after {
    width: 6px;
    height: calc(100% - 49px);
    top: 24px;
    bottom: unset;
}

.border-other::before {
    left: -4px;
}

.border-other::after {
    left: unset;
    right: -4px;
}

.header {
    padding-top: 64px;
}

.burger-hr {
    width: 100px;
    height: 1px;
    background-color: #93949b;
    margin-bottom: 32px;
    margin-top: auto;
    display: none;
}

.burger-contacts {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 8px;

}

section {
    padding: 0 42px;
}

.section-title {
    font-size: var(--fz-big-title);
    font-weight: 900;
    color: var(--main-color);
    margin-bottom: 36px;
    padding: 0 42px;
}

body.lock {
    overflow: hidden;
}

.head {
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    position: relative;
}

.burger {
    width: 20px;
    height: 10px;
    border-top: 1px solid var(--text-default);
    border-bottom: 1px solid var(--text-default);
    position: absolute;
    top: 18px;
    right: 18px;
    display: none;
}

.burger.open {
    border: none;
    width: 20px;
    height: 21px;
    background-image: url('../images/close.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.head::after {
    content: '';
    height: 1px;
    width: 100px;
    background-color: var(--alter-bg);
    position: absolute;
    left: calc(50% - 50px);
    bottom: -15px;
}

.head h1 {
    font-size: var(--fz-title);
    font-weight: 900;
}

.head__subtitle {
    font-family: var(--alter-font);
    font-size: 64px;;
    color: var(--main-bg);
    margin-top: -20px;
    margin-left: 3px;
}

.nav {
    display: flex;
    justify-content: center;
    margin-top: 42px;
}

.menu {
    display: flex;
    align-items: center;
    gap: 64px;
    position: relative;
}

.menu::before {
    content: '';
    height: 100vh;
    width: 16px;
    background-color: var(--border);
    position: absolute;
    top: -80px;
    left: 11px;
    display: none;
}

.menu__link {
    color: var(--alter-bg);
    transition: color .2s ease-in-out;
}

.menu__link_active {
    color: var(--text-default);
}

.menu__link:hover {
    color: var(--text-default);
}

.section {
    margin-top: 160px;
}

.studio {
    margin-top: 73px;
    overflow: hidden;
}

.studio-wrapper {
    position: relative;
}

.studio-slider {
    display: flex;
    gap: 42px;
    position: relative;
}

.studio-slider .owl-dots {
    display: none;
}

.studio-slider .owl-nav button {
    height: 100%;
    width: 42px;
    position: absolute;
    top: 0;
    background-color: #d0d2d7ab !important;
    z-index: 2;
    background-image: url('../images/slider-nav.svg') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 42px !important;
}

.studio-slider .owl-nav button span {
    display: none;
}

.studio-slider .owl-prev {
    left: -54px;
}

.studio-slider .owl-next {
    right: -90px;
    transform: rotate(180deg);
}

.studio__block {
    width: 420px;
    height: 420px;
    position: absolute;
    top: 0;
    background-color: white;
    padding: 32px 0;
    z-index: 1;
}

.studio .owl-carousel .owl-stage-outer {
    overflow: visible;
}

.studio__item {
    width: 420px;
    height: 418px;
    margin-top: 1px;
    flex-shrink: 0;
}

.studio__item_holder {
    display: none;
}

.studio__text {
    line-height: 1.5;
    color: var(--main-color);
}

.studio__block h2 {
    padding: 0;
}


.services__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 20px;
    align-items: flex-start;
    padding: 45px 0;
}

.services__list .list__title {
    font-size: var(--fz-title);
    font-weight: 500;
    color: var(--alter-bg);
    margin-bottom: 22px;
}

.services__list .services__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 15px;
    cursor: pointer;
}

.services__item .data-text, .services__item .data-images {
    display: none;
}

.services__list .services__item:last-child {
    margin-bottom: 0;
}

.services__item .services__link {
    font-size: 24px;
    color: var(--main-color);
    position: relative;
}

.services__item:hover .services__link {
    color: var(--main-bg);
}

.services__link::after {
    content: '';
    width: 24px;
    height: 24px;
    position: absolute;
    top: 1px;
    right: -32px;
    background-image: url('../images/menu-arrow.svg');
    opacity: 0;
}

.services__item:hover .services__link::after {
    opacity: 1;
}

.services__item .services__desc {
    font-size: 14px;
    line-height: 1.71;
    color: var(--main-color);
    opacity: 0;
}

.services__item:hover .services__desc {
    opacity: 1;
}

.services-modal {
    padding: 72px 72px 41px 72px;
    width: 100%;
    max-width: 720px;
}

.modal__title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 32px;
    max-width: 519px;
    line-height: normal;
}

.box-modal_close {
    width: 82px;
    height: 82px;
    background-image: url('../images//close.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: opacity .2s ease-in-out;
}

.box-modal_close:hover {
    opacity: .6;
}

.modal-back {
    color: #bf7a50;
    padding-left: 30px;
    position: relative;
    margin-top: 73px;
    cursor: pointer;
    transition: opacity .2s ease-in-out;
}

.modal-back::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    top: -4px;
    left: 0;
    background-image: url('../images/menu-arrow.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px;
    transform: rotate(180deg);
}

.modal-back:hover {
    opacity: .6;
}

.modal__images {
    display: flex;
    align-content: center;
    gap: 28px;
    margin-top: 32px;
}

.modal__image {
    width: 274px;
    height: 274px;
}

.modal__image img {
    width: 100%;
    height: 100%;
}

.services-modal .modal__text {
    font-size: 16px;
    line-height: 1.5;
}

.sides {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
}

.side__list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.side__list .side__item {
    max-width: 549px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 32px;
}

.side__list .side__item:last-child {
    margin-bottom: 0;
}

.side__item .side__title {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.33;
    color: var(--text-default);
    margin-bottom: 8px;
}

.side__item .side__subtitle {
    font-size: var(--fz-default);
    line-height: 1.5;
    color: var(--main-color);
}

.whois {
    width: 100%;
    max-width: 625px;
    display: flex;
    align-items: flex-start;
    gap: 32px;
    padding: 37px 0;
}

.whois__image {
    width: 260px;
    height: 395px;
    flex-shrink: 0;
}

.whois__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.whois__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.whois__title {
    font-size: var(--fz-title);
    font-weight: 500;
}

.whois__subtitle {
    color: var(--alter-bg);
    margin-top: 10px;
    margin-bottom: 12px;
}

.whois__text {
    font-size: var(--fz-default);
    line-height: 1.5;
    color: var(--main-color);
}

.whois__contact {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.whois__contact .contact__title {
    font-size: var(--fz-default);
    color: var(--alter-bg);
    margin-bottom: 4px;
}

.whois__contact .contact__value {
    font-size: var(--fz-default);
    color: var(--main-color);
    transition: color .2s ease-in-out;
}

.whois__contact .contact__value:hover {
    color: var(--border);
    text-decoration: underline;
}

.review__slider {
    padding: 0 82px;
}

.review__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 86px !important;
}

.review__text {
    line-height: 1.5;
    color: var(--main-color);
}

.review__info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 12px;
}

.review__info .info__item {
    position: relative;
    color: var(--alter-bg);
}

.review__info .info__item::after {
    content: '';
    width: 4px;
    height: 4px;
    background-color: var(--main-bg);
    position: absolute;
    top: 6px;
    right: -13px;
}

.info__item:last-child::after {
    display: none;
}

.review__desc {
    text-align: center;
    margin-top: 36px;
    position: relative;
}

.review__desc::before {
    content: '';
    width: 100px;
    height: 1px;
    background-color: var(--alter-bg);
    position: absolute;
    top: -23px;
    left: calc(50% - 50px);
}

.review .owl-dots {
    display: none;
}

.review .owl-nav button {
    position: absolute;
    top: 0;
    height: 100%;
    width: 42px;
    background-color: #d0d2d71f !important;
    background-image: url('../images/slider-nav.svg') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.review .owl-nav .owl-prev {
    left: 0;
}

.review .owl-nav .owl-next {
    right: 0;
    transform: rotate(180deg);
}

.review .owl-nav button span {
    display: none;
}

.gallery {
    background-color: #fafafa;
    padding: 82px 0 120px;
}

.gallery-block {
    position: relative;
}

.corner {
    width: 120px;
    height: 120px;
    background-color: var(--border);
    position: absolute;
}

.corner.one {
    bottom: -40px;
    left: 0;
}

.corner.sec {
    top: -40px;
    right: 0;
}

.corner::after {
    content: '';
    width: 120px;
    height: 120px;
    background-color: #fafafa;
    position: absolute;
}

.corner.one::after {
    bottom: 4px;
    left: 4px;
}

.corner.sec::after {
    top: 4px;
    right: 4px;
}

.gallery__modal {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: #000000b3;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.gallery__modal-slider .gallery-images .gallery__photo {
    width: 500px;
    height: 400px;
    display: none;
}

.gallery__modal-slider .gallery-images .gallery__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery__modal-slider {
    position: relative;
}

.gallery__nav {
    display: none;
}

.gallery__nav div {
    height: 400px;
    width: 42px;
    position: absolute;
    top: calc(50% - 200px);
    background-color: #d0d2d7ab !important;
    z-index: 2;
    background-image: url('../images/slider-nav.svg') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 42px !important;
    cursor: pointer;
}

.nav__prev {
    left: unset;
    left: calc(50% - 310px);;
}

.nav__next {
    left: unset;
    right: calc(50% - 310px);
    transform: rotate(180deg);
}

.gallery__modal-slider .gallery-images .gallery__photo.active {
    display: flex;
}

.gallery__tiles {
    display: grid;
    grid-template-columns: repeat(3, 398px);
    grid-template-rows: 398px 398px;
    justify-content: center;
}

.gallery__item {
    position: relative;
    cursor: pointer;
}

.gallery__item .gallery-images {
    display: none;
}

.gallery__image {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.gallery__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background-color: #000000b3;
    opacity: 0;
    transition: opacity .2s ease-in-out;
}

.gallery__item:hover .gallery__content {
    opacity: 1;
}

.content__title {
    font-size: 20px;
    line-height: 1.2;
    color: #fff;
}

.content__info {
    font-size: 16px;
    color: #fff;
    opacity: .6;
    margin-top: 4px;
}

.content__count {
    width: 64px;
    height: 24px;
    background-color: var(--border);
    position: absolute;
    bottom: 12px;
    right: 12px;
    text-align: center;
    line-height: 1.3;
    padding: 2px 0;
    color: #fff;
}


.contacts__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 96px;
}

.contacts__info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 21px 0 33px;
    width: 100%;
    max-width: 440px;
}

.contacts__info .info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}

.contacts__info .info .info__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contacts__info .info .info__item .info__title {
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 8px;
    color: var(--text-default);
}

.contacts__info .info .info__item .info__value {
    font-size: 24px;
}

.social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social .social__item {
    width: 42px;
    height: 42px;
    background-color: var(--alter-bg);
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 1px;
    transition: border-radius .2s ease-in;
}

.social .social__item:hover {
    border-radius: 6px;
}

.vk {
    background-image: url('../images/vk.svg');
}

.tg {
    background-image: url('../images/tg.svg');
}

.wa {
    background-image: url('../images/wa.svg');
}

.youtube {
    background-image: url('../images/youtube.svg');
}

.time {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 18px;
}

.clock {
    width: 65px;
    height: 65px;
    background-image: url('../images/clock.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.time-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 8px;
}

.time-info .time__value {
    font-size: 20px;
    color: var(--fz-default);
    line-height: 1.2;
}

.time-info .time__desc {
    font-size: 12px;
    color: var(--alter-bg);
}

.contacts__form {
    width: 100%;
    position: relative;
}

.form__sides {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.form__sides:first-child {
    margin-bottom: 21px;
}

.form__sides:last-child {
    align-items: center;
}

.form__side {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.form__item {
    display: inline-block;
    width: 100%;
    height: 42px;
    border: 1px solid #e8e8e8;
    border-radius: 1px;
    margin-bottom: 27px;

}

.form__item .form-input {
    padding: 8px 6px;
    box-sizing: border-box;
}

.form__item .form-input:focus {
    outline-color: var(--main-bg) !important;
    outline: auto;
}

.form__item:last-child {
    margin-bottom: 0;
}

.input-title {
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    padding: 0;
    font-size: 16px;
}

.form__item.textarea {
    height: 135px;
}

textarea {
    resize: none;
}

.form__text {
    font-size: 10px;
    color: var(--alter-bg);
}

.form__btn {
    background-color: var(--border);
    width: 100%;
    height: 42px;
    color: #fff;
    border: none;
    border-radius: 1px;
    font-weight: 500;
    font-size: 16px;
}

.restoration {

    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 25px;
}

.restoration__windows {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
}

.restoration__windows .image {
    width: 300px;
    height: 400px;
}

.restoration__windows .image img {
    width: 100%;
    height: 100%;
}

.restoration__block {
    width: 100%;
    height: 387px;
    padding: 62px 0 87px;
    background-color: #d0d2d71f;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 121px;
}

.restoration__text {
    max-width: 640px;
    line-height: 1.5;
    margin: 31px 0;
}

.restoration hr {
    background-color: #93949b;
    width: 100px;
    height: 1px;
    margin: 0;
}

.restoration-call {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.restoration-call button {
    width: 183px;
    height: 42px;
    border-radius: 1px;
    cursor: pointer;
}

.call__text {
    margin-bottom: 12px;
}

.change-block {
    display: none;
}

.change-block.active {
    display: flex;
}

.calc {

}

.calc .section-title {
    display: flex;
}

.calc-select {
    margin-left: 8px;
    position: relative;
}

.calc-select::after {
    content: '';
    position: absolute;
    right: -34px;
    top: 13px;
    width: 32px;
    height: 32px;
    background: url('../images/triangle.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.calc-select .select__item {
    display: none;
    color: var(--border);
    border-bottom: 7px dashed;
    cursor: pointer;
}

.calc-select .select__item.active {
    display: block;
}

.calc__wrapper {
    padding-left: 42px;;
    align-items: center;
    justify-content: space-between;
    gap: 173px;
}

#commentArea {
    display: none;
}

.comment {
    cursor: pointer;
    border-bottom: 1px dashed var(--main-bg);
    padding-bottom: 2px;
}

.comment-area {
    width: 100%;
    height: 64px;
    box-sizing: border-box;
    margin-bottom: 8px;
    border: 1px solid #e8e8e8;
    border-radius: 1px;
    margin-bottom: 27px;
    padding: 8px 6px;
    outline-color: var(--main-bg) !important;
    outline: auto;
    font-size: 16px;
}

.inputs-wrapper {
    max-width: 339px;
}

.radio__wrapper {
    width: 100%;
    background-color: #eff1f4;
    border-radius: 2px;
    margin-top: 9px;
    /* max-width: 395px; */
}

.settings__form {
    max-width: 339px;
    margin-left: auto;
}

.settings-radio {
    margin-bottom: 42px;
}

.settings__text {
    margin-bottom: 12px;
}

.inputs-wrapper .input-title {
    margin-bottom: 8px;
    display: inline-block;
}

.inputs-wrapper .form__item {
    margin-bottom: 24px;
}

.form__offert {
    font-size: 9px;
    color: var(--alter-bg);
    margin-top: 8px;
    line-height: normal;
}

.calc__button {
    background-color: var(--main-bg);
    padding: 12px 0 11px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    text-align: center;
    border: none;
    width: 100%;
    cursor: pointer;
    opacity: 1;
    transition: opacity .2s ease-in-out;
}

.calc__button:hover {
    opacity: .6;
}

.comment {
    text-decoration: dashed;
    display: inline-block;
    color: var(--main-bg);
    margin-bottom: 28px;
}

.form__cost {
    font-size: 24px;
    margin-bottom: 24px;
}

.calc__label {
    display: inline-block;
    padding: 11px 0px 12px;
    text-align: center;
    color: var(--alter-bg);
    line-height: 2;
    width: 128px;
    cursor: pointer;
}

.matherial__input {
    display: none;
}

.matherial__input:checked + .calc__label {
    background-color: var(--alter-bg);
    color: #fff;
    border-radius: 2px;
}

.settings {
    max-width: 395px;
    width: 100%;
}

.settings-params {
    display: flex;
    align-items: center;
    gap: 9px;
}

.params__item {
    width: 100%;
}

.params__title, .params__value {
    margin-bottom: 8px;
}

.params__input input {
    width: 100%;
    margin: 0;
}

.color-panel {
    margin-top: 38px;
}

.color__wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.color__item {
    width: 42px;
    height: 42px;
    border-radius: 1px;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.color__item.white.color__item_selected {
    /* filter: invert(); */
}

.color__item_selected {
    background-image: url('../images/color_selected.svg');
}

.settings-result {
    width: 100%;
    padding-top: 39px;
    padding-bottom: 39px;
    position: relative;
}

.window {
    position: absolute;
    left: -94px;
    top: 29px;
}


input[type=range] {
    -webkit-appearance: none; /* Скрывает слайдер, чтобы можно было создать свой */
    width: 100%; /* Указание параметра ширины требуется для Firefox. */
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
}

input[type=range]:focus {
    outline: none; /* Убирает голубую границу у элемента. Хотя, возможно, и стоит создавать некоторое оформления для состояния фокуса в целях обеспечения доступности. */
}

input[type=range]::-ms-track {
    width: 100%;
    cursor: pointer;
    background: transparent; /* Скрывает слайдер, чтобы можно было добавить собственные стили. */
    border-color: transparent;
    color: transparent;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: 4px solid #afafaf;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    margin-top: -7px; /* Вам нужно указать значение для поля в Chrome, но в Firefox и IE это происходит автоматически */
}

/* Тоже самое для Firefox */
input[type=range]::-moz-range-thumb {
    -webkit-appearance: none;
    border: 4px solid #afafaf;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    margin-top: -7px; /* Вам нужно указать значение для поля в Chrome, но в Firefox и IE это происходит автоматически */
}

/* Тоже самое для IE */
input[type=range]::-ms-thumb {
    -webkit-appearance: none;
    border: 4px solid #afafaf;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    margin-top: -7px; /* Вам нужно указать значение для поля в Chrome, но в Firefox и IE это происходит автоматически */
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 2px;
    cursor: pointer;
    background: #e8e8e8;
    border-radius: 1.3px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: #e8e8e8;
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 2px;
    cursor: pointer;
    background: #e8e8e8;
    border-radius: 1.3px;
}

input[type=range]::-ms-track {
    width: 100%;
    height: 2px;
    cursor: pointer;
    background: transparent;
    border-color: transparent;

    color: transparent;
}

input[type=range]::-ms-fill-lower {
    background: #2a6495;
    border-radius: 1px;
}

input[type=range]:focus::-ms-fill-lower {
    background: #e8e8e8;
}

input[type=range]::-ms-fill-upper {
    background: #e8e8e8;
    border-radius: 1px;
}

input[type=range]:focus::-ms-fill-upper {
    background: #e8e8e8;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 2px;
    cursor: pointer;
    background: #e8e8e8;
    border-radius: 1.3px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: #e8e8e8;
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 2px;
    cursor: pointer;
    background: #e8e8e8;
    border-radius: 1.3px;
}

input[type=range]::-ms-track {
    width: 100%;
    height: 2px;
    cursor: pointer;
    background: transparent;
    border-color: transparent;

    color: transparent;
}

input[type=range]::-ms-fill-lower {
    background: #2a6495;
    border-radius: 1px;
}

input[type=range]:focus::-ms-fill-lower {
    background: #e8e8e8;
}

input[type=range]::-ms-fill-upper {
    background: #e8e8e8;
    border-radius: 1px;
}

input[type=range]:focus::-ms-fill-upper {
    background: #e8e8e8;
}

footer {
    margin-top: 82px;
    margin-bottom: 72px;
}

.footer-text {
    font-size: 12px;
    color: var(--text-default);
    text-align: center;
    position: relative;
}

.footer-text::before {
    content: '';
    width: 100px;
    height: 1px;
    background-color: var(--alter-bg);
    position: absolute;
    left: calc(50% - 50px);
    top: -15px;
}

.form__result.active {
    display: flex;
}

.form__result .form__result-error {
    display: none;
    align-self: center;
    color: #fff;
    font-size: xx-large;
}
.form__result.error svg {
    display: none;
}
.form__result.error .form__result-error {
    display: flex;
}
.form__result {
    display: none;
    position: absolute;
    top: -50px;
    right: -50px;
    bottom: -50px;
    left: -50px;
    -webkit-backdrop-filter: blur(11.7px);
    backdrop-filter: blur(11.7px);
    background-color: #ffffff77;
    display: none;
    gap: 24px;
    justify-content: center;
    z-index: 10;
    font-weight: bold;
}

#calc .form__result {
    left: -150px;
}

.form__result .form__result-icon {
    width: 64px;
    height: 64px;
    background-color: var(--main-bg);
    border-radius: 50%;
    align-self: center;
    display: flex;
    justify-content: center;
}

.form__result.error .form__result-text {
    color: red;
}
.form__result .form__result-text {
    align-self: center;
    line-height: 130%;
}


@media (max-width: 1450px) {
    .studio-wrapper {
        overflow: hidden;
    }
}

@media (max-width: 1280px) {
    .modal__title {
        font-size: 38px;
    }

    .arrow-up {
        right: 42px;
    }

    .box-modal_close {
        width: 32px;
        height: 32px;
    }

    .modal__images {
        justify-content: center;
    }

    .modal__image {
        width: 200px;
        height: 200px;
    }

    .modal-back {
        font-size: 14px;
    }

    .services-modal .modal__text {
        font-size: 14px;
    }

    .services__list .list__title {
        font-size: 24px;
    }

    .services__item .services__link {
        font-size: 16px;
    }

    .services__list .services__item {
        margin-bottom: 4px;
    }

    .border::after {
        bottom: -5px;
    }

    .change-block.active {
        flex-direction: column;
    }

    .border-other::after {
        right: -5px;
    }

    .border-other::before {
        left: -5px;
    }

    .window {
        left: 30px;
    }

    .calc__wrapper {
        gap: 58px;
    }

    .section-title {
        font-size: 38px;
    }

    .calc-select::after {
        top: 8px;
    }

    .sides {
        flex-direction: column;
    }

    .gallery {
        padding-left: 42px;
        padding-right: 42px;
    }

    .gallery__tiles {
        padding: 0 28px;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 298px 298px
    }

    .contacts__wrapper {
        gap: 26px;
    }

    .info__item .text-link {
        font-size: 16px;
    }

    .contacts__info .info .info__item .info__title {
        margin-bottom: 0;
    }
}

@media (max-width: 1024px) {
    .studio__block.border {
        z-index: unset;
    }
}

@media (max-width: 768px) {
    .services-modal {
        max-width: 100%;
        padding: 24px 12px;
    }

    .modal__title {
        font-size: 22px;
    }

    .modal__images {
        flex-direction: column;
        align-items: center;
    }

    .modal__image {
        width: 100%;
    }

    .services-modal .modal__text {
        font-size: 12px;
    }

    .studio__item, .studio__block {
        width: 296px;
        height: 296px;
    }

    .studio-slider {
        max-width: 296px;
    }

    .studio-slider .owl-nav {
        display: none;
    }

    .burger {
        display: block;
    }

    .studio__item_holder {
        display: block;
        opacity: 0;
    }

    .comment-area {
        margin-bottom: 0;
    }

    .restoration__block {
        margin-bottom: 0;
    }

    .restoration__windows .image {
        height: 200px;
    }

    .calc-select::after {
        top: 0;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .studio__block .section-title {
        margin-bottom: 8px;
    }

    .border {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .studio__block {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .studio__text {
        font-size: 12px;
    }

    .section {
        margin-top: 59px;
    }

    .services__wrapper.border::before, .services__wrapper.border::after {
        height: calc(100% - 80px);
        width: 6px;
        top: 40px;
    }

    .services {
        margin-top: 106px;
    }

    .services__wrapper.border::before {
        left: -4px;
    }

    .services__wrapper.border::after {
        right: -4px;
        left: unset;
    }

    .services__wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        grid-gap: 32px;
        padding-top: 60px;
        padding-bottom: 25px;
    }

    .services__list, .services__link {
        width: 100%;
    }

    .services__wrapper .list__title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .services__item .services__link {
        font-size: 16px;
    }

    .services__item {
        margin-bottom: 8px;
    }

    .services__desc {
        display: none;
    }

    .services__link::after {
        right: 0;
        top: -3px;
    }

    .services .section-title {
        padding-left: 16px;
        margin-bottom: -45px;
    }

    .nav {
        display: none;
        background-color: #fff;
        margin-top: 0;
    }

    .nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        width: 100%;
        height: calc(100vh - 58px);
        top: 60px;
        left: 0;
        z-index: 10;
        padding-top: 20px;
        padding-bottom: 42px;
    }

    .menu {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 32px;
    }

    .menu::before {
        display: unset;
    }

    .burger-hr {
        display: block;
    }

    .burger-contacts {
        display: flex;
    }

    .head h1 {
        font-size: 16px;
    }

    .head__subtitle {
        font-size: 26px;
        margin-top: -7px;
    }

    .header {
        padding-top: 11px;
    }

    .studio {
        margin-top: 33px;
    }

    .border-other::before, .border-other::after {
        top: 40px;
        width: 8px;
        height: calc(100% - 80px);
    }

    .border-other::before {
        left: -7px;
    }

    .border-other::after {
        right: -7px;
    }

    .calc {
        margin-top: 69px;
    }

    .calc .section-title {
        padding-left: 0;
    }

    .calc__wrapper {
        flex-direction: column;
        padding: 0;
        gap: 75px;
    }

    .settings {
        max-width: unset;
    }

    .radio__wrapper {
        display: flex;
        justify-content: center;
    }

    .settings-radio {
        margin-bottom: 24px;
    }

    .settings__form {
        margin: 0;
        margin-top: 300px;
    }

    .color__item {
        width: 32px;
        height: 32px;
    }

    .params__title, .params__value {
        font-size: 14px;
    }

    .params__title {
        margin-bottom: 10px;
    }

    .params__value {
        margin-bottom: 16px;
    }

    .calc__label {
        font-size: 14px;
    }

    .window {
        transform: scale(0.6);
        top: -60px;
        left: calc(50% - 148px);
    }

    .settings-result {
        padding-top: 0;
        padding-bottom: 36px;
    }

    .settings__text {
        font-size: 14px;
    }

    .settings__text {
        margin-bottom: 4px;
    }

    .form__cost {
        margin-bottom: 41px;
    }

    .settings__form .input-title {
        font-size: 14px;
    }

    .settings__form .inputs-wrapper {
        display: grid;
        grid-template-areas:
        "A C"
        "B D";
        grid-gap: 0 10px;
        margin-bottom: 16px;

    }

    .inputs-wrapper > :nth-child(1) {
        grid-area: A;
    }

    .inputs-wrapper > :nth-child(2) {
        grid-area: B;
    }

    .inputs-wrapper > :nth-child(3) {
        grid-area: C;
    }

    .inputs-wrapper > :nth-child(4) {
        grid-area: D;
    }

    .inputs-wrapper .form__item {
        margin-bottom: 0;
    }

    .comment {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .calc__button {
        padding: 10px 0 8px;
        font-size: 14px;
    }

    .form__offert {
        font-size: 10px;
    }

    .who {
        margin-top: 134px;

    }

    .who .sides {
        flex-direction: column;
        gap: 98px;
    }

    .who .section-title {
        margin-bottom: -48px;
        padding-left: 16px;
    }

    .whois {
        padding-top: 75px;
    }

    .whois__image {
        width: 260px;
        height: 309px;
        position: absolute;
        bottom: 30px;
        left: calc(50% - 130px);
        z-index: 1;
    }

    .whois__title {
        font-size: 16px;
        font-weight: bold;
    }

    .whois__title br {
        display: none;
    }

    .whois__subtitle {
        font-size: 14px;
        margin-bottom: 16px;
        margin-top: 4px;
    }

    .whois__text {
        font-size: 14px;
        margin-bottom: 16px;
        line-height: 1.43;
    }

    .whois__contact .contact__title, .whois__contact .contact__value {
        font-size: 14px;
    }

    .whois__contacts {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        margin-bottom: 340px;
    }

    .border {
        border: solid 2px var(--border);
    }

    .whois.border::before, .whois.border::after {
        height: calc(100% - 80px);
        width: 8px;
        top: 40px;
    }

    .whois.border::before {
        left: -7px;
    }

    .whois.border::after {
        right: -7px;
        left: unset;
    }

    .side__item .side__title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .side__item .side__subtitle {
        font-size: 14px;
        line-height: 1.14;
    }

    .side__list .side__item {
        margin-bottom: 24px;
    }

    .review {
        margin-top: 82px;
    }

    .review__text {
        font-size: 14px;
    }

    .review__slider {
        padding: 0;
    }

    .review__item {
        padding: 18px 16px !important;
    }

    .review__info .info__item {
        font-size: 14px;
    }

    .section {
        padding: 0 11px;
    }

    .review .section-title {
        padding-left: 0px;
        margin-bottom: 16px;
    }

    .review .owl-nav button {
        height: 42px;
        width: calc(50% - 2px);
        top: unset;
        bottom: -52px;
    }

    .review__desc {
        margin-top: 62px;
        font-size: 14px;
        line-height: 16px;
    }

    .review__desc::before {
        display: none;
    }

    .gallery {
        margin-top: 80px;
        padding-top: 39px;
        padding-bottom: 68px;
    }

    .gallery__tiles {
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .gallery__item {
        width: 100%;
        height: 160px;
    }

    .gallery__content {
        opacity: 1;
        padding: 17px 16px;
    }

    .content__title {
        font-size: 20px;
        margin-bottom: 4px;
    }

    .content__count {
        bottom: 8px;
        right: 8px;
    }

    .gallery .section-title {
        padding-left: 0;
    }

    .corner {
        display: none;
    }

    .contacts {
        margin-top: 60px;
    }

    .contacts .section-title {
        padding-left: 0;
    }

    .contacts__wrapper {
        flex-direction: column;
    }

    .contacts__info .info .info__item .info__title {
        font-size: 14px;
        margin-bottom: 0;
    }

    .contacts__info .info .info__item .info__value {
        font-size: 14px;
    }

    .contacts__info .info {
        gap: 24px;
    }

    .social {
        margin-top: 8px;
        gap: 4px;
    }

    .social .social__item {
        width: 36px;
        height: 36px;
    }

    .time-info .time__value {
        font-size: 14px;
    }

    .time-info {
        margin-top: 14px;
    }

    .contacts__wrapper {
        gap: 23px
    }

    .input-title {
        margin-bottom: 4px;
    }

    .form__sides {
        flex-direction: column;
    }

    .form__item.textarea {
        height: 82px;
    }

    .form__sides:first-child {
        margin-bottom: 8px;
    }

    footer {
        margin-top: 58px;
        margin-bottom: 24px;
    }
}