@font-face{font-family:'Gilroy';font-weight:800;font-style:normal;src:url(/zaboroff/fonts/gilroy-black.eot);src:url(/zaboroff/fonts/gilroy-black.eot#iefix) format("embedded-opentype"),url(/zaboroff/fonts/gilroy-black.woff2) format("woff2"),url(/zaboroff/fonts/gilroy-black.woff) format("woff"),url(/zaboroff/fonts/gilroy-black.ttf) format("truetype"),url(/zaboroff/fonts/gilroy-black.svg#gilroy-black) format("svg");font-display: swap;}@font-face{font-family:'Gilroy';font-weight:800;font-style:italic;src:url(/zaboroff/fonts/gilroy-blackitalic.eot);src:url(/zaboroff/fonts/gilroy-blackitalic.eot#iefix) format("embedded-opentype"),url(/zaboroff/fonts/gilroy-blackitalic.woff2) format("woff2"),url(/zaboroff/fonts/gilroy-blackitalic.woff) format("woff"),url(/zaboroff/fonts/gilroy-blackitalic.ttf) format("truetype"),url(/zaboroff/fonts/gilroy-blackitalic.svg#gilroy-blackitalic) format("svg");font-display: swap;}@font-face{font-family:'Gilroy';font-weight:700;font-style:normal;src:url(/zaboroff/fonts/gilroy-bold.eot);src:url(/zaboroff/fonts/gilroy-bold.eot#iefix) format("embedded-opentype"),url(/zaboroff/fonts/gilroy-bold.woff2) format("woff2"),url(/zaboroff/fonts/gilroy-bold.woff) format("woff"),url(/zaboroff/fonts/gilroy-bold.ttf) format("truetype"),url(/zaboroff/fonts/gilroy-bold.svg#gilroy-bold) format("svg");font-display: swap;}@font-face{font-family:'Gilroy';font-weight:700;font-style:italic;src:url(/zaboroff/fonts/gilroy-bolditalic.eot);src:url(/zaboroff/fonts/gilroy-bolditalic.eot#iefix) format("embedded-opentype"),url(/zaboroff/fonts/gilroy-bolditalic.woff2) format("woff2"),url(/zaboroff/fonts/gilroy-bolditalic.woff) format("woff"),url(/zaboroff/fonts/gilroy-bolditalic.ttf) format("truetype"),url(/zaboroff/fonts/gilroy-bolditalic.svg#gilroy-bolditalic) format("svg");font-display: swap;}@font-face{font-family:'Gilroy';font-weight:900;font-style:normal;src:url(/zaboroff/fonts/gilroy-heavy.eot);src:url(/zaboroff/fonts/gilroy-heavy.eot#iefix) format("embedded-opentype"),url(/zaboroff/fonts/gilroy-heavy.woff2) format("woff2"),url(/zaboroff/fonts/gilroy-heavy.woff) format("woff"),url(/zaboroff/fonts/gilroy-heavy.ttf) format("truetype"),url(/zaboroff/fonts/gilroy-heavy.svg#gilroy-heavy) format("svg");font-display: swap;}@font-face{font-family:'Gilroy';font-weight:900;font-style:italic;src:url(/zaboroff/fonts/gilroy-heavyitalic.eot);src:url(/zaboroff/fonts/gilroy-heavyitalic.eot#iefix) format("embedded-opentype"),url(/zaboroff/fonts/gilroy-heavyitalic.woff2) format("woff2"),url(/zaboroff/fonts/gilroy-heavyitalic.woff) format("woff"),url(/zaboroff/fonts/gilroy-heavyitalic.ttf) format("truetype"),url(/zaboroff/fonts/gilroy-heavyitalic.svg#gilroy-heavyitalic) format("svg");font-display: swap;}@font-face{font-family:'Gilroy';font-weight:500;font-style:normal;src:url(/zaboroff/fonts/gilroy-medium.eot);src:url(/zaboroff/fonts/gilroy-medium.eot#iefix) format("embedded-opentype"),url(/zaboroff/fonts/gilroy-medium.woff2) format("woff2"),url(/zaboroff/fonts/gilroy-medium.woff) format("woff"),url(/zaboroff/fonts/gilroy-medium.ttf) format("truetype"),url(/zaboroff/fonts/gilroy-medium.svg#gilroy-medium) format("svg");font-display: swap;}@font-face{font-family:'Gilroy';font-weight:500;font-style:italic;src:url(/zaboroff/fonts/gilroy-mediumitalic.eot);src:url(/zaboroff/fonts/gilroy-mediumitalic.eot#iefix) format("embedded-opentype"),url(/zaboroff/fonts/gilroy-mediumitalic.woff2) format("woff2"),url(/zaboroff/fonts/gilroy-mediumitalic.woff) format("woff"),url(/zaboroff/fonts/gilroy-mediumitalic.ttf) format("truetype"),url(/zaboroff/fonts/gilroy-mediumitalic.svg#gilroy-mediumitalic) format("svg");font-display: swap;}@font-face{font-family:'Gilroy';font-weight:400;font-style:normal;src:url(/zaboroff/fonts/gilroy-regular.eot);src:url(/zaboroff/fonts/gilroy-regular.eot#iefix) format("embedded-opentype"),url(/zaboroff/fonts/gilroy-regular.woff2) format("woff2"),url(/zaboroff/fonts/gilroy-regular.woff) format("woff"),url(/zaboroff/fonts/gilroy-regular.ttf) format("truetype"),url(/zaboroff/fonts/gilroy-regular.svg#gilroy-regular) format("svg");font-display: swap;}@font-face{font-family:'Gilroy';font-weight:400;font-style:italic;src:url(/zaboroff/fonts/gilroy-regularitalic.eot);src:url(/zaboroff/fonts/gilroy-regularitalic.eot#iefix) format("embedded-opentype"),url(/zaboroff/fonts/gilroy-regularitalic.woff2) format("woff2"),url(/zaboroff/fonts/gilroy-regularitalic.woff) format("woff"),url(/zaboroff/fonts/gilroy-regularitalic.ttf) format("truetype"),url(/zaboroff/fonts/gilroy-regularitalic.svg#gilroy-regularitalic) format("svg");font-display: swap;}@font-face{font-family:'Gilroy';font-weight:600;font-style:normal;src:url(/zaboroff/fonts/gilroy-semibold.eot);src:url(/zaboroff/fonts/gilroy-semibold.eot#iefix) format("embedded-opentype"),url(/zaboroff/fonts/gilroy-semibold.woff2) format("woff2"),url(/zaboroff/fonts/gilroy-semibold.woff) format("woff"),url(/zaboroff/fonts/gilroy-semibold.ttf) format("truetype"),url(/zaboroff/fonts/gilroy-semibold.svg#gilroy-semibold) format("svg");font-display: swap;}@font-face{font-family:'Gilroy';font-weight:600;font-style:italic;src:url(/zaboroff/fonts/gilroy-semibolditalic.eot);src:url(/zaboroff/fonts/gilroy-semibolditalic.eot#iefix) format("embedded-opentype"),url(/zaboroff/fonts/gilroy-semibolditalic.woff2) format("woff2"),url(/zaboroff/fonts/gilroy-semibolditalic.woff) format("woff"),url(/zaboroff/fonts/gilroy-semibolditalic.ttf) format("truetype"),url(/zaboroff/fonts/gilroy-semibolditalic.svg#gilroy-semibolditalic) format("svg");font-display: swap;}@font-face{font-family:'Gilroy';font-weight:100;font-style:normal;src:url(/zaboroff/fonts/gilroy-thin.eot);src:url(/zaboroff/fonts/gilroy-thin.eot#iefix) format("embedded-opentype"),url(/zaboroff/fonts/gilroy-thin.woff2) format("woff2"),url(/zaboroff/fonts/gilroy-thin.woff) format("woff"),url(/zaboroff/fonts/gilroy-thin.ttf) format("truetype"),url(/zaboroff/fonts/gilroy-thin.svg#gilroy-thin) format("svg");font-display: swap;}@font-face{font-family:'Gilroy';font-weight:100;font-style:italic;src:url(/zaboroff/fonts/gilroy-thinitalic.eot);src:url(/zaboroff/fonts/gilroy-thinitalic.eot#iefix) format("embedded-opentype"),url(/zaboroff/fonts/gilroy-thinitalic.woff2) format("woff2"),url(/zaboroff/fonts/gilroy-thinitalic.woff) format("woff"),url(/zaboroff/fonts/gilroy-thinitalic.ttf) format("truetype"),url(/zaboroff/fonts/gilroy-thinitalic.svg#gilroy-thinitalic) format("svg");font-display: swap;}@font-face{font-family:'Gilroy';font-weight:200;font-style:normal;src:url(/zaboroff/fonts/gilroy-ultralight.eot);src:url(/zaboroff/fonts/gilroy-ultralight.eot#iefix) format("embedded-opentype"),url(/zaboroff/fonts/gilroy-ultralight.woff2) format("woff2"),url(/zaboroff/fonts/gilroy-ultralight.woff) format("woff"),url(/zaboroff/fonts/gilroy-ultralight.ttf) format("truetype"),url(/zaboroff/fonts/gilroy-ultralight.svg#gilroy-ultralight) format("svg");font-display: swap;}@font-face{font-family:'Gilroy';font-weight:200;font-style:italic;src:url(/zaboroff/fonts/gilroy-ultralightitalic.eot);src:url(/zaboroff/fonts/gilroy-ultralightitalic.eot#iefix) format("embedded-opentype"),url(/zaboroff/fonts/gilroy-ultralightitalic.woff2) format("woff2"),url(/zaboroff/fonts/gilroy-ultralightitalic.woff) format("woff"),url(/zaboroff/fonts/gilroy-ultralightitalic.ttf) format("truetype"),url(/zaboroff/fonts/gilroy-ultralightitalic.svg#gilroy-ultralightitalic) format("svg")}

:root {
    --primary-font: 'Gilroy';
    --primary-color: #1f83ad;
    --secondary-color: #f8c81d;
    --primary-text-color: #282828;
    --secondary-text-color: #0d172a;
    --green-color: #22840c;
    --black-color: #24242a;
    --border-color: #e7e7e9;
    --bg-block: #f5f5f5;
    --bg-gray: #e9e9e9;
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1200px;
    }
}
.container-fluid {
    max-width: 1320px;
}
.container {
    padding: 0 10px;
}
* {
    margin: 0;
    padding: 0;
    border: none;
}

header,
section,
footer,
aside,
nav,
article,
div {
    display: block;
    box-sizing: border-box;
}

body,
html {
    width: 100%;
    height: auto;
    font: normal 18px/28px Gilroy, sans-serif;
    font: normal 14px/20px Gilroy, sans-serif;
    color: #282828;
}

body {
    position: relative;
}

header {
    position: sticky;
    top: -53px;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
}

h1 {
    font-size: 64px;
    line-height: 78px;
    font-weight: 700;
}

h2,
.h2 {
    font-size: 40px;
    line-height: 49px;
    font-weight: 700;
    margin: 20px 0 10px 0;
}

h2 span {
    color: var(--primary-color);
}

h3,
.h3 {
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    margin: 16px 0 8px 0;
}

h4,
.h4,
.likeh4 {
    display: block;
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
}

p {margin: 0 0 15px 0;}
a {color: var(--primary-color);}
a:hover {color: var(--secondary-color)}
ul,
ol {margin: 5px 0 5px 30px;}
.line-through {
    text-decoration: line-through;
    color: #00000080;
}

.bold {font-weight: 600;}
.align-center {text-align: center;}
.blue {color: var(--primary-color);}

.font14 {
    font-size: 14px;
    line-height: 18px;
}

.font16 {
    font-size: 16px;
    line-height: 20px;
}

.fontw500 {font-weight: 500;}
.fontw600 {font-weight: 600;}
.fontw700 {font-weight: 700;}
em {font-weight: 500;}
strong em {font-weight: 700;}
img {max-width: 100%;display: block;}
.flex-gap-20 {gap: 20px;}
.flex-gap-15 {gap: 15px;}
.flex-gap-10 {gap: 10px;}
.box-shadow {box-shadow: 0px 4px 34px rgba(0, 0, 0, 0.25);};

.relative {
    position: relative;
    display: block;
}

.btn {
    display: inline-block;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    padding: 13px 70px;
    background: var(--secondary-color);
    border-radius: 4px;
    color: var(--secondary-text-color);
    transition: all .5s;
    cursor: pointer;
    @media (width <= 992px) {
        .btn {padding: 13px 20px;}
    }
}

.btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-white {
    background: #fff;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 10px;
}

.btn-white svg {
    width: 20px;
    height: 28px;
    fill: var(--secondary-color);
}

.btn-blue {
    text-decoration: none;
    color: #fff;
    font-size: 13px;
    line-height: 40px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    width: 200px;
    justify-content: center;
    padding: 0px 12px;
    background: var(--primary-color);
    border-radius: 4px;
    transition: all .25s;
    &:hover {
        color:var(--primary-text-color);
        background: var(--secondary-color);
    }
}


.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #cccccc;
    color: #666666;
    border-color: #bbbbbb;
}

.text-title {
    font-size: 18px;
    line-height: 21px;
    font-weight: 700;
}

.text-italic {
    font-size: 13px;
    line-height: 15px;
    font-weight: 300;
    font-style: italic;
}

.image-holder {
    overflow: hidden;
}

.image-holder img {
    width: 100%;
    height: 100%;
    display: block;
}

[data-fancybox] {
    cursor: pointer;
}

@media (max-width: 768px) {
    .main-block h1,
    h1 {
        font-size: 30px;
        line-height: 36px;
    }
    h1.mobile-h1 {
        font-size: 25px;
        line-height: 30px;
        margin-top: 20px;
        text-transform: uppercase;
    }
    h2, .h2 {
        font-size: 24px;
        line-height: 29px;
    }
    h3 {
        font-size: 20px;
        line-height: 24px;
    }
    h3 {
        font-size: 18px;
        line-height: 21px;
    }
    .big-img img {width: 100%;}
}

a[href^="tel:"] {
    text-decoration: none;
    color: inherit;
}


/* Header
    ----------------------------*/
header .container,
header .container-fluid {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 86px;
}

.logo {
    display: block;
    width: 248px;
}

.logo img {
    display: block;
    width: 100%;
    height: 100%;
}

.choose-city {
    font-size: 16px;
    line-height: 18px;
    text-align: center;
}

.choose-title {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 6px;
    min-width: 110px;
}

.choose-title svg {
    width: 12px;
    height: 16px;
    fill: #ccc;
}

.choose-city .city {
    display: none;
    color: var(--primary-color);
    cursor: pointer;
    border-bottom: 1px dashed var(--primary-color);
}

.choose-city .city.active {
    display: inline-block;
}

.choose-city .city:hover {
    border-bottom-color: transparent;
}

.choose-city-mobile {
    display: none;
}

.search-holder {
    width: 25%;
    height: auto;
    position: relative;
}

.search-holder input[type="text"] {
    width: calc(100% - 40px);
    font-size: 16px;
    line-height: 18px;
    border: 1px solid #aaa;
    border-radius: 10px;
    padding: 18px 20px;
}

.phone-top {
    min-width: 175px;
}

.phone-top svg {
    width: 12px;
    height: 12px;
    display: none;
}

.phone-top a[href^="tel:"] {
    font-size: 18px;
    font-weight: 500;
}

.phone-top .work-time {
    font-size: 14px;
    line-height: 16px;
}

.social-groups {
    width: 126px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.social-groups > a,
.social-groups > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    cursor: pointer;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    transition: all .3s;
}

footer .social-groups > a {
    border-color: #fff;
    opacity: 0.8;
}

.social-groups svg.icon {
    width: 18px;
    height: 18px;
    fill: var(--primary-color);
    transition: all .3s;
}

footer .social-groups svg.icon {
    fill: #fff;
}

.social-groups > a:hover {
    opacity: 0.6;
}

footer .social-groups > a:hover {
    opacity: 1;
}

header .btn-holder {
    height: 55px;
    margin: 0;
}

.callback-btn {
    width: 235px;
    height: 55px;
    line-height: 55px;
    text-align: center;
    color: #fff;
    background: var(--primary-color);
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
}

.callback-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #fff;
}

@media (max-width: 767px) {

    header .container,
    header .container-fluid {flex-wrap: wrap;padding: 0 15px;height: auto;}
    .logo {width: 80%;margin-top: 15px;}
    .phone-top {width: 100%;}
    .phone-top a[href^="tel:"] {text-decoration: underline;color: var(--primary-color);}
    header .btn-holder {
        width: 100%;
        height: 45px;
        display: flex;
        gap: 15px;
        margin-bottom: 15px;
    }
    header .btn {
        width: 47%;
        min-width: 47%;
        line-height: 45px;
        height: 45px;
        padding: 0 20px;
        box-sizing: inherit;
        white-space: nowrap;
    }
    header .callback-btn {font-size: 14px;padding: 0 14px;}
}

.header.small h1 {
    padding: 20px 0;
}

/* Меню
    ------------------------*/
.top-menu-holder {
    background: #282828;
    position: sticky;
    top: 0;
    z-index: 9999;
    margin-top: -1px;
}

.top-menu-holder .container,
.top-menu-holder .container-fluid {
    position: relative;
    display: flex;
    height: 77px;
    align-items: center;
    justify-content: space-between;
}

.top-menu {
    width: calc(100% - 290px);
    height: auto;
    margin: 0;
    list-style: none;
    padding: 5px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-menu li {
    position: relative;
    color: #fff;
    margin: 0;
    font-size: 16px;
    line-height: 28px;
}

.top-menu li.menu-logo {
    display: none;
    width: 0px;
    overflow: hidden;
    height: 23px;
}

.top-menu-holder.fixed li.menu-logo {
    display: block;
    width: 150px;
    height: 23px;
    animation: fadeInFromNone .25s ease-in-out;
}

@keyframes fadeInFromNone {
    0% {
        display: none;
    }
    1% {
        display: block;
        width: 15px;
    }
    100% {
        display: block;
        width: 150px;
    }
}

.top-menu>li.has-sub-menu span {
    display: inline-block;
    width: 86px;
    display: flex;
}

.top-menu li a {
    color: #fff;
    text-decoration: none;
    transition: all .5s;
    font-size: inherit;
}

.top-menu>li>a:hover {
    color: var(--secondary-color);
}

.top-menu>li.has-sub-menu span:after {
    content: "";
    margin-left: 10px;
    display: block;
    width: 7px;
    height: 7px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(135deg);
    margin-top: 10%;
}

.sub-top-menu {
    display: none;
    list-style: none;
    width: 320px;
    padding: 25px 0 15px;
    background: #282828;
    position: absolute;
    z-index: 101;
    margin: 0;
    top: 25px;
    border-bottom: 3px solid #002366;
    box-shadow: 0 3px 5px 0 rgb(0 0 0 / 20%);
}

.sub-top-menu li a {
    display: block;
    padding: 5px 20px;
    font-size: 16px;
    transition: all .25s
}

.sub-top-menu li a:hover {
    color: var(--secondary-color);
}

.top-menu__phone {
    width: 0px;
    height: 20px;
    max-height: 20px;
    overflow: hidden;
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    transition: all .25s;
}

.top-menu-holder.fixed .top-menu__phone {
    width: 180px;
}

.calc-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    padding: 0 15px;
    width: 235px;
    line-height: 55px;
    max-height: 57px;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid #fff;
    border-radius: 10px;
    box-sizing: border-box;
}

.calc-link svg {
    width: 22px;
    height: 28px;
    fill: var(--secondary-color);
}

.calc-link:hover {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.top-menu-holder.fixed .calc-link {
    width: 0px;
    overflow: hidden;
    padding: 0;
    border: none;
}

.call-mobile-menu,
.close-mobile-menu {
    display: none;
}

.top-menu .tablet-show {display: none;}

@media (max-width: 1199px) {
    .top-menu {justify-content: flex-start;gap: 20px;}
    .top-menu .tablet-hide {display: none;}
    .top-menu .tablet-show {display: block;}
}

@media (max-width: 920px) {
    .callback-btn {width: 200px;}
}

@media (max-width: 767px) {
    .top-menu-holder .container-fluid {
        padding: 0 15px;
    }
    .call-mobile-menu {
        display: block;
        width: 30px;
        height: 24px;
    }
    .call-mobile-menu svg {
        width: 100%;
        height: 100%;
    }
    .close-mobile-menu {
        display: block;
        position: absolute;
        right: 10px;
        top: 10px;
        width: 40px;
        height: 40px;
        z-index: 99999;
    }
    .close-mobile-menu svg {
        width: 100%;
        height: 100%;
        fill: #f0f0f0;
    }
    .mobile-menu {
        position: fixed;
        top: 0;
        left: -100%;
        margin: 0;
        width: 100vw;
        height: 100%;
        overflow: scroll;
        padding-top: 50px;
        padding-bottom: 50px;
        background: #282828;
        transition: all .8s;
        z-index: 100;
    }
    .mobile-menu li {
        margin-bottom: 15px;
    }
    .mobile-menu.active {
        left: 0;
    }
    .mobile-menu a,
    .mobile-menu span {
        text-decoration: none;
        color: #fff;
    }
    .sub-top-menu {
        position: static;
        padding: 15px 0 0 15px;
        width: auto;
        border-bottom: none;
        box-shadow: none;
    }
    .sub-top-menu ul {
        margin: 0;
    }
    .sub-top-menu ul li {
        margin: 0;
    }
    .has-sub-menu span {
        display: flex;
        align-items: center;
    }
    .mobile-menu .has-sub-menu span:after {
        content: "";
        margin-left: 10px;
        display: block;
        width: 7px;
        height: 7px;
        border-top: 1px solid #fff;
        border-right: 1px solid #fff;
        transform: rotate(135deg) translate(-2px, 0);
        transition: all .25s;
    }
    .mobile-menu .has-sub-menu span.active:after {
        transform: rotate(-45deg) translate(-2px, 2px);
    }
}

.breadcrumbs {
    margin-bottom: 30px;
    font-size: 14px;
}

.breadcrumbs > ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

/* Заглавный блок
    ----------------------------*/
.main-block {
    position: relative;
    width: 100%;
    height: auto;
    color: #fff;
    margin-bottom: 40px;
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center top;
    aspect-ratio: 21/6;
    @media (width <= 768px) {
        height: auto;
        min-height: 265px;
        padding: 6px 0;
        margin-bottom: 10px;
        background-position: left top;
    }
}

.sub-25 .main-block {
    @media (width > 1739px) {
        background-position: center top;
    }
    @media (width <= 768px) {
        background-position: right top;
    }
}

.sub-25 h1 br {
    display: none;
    @media (width <= 768px ) {
        display: block;
    }
}

.main-block .container,
.main-block .row {
    height: 100%;
    align-items: center;
    position: relative;
    row-gap: 10px;
    align-items: end;
    padding-bottom: 6px;
    @media (width <= 768px ) {
        padding-bottom: 2px;
    }
}

.main-block .row > div {
    @media (width > 767px) {
        padding-left: 0;
        padding-right: 0;
    }
}

.title-holder {
    position: relative;
}

.title-holder__image {
    position: absolute;
    top: -81px;
    left: -37px;
    z-index: 0;
    @media (width < 768px) {
        display: none;
    }
}

.main-block h1 {
    position: relative;
    font-size: 50px;
    font-weight: 700;
    line-height: 68px;
    text-transform: uppercase;
    width: fit-content;
    font-size: 26px;
    line-height: 1;
    color: var(--primary-text-color);
    padding: 8px 10px;
    background: #f5f5f5;
    border-radius: 10px;
}

.main-block .sub-title {
    position: relative;
    display: flex;
    gap: 6px;
    margin-top: 0px;
    font: 400 28px/140% Gilroy;
    color: #fff;
    height: 32px;
    max-height: 32px;
    @media (width <= 768px) {
        font-size: 16px !important;
        height: auto;
        max-height: unset;
        & br {display: none;}
    }
}

.main-block__benefits {
    list-style: none;
    margin: 4px 0 0 0;
    display: flex;
    gap: 6px;
    @media (width < 768px) {
        margin: 0;
        flex-wrap: wrap;
        gap: 4px;
    }
}

.main-block__benefits li,
.sub-title__custom {
    display: flex;
    align-items: center;
    padding: 2px 10px 2px 4px;
    border-radius: 6px;
    background: #f5f5f5;
    color: var(--primary-text-color);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    @media (width < 768px) {
        font-size: 6.5px;
        padding: 0px 10px 0px 2px;
    }
}

.main-block__benefits .icon-holder {
    width: 30px;
    height: 24px;
    display: flex;
    flex-shrink: 0;
    @media (width < 768px) {
        width: 18px;
        height: 18px;
    }
}

.main-block__benefits .icon-delivery {
    width: 20px;
    height: 15px;
    margin: auto;
    @media (width < 768px) {
        width: 11px;
        height: 8.5px;
    }
}

.main-block__benefits .icon-wallet {
    width: 18px;
    height: 18px;
    margin: auto;
    @media (width < 768px) {
        width: 9px;
        height: 9px;
    }
}

.main-block__benefits .icon-shield {
    width: 18px;
    height: 20px;
    margin: auto;
    @media (width < 768px) {
        width: 10px;
        height: 8px;
    }
}

.main-block__benefits .icon-calc {
    width: 12px;
    height: 18px;
    margin: auto;
    @media (width < 768px) {
        width: 7px;
        height: 9px;
    }
}

.fence-links__holder {
    background: #efefef;
    padding-bottom: 24px;
    margin-bottom: 80px;
    @media (width <= 575px) {
        padding: 0 10px 10px;
    }
}

.fence-links {
    background: #fff;
    position: relative;
    padding: 30px 80px;
    text-align: center;
    margin-top: -47px;
    border-radius: 10px;
    @media (width <= 575px) {
        margin-top: -16px;
        padding: 15px;
    }
}

.fence-links__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 25px;
}

.fence-links__item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    text-decoration: none;
    transition: all .25s;
    font: 500 18px/18px var(--primary-font);
    @media (width <= 575px) {
        flex-direction: column;
        font-size: 11px;
        line-height: 11px;
    }
}

.fence-links__item:hover {
    color: var(--primary-text-color);
}

.fence-links__item svg {
    transition: all 0.25s linear;
    @media (width <= 575px) {
        height: 21px;
    }
}

.fence-links__item:hover svg {
    transform: rotate(90deg);
}

.fence-links__item:hover svg path {
    fill: var(--primary-text-color);
}

@media (min-width: 992px) {

}

/* Заборы списком, старый вариант, потом удалить
    ---------------------------*/
.zabor-item {
    display: flex;
    flex-wrap: wrap;
    padding: 15px 0;
    margin: 30px 0 40px;
    box-shadow: 0px 4px 34px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    background: #fff;
}

.zabor-item img {
    width: 100%;
    border-radius: 10px;
    transition: all .5s;
}

.zabor-item .small-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 12px;
}

.zabor-item .small-images img {
    border-radius: 4px;
    width: 76px;
}

.zabor-item .small-images img:hover {
    filter: grayscale();
}

.zabor-item .title-link {
    font-size: 26px;
    line-height: 28px;
    font-weight: 700;
    text-decoration: none;
    margin: 0 0 10px 0;
    display: inline-block;
    transition: all .25s;
}

@media (max-width: 767px) {
    .zabor-item .title-link {
        font-size: 22px;
        margin-top: 15px;
    }

    .zabor-item .small-images img {
        width: 65px;
    }

    .zabor-item .small-images .img-4,
    .zabor-item .small-images .img-5 {
        display: none;
    }
}

/* Этапы установки
    ---------------------------*/
.steps-main {
    font-size: 14px;
    line-height: 16px;
}

.steps-main h2 {
    font-size: 34px;
}

.steps-main ul {
    list-style: none;
    width: 790px;
    margin: 0 auto;
    position: relative;
}

.steps-main ul:before {
    content: " ";
    position: absolute;
    display: block;
    width: 6px;
    height: 90%;
    background: #e5e9ef;
    ;
    left: 50%;
    margin-left: -3px;
}

.steps-main ul li {
    width: 430px;
    position: relative;
    margin-bottom: 40px;
    box-sizing: border-box;
}

.steps-main li .num {
    position: absolute;
    color: var(--primary-color);
    font-size: 34px;
    line-height: 70px;
    font-weight: 700;
    margin: 0;
    width: 70px;
    text-align: center;
    background: #e5e9ef;
    ;
    border-radius: 35px;
}

.step-1,
.step-3,
.step-5 {
    text-align: right;
    padding-right: 90px;
}

.step-2,
.step-4,
.step-6 {
    text-align: left;
    padding-left: 90px;
    margin-left: 360px;
}

.step-1 .num,
.step-3 .num,
.step-5 .num {
    right: 0px;
}

.step-2 .num,
.step-4 .num,
.step-6 .num {
    left: 0px;
}

.steps-main .likeh4 {
    font-size: 24px;
    margin-bottom: 15px;
    padding-bottom: 5px;
    display: inline-block;
    border-bottom: 3px solid #e5e9ef;
    ;
    position: relative;
}

.step-1 .likeh4:after,
.step-3 .likeh4:after,
.step-5 .likeh4:after {
    content: " ";
    display: block;
    width: 40px;
    height: 3px;
    position: absolute;
    right: -38px;
    bottom: -9px;
    border-bottom: 3px solid #e5e9ef;
    transform: rotate(19deg);
}

.step-2 .likeh4:before,
.step-4 .likeh4:before,
.step-6 .likeh4:before {
    content: " ";
    display: block;
    width: 40px;
    height: 3px;
    position: absolute;
    left: -38px;
    bottom: -9px;
    border-bottom: 3px solid #e5e9ef;
    ;
    transform: rotate(-19deg);
}

@media (max-width: 920px) {
    .steps-main ul {width: 720px;}
    .steps-main ul li {width: 394px;}
    .step-2, .step-4, .step-6 {margin-left: 324px;}
}

@media (max-width: 767px) {
    .steps-main ul { width: 100%;}
    .steps-main ul::before {left: 36px;}
    .steps-main ul li {
        box-sizing: border-box;
        padding-right: 0px;
        width: 100%;
    }
    .steps-main .likeh4 {font-size: 18px;}
    .step-1,
    .step-3,
    .step-5,
    .step-2,
    .step-4,
    .step-6 {
        text-align: left;
        padding-left: 90px;
        margin-left: 0px;
    }
    .step-1 .likeh4:after,
    .step-3 .likeh4:after,
    .step-5 .likeh4:after {
        content: " ";
        display: block;
        width: 40px;
        height: 3px;
        position: absolute;
        left: -38px;
        bottom: -8px;
        border-bottom: 3px solid #e5e9ef;
        ;
        transform: rotate(-16deg);
    }
    .step-1 .num,
    .step-3 .num,
    .step-5 .num {
        left: 0px;
    }
}

/* Акции
    ---------------------------*/
.action-slider__item img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
}

/* Показать-скрыть большой текст
    -------------------------------------*/
.more-text {
    display: none;
}

.show-more-text {
    cursor: pointer;
    color: var(--primary-color);
    white-space: nowrap;
    font-weight: 500;
    font-size: inherit;
}

.show-more-text span {
    border-bottom: 1px dashed var(--primary-color);
    margin-left: 5px;
}

.show-more-text:before {
    content: "...";
}

.hide-more-text {
    display: inline-block;
    border-bottom: 1px dashed var(--primary-color);
    cursor: pointer;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 500;
    font-size: inherit;
}

.show-more-text span:hover,
.hide-more-text:hover {
    border-bottom: 1px dashed transparent;
}

.promo-code {
    font-weight: 600;
    font-size: 120%;
}

/* Текст с картинкой
    -----------------------------*/
.text-image {
    display: flex;
    align-items: center;
    margin: 50px 0 70px;
    flex-wrap: wrap;
}

.text-image h2 {
    margin-top: 0px;
}

.ti-left {
    width: 650px;
}

.ti-right {
    width: 350px;
    padding-left: 20px;
}

.ti-right img {
    width: 100%;
    height: 100%;
}

.text-image .image-links {
    display: block;
    position: relative;
}

.text-image .image-link .lupa {
    left: 50%;
    top: 50%;
    margin: -15px 0 0 -15px;
}

/* Блок Почему выгодно
    ----------------------------*/
.benefits-wrapper {
    padding-top: 60px;
    padding-bottom: 60px;
}

.benefits {
    row-gap: 30px;
    margin-top: 30px;
}

.benefit-block {
    position: relative;
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    font-size: 14px;
    line-height: 20px;
    height: 100%;
    padding: 25px;
    transition: all .5s;
}

.benefit-block:hover {
    transform: translate(0, -10px);
}

.benefit-img {
    height: 78px;
}

.benefit-img > *{
    width: 78px;
    height: 78px;
}

.benefit-block .num {
    position: absolute;
    text-align: center;
    padding-top: 40px;
    right: 30px;
    top: -28px;
    width: 88px;
    height: 88px;
    border-radius: 44px;
    background: #0023661a;
    color: var(--primary-color);
    font-size: 36px;
    font-weight: 700;
    box-sizing: border-box;
}

.benefit-block .h4 {
    margin: 30px 0 10px 0;
}

.benefits-wrapper .slick-dots {
    bottom: -15px !important;
}

/* Гарантийный сертификат
    ---------------------------*/
.garantee {
    margin-bottom: 40px;
    color: #fff;
    font-size: 16px;
    line-height: 20px;
}

.garantee .bg-garantee {
    padding: 70px;
    margin-top: 40px;
    background: #0D172B;
    background-size: cover;
    border-radius: 10px;
}

.garantee .image img {
    width: 100%;
    transition: all .5s;
    aspect-ratio: 509/360;
}

.garantee .image img:hover {
    transform: scale(1.05);
}

.garantee .btn {
    margin-top: 15px;
}

@media (max-width: 767px) {
    .garantee .bg-garantee {padding: 0 20px 20px 20px;}
    .garantee .row {flex-direction: column-reverse;}
    .garantee .image {margin-top: 20px;}
}

/* Статьи
---------------------------*/
.articles-on-main {
    padding-top: 40px;
    padding-bottom: 60px;
    font-size: 14px;
    line-height: 20px;
}

.articles-on-main .row {
    row-gap: 20px;
}

.articles-main__item .h4 {
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
    margin: 20px 0;
    padding-bottom: 15px;
    position: relative;
    width: 80%;
}

.articles-main__item .h4:before {
    content: "";
    position: absolute;
    bottom: 0;
    display: block;
    width: 126px;
    height: 4px;
    border-radius: 4px;
    background: var(--secondary-color);
}

.articles-main__item .article-image {
    overflow: hidden;
    border-radius: 10px;
}

.articles-main__item .article-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: block;
    transition: all .5s;
}

.articles-main__item .article-image:hover img {
    transform: scale(1.05);
}

.articles-main__item .announce {
    margin-bottom: 20px;
}

.articles-main__item ul li,
.articles-main__item ol li {
    margin: 0;
}

.articles-main__item a.full-link {
    text-decoration: none;
    border-bottom: 1px solid var(--primary-color);
}

.articles-main__item a.full-link:hover {
    border-bottom-color: transparent;
}

/* Партнеры на Главной
---------------------------*/
.partners {
    padding-bottom: 60px;
    @media (width <= 920px) {
        overflow-y: scroll;
    }
    @media (width <= 768px) {
        padding-bottom: 30px;
    }
}
.partners-holder {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.partners__item {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    filter: grayscale(100%);
    transition: all .25s;
    opacity: .6;
}
.partners__item:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.partners__item img {
    width: 100px;
    height: 100px;
}

/* Не забудьте заказать
---------------------------*/
.dont-forget {
    padding-top: 40px;
    padding-bottom: 80px;
}

.dont-forget .h2 {
    margin-bottom: 40px;
}

.dont-forget__holder {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 20px;
    @media (width <= 768px) {
        grid-template-columns: 100%;
    }
}

.dont-forget__item {
    display: flex;
    gap: 30px;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 10px 0px #00000040;
}

.df-item__image {
    display: block;
    width: 114px;
    height: 114px;
    @media (width <= 768px) {
        width: 70px;
        height: 70px;
    }
}

.df-item__image img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 10px;
    transition: all .5s;
}

.dont-forget__item:hover .df-item__image img {
    transform: scale(1.05);
}

.dont-forget__item a {
    font-size: 22px;
    font-weight: 400;
    line-height: 32px;
    color: inherit;
    text-decoration: none;
    @media (width <= 768px) {
        font-size: 16px;
        line-height: 20px;
    }
}


/* Блок Остались вопросы
    ---------------------------*/
.any-question {
    background: var(--bg-gray);
    margin-top: 80px;
    @media (width <= 768px) {
        height: 600px;
        overflow: hidden;
    }
}

.any-question .container {
    width: 800px;
    max-width: 100%;
    display: flex;
    @media (width <= 768px) {
        height: 100%;
    }
}

.any-question__text {
    position: relative;
    width: 600px;
    max-width: 100%;
    font-size: 16px;
    line-height: 22px;
    padding: 46px 0;
}

.any-question__text .h2 {
    margin: 0 0 24px 0;
}

.any-question__text .h4 {
    font-size: 24px;
    font-weight: 700;
}

.any-question__text p {
    margin: 12px 0;
}

.any-question__image {
    position: absolute;
    right: -176px;
    bottom: 0;
    width: 272px;
    height: 346px;
    background-image: url('/zaboroff/images/question-man.webp');
    background-repeat: no-repeat;
    background-position: left top;
    background-size: contain;
    z-index: 2;
    @media (width <= 768px) {
        right: -45px;
        bottom: -15px;
    }
}

.any-question__buttons {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    margin-top: 24px;
    z-index: 3;
    @media (width <= 768px) {
        flex-direction: column;
        align-items: flex-start;
        row-gap: 24px; 
    }
}

.any-question__btn {
    display: flex;
    width: 198px;
    height: 45px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font: 500 16px / 16px var(--primary-font);
    color: #fff;
    background: var(--green-color);
    border-radius: 4px;
    cursor: pointer;
    img {
        width: 19px;
        height: 19px;
    }
}

.any-question__buttons a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all .25s linear;
}


/* Ссылки на города
    ---------------------------*/
.city-links-holder {
    width: 100%;
    background: #f5f5f5;
    padding: 60px 0;
}

.city-title {
    font-size: 30px;
    line-height: 36px;
    font-weight: 700;
    width: 60%;
}

.city-links__nav {
    display: flex;
    justify-content: space-between;
}

.city-links ul {
    list-style: none;
    display: inline-block;
    margin: 15px 0 0 0;
    vertical-align: top;
}

.city-links li,
.city-links a {
    font-size: 14px;
    line-height: 25px;
    margin: 0;
}

.city-links a {
    text-decoration: none;
    border-bottom: 1px solid var(--primary-color);
}

.city-links a:hover {
    border-bottom-color: transparent;
}

@media (max-width:768px) {
    .city-title {
        width: 100%;
        font-size: 24px;
        line-height: 29px;
    }
    .city-links ul {margin: 15px 20px 0 0;}
}

/* Пагинация
    ---------------------------*/
.pagination {
    margin: 30px 0 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pagination span,
.pagination a {
    display: flex;
    width: 40px;
    height: 40px;
    border-radius: 40px;
    align-items: center;
    justify-content: center;
    background: #d9d9d9;
    text-decoration: none;
    color: var(--primary-text-color);
}

.pagination .current {
    background: var(--secondary-color);
    pointer-events: none;
    cursor: default;
}

/* Footer
    ---------------------------*/
footer {
    width: 100%;
    height: auto;
    background: #19181b;
    color: #ffffffcc;
    font-size: 13px;
    line-height: 15px;
}

footer .container {
    padding-top: 38px;
    padding-bottom: 38px;
}

footer .row {
    row-gap: 20px;
}

footer a {
    color: #fff;
    text-decoration: none;
    color: #fff;
    transition: all .5s;
    opacity: .8;
}

footer a:hover {
    color: #fff;
    opacity: 1;
}

.footer__block-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

footer .adress {
    margin-top: 20px;
}

.logo-footer img {
    width: 244px;
    height: 39px;
}

.footer__nav {
    display: flex;
    justify-content: space-between;
}

.footer-2 ul,
.footer-3 ul {
    display: inline-block;
    list-style: none;
    margin: 0;
}

.footer-2 ul li,
.footer-3 ul li {
    margin: 0 0 20px 0;
}

.footer-contacts .phone-holder,
.footer-contacts .email-holder {
    font-weight: 500;
    color: #fff;
    display: flex;
    align-items: center;
}

.footer-contacts svg.icon-phone {
    width: 12px;
    height: 12px;
    margin-right: 6px;
}

.footer-contacts svg.icon-mail {
    width: 12px;
    height: 8.5px;
    margin-right: 6px;
}

.footer-contacts .work-time {
    padding: 4px 0 0 22px;
    margin-bottom: 20px;
}

footer .social-groups {
    margin-top: 30px;
    justify-content: flex-end;
    gap: 12px;
}

footer .social-groups>a {
    width: 28px;
    height: 28px;
}

.copyright {
    width: 100%;
    line-height: 45px;
    background: #282828;
    text-align: center;
}

@media (min-width:768px) {
    .footer-1 {
        flex: 0 0 300px;
        max-width: 300px;
    }

    .footer-2 {
        flex: 0 0 221px;
        max-width: 221px;
    }

    .footer-3 {
        flex: 0 0 510px;
        max-width: 510px;
        padding: 0 30px;
    }

    .footer-4 {
        flex: 0 0 165px;
        max-width: 165px;
    }
}

@media (max-width:767px) {
    .footer__nav {
        justify-content: flex-start;
        gap: 50px;
    }

    .footer-contacts {
        display: flex;
        gap: 50px;
    }
}

/* Видеоотзывы
    --------------------------*/
.video-review .row {
    row-gap: 30px;
}

.video-review .slick-dots {
    bottom: -10px !important;
}

.video-review__item .image-holder {
    display: block;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.video-review__item {
    padding: 15px;
    background: #fff;
    border-radius: 20px;
    transition: all .25s;
}

.video-review__item:hover {
    box-shadow: 0px 4px 34px rgba(0, 0, 0, 0.25);
}

.video-review__item .h4 {
    margin-top: 15px;
    font-size: 16px;
    font-weight: 500;
}

.fancy-video:before {
    content: "";
    width: 30px;
    height: 34px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-15px, -26px);
    background: url(/zaboroff/images/play.png) left top;
    z-index: 4;
}

/* Форма Вызов замерщика
---------------------------*/
.measurer {
      width: 100%;
      padding-top: 60px;
      padding-bottom: 60px;
}
  
.measurer__holder {
    position: relative;
    display: flex;
    width: 100%;
    height: 165px;
    background: var(--bg-gray);
    border-radius: 10px;
    @media (width <= 768px) {
        flex-wrap: wrap;
        height: auto;
    }
}

.measurer__holder:before {
    content: "";
    position: absolute;
    width: 205px;
    height: 175px;
    left: 150px;
    bottom: 0;
    background-image: url(/zaboroff/images/ruletka-man.webp);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    @media (width <= 768px) {
        content: none;
    }
}


.measurer__text {
    width: 285px;
    height: 100%;
    padding: 35px;
    font-size: 24px;
    line-height: 1.1;
    font-weight: 700;
    background: var(--secondary-color);
    border-radius: 10px 0 0 10px;
    flex-shrink: 0;
    @media (width <= 768px) {
        width: 100%;
        height: 206px;
        padding-right: 100px;
        border-radius: 10px 10px 0 0;
        background-image: url(/zaboroff/images/ruletka-man.webp);
        background-repeat: no-repeat;
        background-position: right bottom;
        background-size: contain;
    }
}

.measurer__form {
    padding: 15px 40px 0 100px;
    @media (width <= 768px) {
        padding: 25px;
    }
}

.measurer__form-title {
    font: 700 22px/ 1.1 var(--primary-font);
    margin-bottom: 20px;
    @media (width <= 768px) {
        font-size: 18px;
        line-height: 21px;
    }
}

.measurer__inputs {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    & .btn {
        @media (width <= 768px) {
            width: 100%;
        }
    }
}

.measurer__form input[type="text"] {
    box-sizing: border-box;
    width: 260px;
    height: 46px;
    background: #fff;
    font: 400 13px/13px Gilroy;
    color: #757575;
    padding: 0 12px;
    border-radius: 4px;
    @media (width <= 768px) {
        width: 100%;
        margin-bottom: 6px;
    }
}

.agreement-text label {
    font-size: 12px;
    line-height: 20px;
    font-weight: 400;
}

/* Слайд-контент
    --------------------------*/
.slide-content {
    margin-top: 60px;
    margin-bottom: 60px;
}

.slide-content.in-text {
    margin: 30px 0;
}

.sc-item {
    border-top: 1px solid #ccc;
    padding: 15px 0;
}

.sc-item:last-child {
    border-bottom: 1px solid #ccc;
}

.sc-title {
    position: relative;
    cursor: pointer;
    margin: 0;
    padding-left: 0px;
    padding-right: 55px;
    font-weight: 500;
}

.sc-title:hover {
    color: var(--secondary-color);
}

.sc-icon {
    position: absolute;
    top: -2px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 32px;
    background: #f5f5f5 url(/zaboroff/images/svg/plus.svg) no-repeat center center;
    background-size: 90%;
}

.sc-title.active .sc-icon {
    background: var(--secondary-color) url(/zaboroff/images/svg/minus.svg) no-repeat center center;
    background-size: 55%;
}

.sc-text {
    display: none;
    margin: 30px 0;
}

.sc-text .inner-slide {
    padding: 20px 0;
}

.sc-text img {
    width: auto;
    max-width: 100%;
}

.narrow-block {
    list-style: none;
    width: 100%;
    margin: 40px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.narrow-block > li {
    width: 45%;
    display: block;
    vertical-align: top;
    position: relative;
    box-sizing: border-box;
}

.green-check>li,
.green-check li.slick-slide {
    background: url(/zaboroff/images/svg/check-yellow.svg) no-repeat left -2px;
    background-size: 30px 30px;
    padding: 0 0 0 40px;
    list-style: none;
}

.narrow-block.numeral {
    justify-content: center;
}

.narrow-block.numeral li {
    padding: 0 0 0 75px;
}

.narrow-block.numeral .number {
    position: absolute;
    top: 0px;
    left: 0px;
    font-size: 48px;
    line-height: 40px;
    font-weight: 600;
    color: var(--secondary-color);
}

.narrow-block.steps {
    counter-reset: steps-counter;
}

.narrow-block.steps li {
    padding-left: 26px;
}

.narrow-block.steps li:before {
    counter-increment: steps-counter;
    content: counter(steps-counter);
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    position: absolute;
    top: -3px;
    left: 0;
    z-index: -1;
}

.narrow-block.numbers li div,
.narrow-block.numbers li .likeh4 {
    padding-left: 70px;
}

.narrow-block.numbers .num {
    float: left;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 50px;
    line-height: 45px;
    margin: 0 10px 20px 0;
    height: 100%;
}

@media (max-width: 767px) {
    .narrow-block {
        margin: 0;
    }
    .narrow-block > li {
        width: 100%;
    }
}

/* Преимущества на страницах
    ------------------------------*/
.page-benefits {
    padding-top: 40px;
    padding-bottom: 60px;
}

.page-benefits .row {
    row-gap: 25px;
}

.page-benefits__item .col-wrapper {
    position: relative;
    height: 100%;
    font-size: 14px;
    line-height: 17px;
    text-align: center;
    padding: 34px 20px;
    background: #fff;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    overflow: hidden;
    transition: all .5s;
}

.page-benefits__item:hover .col-wrapper {
    transform: translate(0, -10px);
}

.page-benefits__item .icon-holder {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: start;
    margin-bottom: 15px;
    background-size: 100%;
    background-repeat: no-repeat;
}
.page-benefits__item .icon-holder.benefits-01 {background-image: url(/zaboroff/images/icons/benefits-01.jpg);}
.page-benefits__item .icon-holder.benefits-02 {background-image: url(/zaboroff/images/icons/benefits-02.jpg);}
.page-benefits__item .icon-holder.benefits-03 {background-image: url(/zaboroff/images/icons/benefits-03.jpg);}
.page-benefits__item .icon-holder.benefits-04 {background-image: url(/zaboroff/images/icons/benefits-04.jpg);}
.page-benefits__item .icon-holder.benefits-05 {background-image: url(/zaboroff/images/icons/benefits-05.jpg);}
.page-benefits__item .icon-holder.benefits-06 {background-image: url(/zaboroff/images/icons/benefits-06.jpg);}
.page-benefits__item .icon-holder.benefits-07 {background-image: url(/zaboroff/images/icons/benefits-07.jpg);}
.page-benefits__item .icon-holder.benefits-08 {background-image: url(/zaboroff/images/icons/benefits-08.jpg);}

.page-benefits__item .num {
    position: absolute;
    text-align: center;
    padding-top: 40px;
    right: 30px;
    top: -28px;
    width: 88px;
    height: 88px;
    border-radius: 44px;
    background: #0023661a;
    color: var(--primary-color);
    font-size: 36px;
    font-weight: 700;
    box-sizing: border-box;
}

.page-benefits__item .likeh4 {
    margin-bottom: 15px;
    padding: 0 28px;
}

.icon-zabor-big {
    width: 98px;
    height: 76px;
}

.icon-delivery-big {
    width: 96px;
    height: 86px;
}

.icon-garantee-big {
    width: 76px;
    height: 96px;
}

/* Табы Bootstrap
    ------------------------------*/
.nav-tabs,
.tab-links__holder {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 15px;
    margin: 20px 0 10px;
    border-bottom: 1px solid #dedede;
}

.nav-tabs {
    justify-content: flex-start;
    gap: 10px 20px;
}

.nav-tabs .nav-link,
.tab-links__holder .tab-link {
    display: block;
    border-bottom: 6px solid transparent;
    text-decoration: none;
    font-size: 16px;
    position: relative;
    color: #000 !important;
    cursor: pointer;
}

.nav-tabs .nav-link::before,
.tab-links__holder .tab-link:before {
    content: "";
    position: absolute;
    bottom: -12px;
    display: block;
    width: 0;
    height: 6px;
    transition: all .25s;
    background: var(--primary-color);
}

.nav-tabs .nav-link.active,
.tab-links__holder .tab-link.active {
    font-weight: 600;
}

.nav-tabs .nav-link.active:before,
.nav-tabs .nav-link:hover:before,
.tab-links__holder .tab-link.active:before,
.tab-links__holder .tab-link:hover:before {
    width: 100%;
}

.tab-content>.tab-pane {
    display: none;
}

.tab-content>.active {
    display: block;
}

.fade {
    transition: opacity 0.1s linear;
}

@media (prefers-reduced-motion: reduce) {
    .fade {
        transition: none;
    }
}

.fade:not(.show) {
    opacity: 0;
}

@media (max-width: 767px) {

    .nav-tabs,
    .tab-links__holder {
        justify-content: flex-start !important;
    }
}

/* таблица прайсов
-------------------------------*/
.fense-price__holder {
    padding: 80px 0;
    background: #f5f5f5;
}

.fense-price__holder h2 {
    margin: 0;
    padding: 0;
    line-height: 1;
}

.fense-price {
    border-collapse: collapse;
    width: 100%;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
}

.fense-price thead {
    border: 1px solid var(--primary-color);
}

.fense-price thead td,
.fense-price thead th {
    padding: 8px 3px;
}

.fense-price tbody tr {
    border: 1px solid #dedede;
    border-top-color: transparent;
    transition: all .25s;
}

.fense-price tbody tr:hover {
    background: #fff;
}

.fense-price td {
    padding: 8px 0;
}

.fense-price__title td,
.fense-price__title th {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    text-align: center;
    font-weight: 500;
}

.price-in-sub h2 {
    text-align: center;
    margin: 40px 0 0 0;
}

.price-in-sub .fense-price {
    margin: 20px 0 60px 0;
}


.price-items-holder {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.price-item {
    width: 280px;
    margin: 7px;
    padding: 15px;
    text-align: left;
    font-size: 14px;
    line-height: 18px;
    background: #fff;
    border-radius: 20px;
    transition: all .25s;
}

.price-item:hover {
    box-shadow: 0px 4px 34px rgb(0 0 0 / 25%);
}

.fence-projects .price-item {
    width: 100%;
}

.fence-projects .price-item img {
    width: 100%;
}

.price-item .likeh4 {
    margin-bottom: 10px;
}

.price-item .btn {
    margin-top: 15px;
    max-width: 100%;
}

@media (max-width: 767px) {
    .price-item {
        box-shadow: none;
    }
}

/* Покрась каркас
    -------------------------------*/
.paint-me {
    padding-top: 80px;
    padding-bottom: 60px;
}

.paint-me .image {
    padding-top: 20px
}

.paint-me__colors {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

.paint-me__colors img {
    width: 359px;
    height: 144px;
    max-width: 100%;
    padding: 0;
    margin: 0;
    display: block;
}

@media (max-width: 767px) {
    .paint-me .image {
        text-align: center;
    }
}

.bottom-action {
    display: none;
}



/*---------------------------------------*/
.manual-city__holder {
    width: 100vw;
    height: auto;
    position: fixed;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999;
}

.manual-city__title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.manual-city__choose .manual-city {
    margin-bottom: 20px;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

.likes {
    display: table;
    position: relative;
    margin: 20px auto 15px auto;
}

[class^="col-"] > .col-wrapper {
    position: relative;
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
    padding: 15px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    transition: all .25s;
}

[class^="col-"]:hover > .col-wrapper {
    box-shadow: 0px 4px 34px rgba(0, 0, 0, 0.25);
}

@media (max-width: 767px) {
    [class^="col-"] .col-wrapper {box-shadow: 0px 4px 10px rgb(0 0 0 / 25%);}
}

/* Карточки подразделов
------------------------------*/
.sub-links__holder {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    @media (width <= 768px) {
        grid-template-columns: 100%;
    }
}

.sub-links__block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fense-subs .sub-links {
    display: flex;
    flex-wrap: nowrap;
    align-items: start;
    gap: 15px;
    padding: 10px 10px 20px 10px;
    background: var(--bg-block);
    border-radius: 10px;
    flex-grow: 1;
    @media (width <= 768px) {
        padding: 10px;
        align-items: center;
    }
}

.sub-links .links-icon {
    width: 64px;
    height: 64px;
    @media (width <= 768px) {
        width: 32px;
        height: 32px;
    }
}

.sub-links .links-title {
    font-size: 18px;
    line-height: 21px;
    font-weight: 700;
    margin: 12px 20px 0 0;
    @media (width <= 768px) {
        color: var(--primary-color);
        cursor: pointer;
        line-height: 28px;
        font-weight: 600;
        margin: 0;
    }
}

.sub-links .links-holder {
    @media (width <= 768px) {
        display: none;
    }
}

.fense-subs .sub-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 14px;
    line-height: 14px;
    font-weight: 500;
    display: block;
    width: fit-content;
    margin: 10px 0 0 0;
}

.fense-subs .sub-links a:hover {
    color: var(--primary-text-color);
}

.show-more-links {
    font-size: 14px;
    font-weight: 600;
    line-height: 16px;
    border-bottom: 1px dashed #282828;
    margin-left: auto;
    cursor: pointer;
}

.show-more-links:hover {
    border-color: transparent
}

.fense-subs__item .col-wrapper {
    position: relative;
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
    padding: 15px;
    padding: 22px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    transition: all .25s;
}

.fense-subs__item:hover .col-wrapper {
    box-shadow: 0px 4px 34px rgba(0, 0, 0, 0.25);
}

.fense-subs__item a {
    text-decoration: none;
    color: #282828;
    transition: all .25s;;
}

.fense-subs__item a:hover {
    color: var(--primary-color);
}

.fense-subs__item .image-holder {
    background: #565656;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
    aspect-ratio: 4/3;
}

.fense-subs__item .sub-icon {
    width: 40px;
    height: 32px;
    margin-right: 8px;
}

.fense-subs__item .h4 {
    display: block;
    min-height: 60px;
    max-width: 225px;
    font-size: 16px;
    line-height: 20px;
}

.fense-subs__item .sub-min-price {
    margin: 12px 0;
}

.fense-subs__item .sub-min-price span {
    font-size: 22px;
    font-weight: 700;
}

.fense-subs__item .count-in-sub span {
    font-size: 18px;
    font-weight: 600;
}

@media (max-width: 767px) {
    .fense-subs__item  .col-wrapper {
        box-shadow: 0px 4px 10px rgb(0 0 0 / 25%);
    }
}


/* Карточки заборов
    ------------------------------*/
.fense-cards__wrapper {
    width: 100%;
    height: auto;
    background: url(/zaboroff/images/bg-cards.jpg) no-repeat left bottom;
    padding: 40px 0;
}

.fense-cards__wrapper.on-main {
    background: none;
    padding-top: 0;
    margin-bottom: 60px;
}

.fense-cards__main .title-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.fense-cards__main .title-block h2 {
    margin: 0 0 30px 0;
    flex-shrink: 0;
    width: 100%;
    text-align: center;
}

.fense-cards__main .title-block a {
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

@media (max-width: 767px) {
    .fense-cards__main .title-block a {font-size: 16px;line-height: 21px;}
}

.fense-cards__holder {
    row-gap: 30px;
    padding-top: 10px;
    align-items: flex-start;
    align-items: stretch;
    position: relative;
}

.fense-cards__holder>a {
    text-decoration: none;
    color: #282828;
}

.fense-cards__wrapper.on-main .fense-cards__holder {
    padding-top: 20px;
}

.fense-cards__item {
    position: relative;
    padding: 0;
}

.fense-cards__item .col-wrapper {
    position: relative;
    font-size: 12px;
    line-height: 17px;
    padding: 15px;
    padding: 22px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    transition: all .25s;
}

.fense-cards__item .icon-favorite {
    position: absolute;
    top: 30px;
    right: 30px;
    height: 20px;
    width: 20px;
    cursor: pointer;
    z-index: 1;
}

.fense-cards__item .icon-favorite svg {
    width: 100%;
    height: 100%;
    fill: #ffffff50;
    stroke-width: 1px;
    stroke: #fff;
    transition: all .25s;
}

.fense-cards__item .icon-favorite:hover svg, 
.fense-cards__item .icon-favorite.favorites svg {
    fill: var(--secondary-color);
    stroke: var(--secondary-color);
}

.fav-link__holder {
    position: fixed;
    right: 0;
    top: 45%;
    display: inline-block;
    background: #282828;
    transform: rotate(-90deg) translate(0px, 90px);
    border-radius: 6px 6px 0 0;
    transition: all .5s;
}

.fav-link__holder.active {
    transform: rotate(-90deg) translate(0px, 38px);
}

.fav-link__holder a {
    text-decoration: none;
    color: #fff;
    display: block;
    padding: 8px 20px;
}

.fense-cards__item:hover {
    position: relative;
    z-index: 1;
}

.fense-cards__item:hover .col-wrapper {
    box-shadow: 0px 4px 34px rgba(0, 0, 0, 0.25);
}

.fense-cards__item .image-holder {
    position: relative;
    background: #565656;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 6px;
    aspect-ratio: 4/3;
}

.fense-cards__item .price {
    font-size: 12px;
    font-weight: 500;
    min-height: 40px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.fense-cards__item .price .old-price {
    color: #4d4d4d;
    text-decoration: line-through;
}

.fense-cards__item .price .new-price {
    margin-left: auto;
}

.fense-cards__item .price .new-price span {
    font-size: 18px;
    font-weight: 700;
}

.fense-cards__item .price .discount {
    width: 49px;
    height: 22px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-text-color);
    background: #f8c81d;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .25s;
}

.fense-cards__item:hover .price .discount {
    background: #22840c;
    color: #fff;
}

.fense-cards__item a {
    text-decoration: none;
    color: #282828;
}

.fense-cards__item .fense-name {
    display: block;
    margin: 10px 0 6px 0;
    min-height: 80px;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    transition: all .25s;
}

.fense-cards__item .fense-name:hover {
    color: var(--primary-color);
}

.fense-cards__item[data-type="3D"] .fense-name {
    min-height: 40px;
}

.fense-cards__item .stars-holder {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fense-cards__item .stars {
    display: flex;
    gap: 2px;
}

.fense-cards__item .stars svg {
    width: 13px;
    height: 13px;
}

.fense-cards__item .specification {
    min-height: 161px;
}

.fense-cards__item[data-type="Naves"] .specification {
    min-height: 100px;
}

.fense-cards__item .specification > div {
    display: flex;
    justify-content: space-between;
    padding: 8px 0 4px;
    border-bottom: 1px solid var(--bg-gray);
    font-size: 14px;
    line-height: 14px;
}

.fense-cards__item .specification > div span:first-child {
    color: #999;
}

.fense-cards__item .specification > div span:last-child {
    text-align: right;
}

.fense-cards__item .specification .fense-delivery span:last-child {
    color: inherit;
    background: var(--secondary-color);
    line-height: 16px;
    padding: 0 10px;
    font-size: 13px;
    border-radius: 10px;
}

.fense-cards__item .fense-delivery.color-green {
    color: var(--green-color);
}

.fense-cards__item .color-items {
    display: flex;
    gap: 6px;
}

.fense-cards__item .color-title {
    font-weight: 500;
    color: #999;
}

.fense-cards__item .color-item__color {
    width: 14px;
    height: 14px;
    border-radius: 8px;
    overflow: hidden;
    img {
        width: 100%;
        height: 100%;
    }
}

.fense-cards__item .color-item p {
    display: none;
}

.fense-cards__full {
    margin-bottom: 40px;
}

.fense-cards__full h1 {
    font-size: 40px;
    line-height: 48px;
    margin-bottom: 30px;
}

.fense-cards__full .icon-favorite {
    display: flex;
    cursor: pointer;
    align-items: center;
    line-height: 48px;
    justify-content: flex-end;
}

.fense-cards__full .icon-favorite svg {
    stroke: #282828;
    margin-right: 8px;
    fill: none;
}
.fense-cards__full .icon-favorite.favorites svg {
    stroke: red;
}

.fense-cards__full .fense-card__slider {
    max-height: 400px;
    background: #565656;
    border-radius: 10px;
    overflow: hidden;
}

.fense-cards__full .fense-card__slider-nav .slide {
    display: inline-block;
    width: 110px;
    height: 110px;
    margin: 4px 8px;
    border-radius: 10px;
    overflow: hidden;
    /*outline: 2px solid #a8a8a8;*/
    cursor: pointer;
}

.fense-cards__full .fense-card__slider-nav .slide.slick-current {
    outline: 2px solid #F8C81D;
    cursor: default;
}

.fense-cards__full .price {
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 0 0 20px 0;
}

.fense-cards__full .price>div {
    white-space: nowrap;
}

.fense-cards__full .price .old-price {
    font-size: 18px;
    font-weight: 500;
    color: #555;
    text-decoration: line-through;
    padding-top: 8px;
}

.fense-cards__full .price .new-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.fense-cards__full .price .discount {
    width: 52px;
    height: 52px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    background: #22840c;
    border-radius: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.fense-cards__full .extra-price {
    padding: 15px;
    background: #e8e8e8;
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
    border-radius: 10px;
}

.fense-cards__full .extra-price > div {
    display: flex;
    align-items: center;
    gap: 15px;
}

.fense-cards__full .extra-price > div span {
    min-width: 68px;
    display: flex;
    align-items: center;
}

.extra-price > div > span:first-child {
    width: 200px;
    flex-shrink: 0;
}

.fense-cards__full .extra-price .measure {
    margin: 20px 0;
}

.fense-cards__full .extra-price .fense-delivery .green {
    font-size: 14px;
    line-height: 14px;
    font-weight: 700;
    color: #22840C;
}

.fense-cards__full .extra-price svg {
    width: 34px;
    height: 34px;
    margin-right: 10px;
    flex-shrink: 0;
}

.fense-cards__full .color-title {
    font-size: 20px;
    line-height: 23px;
    margin-top: 20px;
}

.fense-cards__full .color-items {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
}

.fense-cards__full .color-item__color {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    margin: 0 auto;
    overflow: hidden;
}

.fense-cards__full .review-holder {
    margin: 60px -15px 0 -15px;
    @media (width <= 768px) {
        margin: 30px 0 0 0;
    }
}

.color-holder__big {
    margin: 20px 0 40px;
}

.color-holder__big .color-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    margin: 20px 0;
}

.color-holder__big .color-items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    margin-left: 0;
    @media (width <= 768px) {
        flex-wrap: nowrap;
    }
}

.color-holder__big .color-item {
    width: 170px;
    height: 145px;
    flex-shrink: 0;
}

.color-holder__big .color-item__color {
    width: 100%;
    height: 100px;
    border-radius: 10px;
    margin: 0 auto 10px;
    overflow: hidden;
}

.color-holder__big .color-item__color img {
    width: 100%;
    height: 100%;
}

.color-holder__big .color-item__text {
    font-size: 14px;
    line-height: 14px;
    font-weight: 500;
    width: 100%;
}

.color-holder__big.color-holder__wood .color-item__text {
    top: 40%;
}

.ral9003 {background: #fff;border: 1px solid #d8d8d8;}
.ral8017 {background: #44322d;}
.ral7004 {background: #969992;}
.ral7024 {background: #474a50;}
.ral6005 {background: #0f4336;}
.ral3005 {background: #5e2028;}
.ral5005 {background: #154889;}
.ral-zn {background: #bac4c8;}

.draft-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f5f5f5;
    border-radius: 10px;
    padding: 10px 50px;
    font-size: 16px;
    line-height: 21px;
    margin: 40px 0;
    @media (width <= 768px) {
        padding: 25px 10px;
        flex-wrap: wrap;
        row-gap: 30px;
    }
}

.draft-block .btn {
    width: 330px;
    @media (width <= 768px) {
        margin: 0 auto;
    }
}

.fense-cards__full .color-item p {
    font-size: 12px;
    line-height: 14px;
    text-align: center;
    margin: 10px 0 0 0;
    padding: 0 5px;
}

@media (max-width: 920px) {
    .fense-cards__full .icon-favorite {line-height: 1.2;}
}

@media (max-width: 767px) {
    .color-holder__big .color-title {font-size: 20px;}
}

.fense-cards__full .specification > div {
    display: flex;
    padding: 8px 0;
    gap: 10px;
    border-bottom: 1px dashed #9f9f9f;
    font-size: 15px;
    line-height: 18px;
    color: #000;
}

.fense-cards__full .specification > div span:nth-child(1) {
    width: 150px;
    flex-shrink: 0;
}

.fense-cards__full .specification > div span:nth-child(2) {
    color: #0000009c;
}

.fense-card__slider {
    margin: 0 !important;
}

.fense-card__slider .slick-track {
    padding: 0 !important
}

.fense-card__slider .slick-dots {
    bottom: 5px;
}

.fense-card__slider .slick-dots li,
.fense-card__slider .slick-dots li button {
    width: 40px;
    height: 3px;
    padding: 0;
    margin: 0 3px;
}

.btn-holder {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    gap: 16px;
}

.fense-order__btn,
.fense-link__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-decoration: none;
    font-size: 13px;
    line-height: 40px;
    font-weight: 700;
    color: #fff !important;
    text-align: center;
    background: var(--primary-color);
    border-radius: 4px;
    transition: all .25s;
    letter-spacing: 0.5px;
    &:hover {
        background: var(--secondary-color);
    }
}

.fense-link__btn {
    background: var(--green-color);
}


.fense-order__btn.yellow-btn {
    background: var(--secondary-color);
    &:hover {
        background: var(--primary-color);
    }
}


.fense-cards__full .btn-holder {
    justify-content: space-between;
    @media (width <= 768px) {
        justify-content: center;
        margin: 0 0 32px 0;
    }
}

.fense-cards__full .fense-order__btn {
    width: 180px;
    line-height: 46px;
}

.btn-holder__right {
    display: flex;
    justify-content: end;
    gap: 12px;
}

.btn-holder .icon {
    width: 100%;
    height: 100%;
}

.whatsapp-btn,
.tg-btn {
    display: block;
    width: 46px;
    height: 46px;
}

@media (max-width: 920px) {
    .fense-cards__full .price {
        gap: 10px;
        justify-content: center;
        padding: 20px 0;
    }
    .card-right .btn-holder {margin-bottom: 30px;}
}

@media (max-width: 767px) {
    .fense-cards__wrapper {
        background: none;
        padding: 20px 0;
    }
    .fense-cards__holder {
        padding-top: 0;
        gap: 10px;
    }
    .fense-cards__item .col-wrapper,
    .fense-cards__item:hover .col-wrapper {
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
    }
    .fense-cards__full .card-right {
        padding-top: 20px;
    }
    .fense-cards__full .price .old-price {
        font-size: 16px;
        padding-top: 4px;
    }
    .fense-cards__full .price .new-price {
        font-size: 18px;
        font-weight: 500;
    }
    .fense-cards__full .price .new-price span {
        font-size: 24px;
        font-weight: 600;
    }
    .fense-cards__full .color-item {
        gap: 16px;
    }

    .fense-cards__full .color-item__color {
        width: 41px;
        height: 41px;
        border-radius: 22px;
    }

    .fense-cards__full .color-item p {
        font-size: 10px;
        line-height: 11px;
    }

}

.fense-cards__full.level-2 .price {
    display: block;
    font-size: 24px;
    font-weight: 600;
}

@media (min-width: 920px) {
    .fense-cards__full.level-2 .price {margin-bottom: 32px;}
}

.fense-cards__full.level-2 .price span {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

.fense-cards__full.level-2 .sub-links {
    margin-bottom: 12px;
}

.fense-cards__full.level-2 .sub-links a {
    white-space: nowrap;
}

.col-wrapper-border {
    padding: 12px;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    transition: all .25s;
}

.col-wrapper-border:hover {
    background: #f5f5f8;
}

.col-wrapper-border img {
    border-radius: 8px;
}

/* Slick Slider
    -------------------------*/
.slider-images {
    margin-bottom: 60px;
}

.slick-track {
    padding: 12px 0 !important;
    display: flex !important;
}

.slick-slide {
    height: auto !important;
    flex: 0 0 auto;
}

.slick-slide img {
    margin: 0 auto;
}

.slick-dots li button {
    border-radius: 20px;
    background: #d9d9d9;
}

.slick-dots li button:before {
    content: none !important;
}

.slick-dots li.slick-active button {
    opacity: 1 !important;
    background: var(--secondary-color);
}

@media (max-width: 767px) {
    .slick-slide {margin: 0 15px;}
    .fense-cards__full .slick-slide {margin: 0;}
}

/* Слайдер на мобильных
    ----------------------*/
@media (max-width:767px) {
    .mobile-slider {
        display: flex;
        flex-wrap: nowrap;
        overflow: auto;
        scroll-snap-type: x mandatory;
        scroll-padding:5px;
        padding: 12px 0 30px 0;
        margin: 0 1px;
    }
    .mobile-slider > * {
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
    
    .mobile-slider::-webkit-scrollbar {
        height: 6px;
        background-color: #f9f9fd;
    }

    .mobile-slider::-webkit-scrollbar-thumb {
        border-radius: 6px;
        background-color: #1f83ad;
    }

    .mobile-slider::-webkit-scrollbar-track {
        border-radius: 6px;
        background-color: #f0f0f0;
    }
}

/* Старые слайдеры
    ----------------------*/
.slides,
.slides-2,
.slides-3,
.slides-4 {
    margin: 20px 0 60px 0;
}

.inner-slide,
.inner-slide-2,
.inner-slide-3,
.inner-slide-4 {
    display: flex !important;
    padding: 0 50px;
    gap: 30px;
}

[class^="inner-slide"] > a,
[class^="inner-slide"] > img {
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .inner-slide,
    .inner-slide-2,
    .inner-slide-3,
    .inner-slide-4 {
        padding: 0;
        flex-wrap: wrap;
    }
}

/* Форма в шапке
    -----------------------*/
.form-top__holder {
    width: 436px;
    max-width: 100%;
    height: 620px;
    width: auto;
    height: auto;
    background: #fff;
    padding: 28px;
    box-shadow: 0px 4px 34px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    margin: 0 auto;
    /*transform: translateY(168px);*/
    color: var(--primary-text-color);
    font-size: 14px;
    line-height: 16px;
}

.form-top__holder .form-title {
    font-size: 24px;
    line-height: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 28px;
}

.form-top__holder input,
.form-top__holder textarea {
    width: calc(100% - 40px);
    padding: 18px 20px;
    font-size: 14px;
    font-family: 'Gilroy';
    color: #282828;
    line-height: 16px;
    border: 1px solid #636679;
    border-radius: 10px;
    margin-bottom: 18px;
}

.form-top__holder textarea {
    height: 128px;
}

.form-top__holder input[type="submit"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all .5s;
}

.form-top__holder input[type="submit"]:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

@media (max-width: 767px) {
    .form-top__holder .form-title {font-size: 20px;line-height: 24px;margin-bottom: 20px;}
}

/* Модальное окно заказа забора
    ----------------------------------*/
#fense-order {
    text-align: center !important;
}

.fense-order__inputs {
    margin: 20px 0;
}

.fense-order__inputs input {
    width: 100%;
    padding: 18px 20px;
    font-size: 14px;
    font-family: 'Gilroy';
    color: #282828;
    line-height: 16px;
    border: 1px solid #636679;
    border-radius: 10px;
    margin-bottom: 18px;
    box-sizing: border-box;
}

.fense-order__error {
    display: none;
    margin-top: 10px;
    color: red;
}


/* Блок заказа с одним полем
----------------------------------*/
.phone-order__holder {
    position: relative;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    padding: 25px 30px 15px 55px;
    border-radius: 10px;
    font-size: 16px;
    line-height: 21px;
    background: var(--secondary-color);
    @media (width <= 768px) {
        flex-direction: column;
        padding: 25px;
    }
}

.phone-order__holder p {
    margin: 0;
    @media (width <= 768px) {
        padding-right: 70px;
    }
}

.phone-order__holder a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.phone-order__title {
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    margin-bottom: 5px;
}

.phone-order__text {
    max-width: 590px;
    @media (width <= 768px) {
        height: 150px;
    }
}

.phone-order__image {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    @media (width <= 768px) {
        bottom: unset;
        transform: translateX(-20px);
        top: 85px;
        z-index: 1;
    }
}

.phone-order__form {
    position: relative;
    z-index: 2;
}

.phone-order__inputs input {
    width: 226px;
    height: 40px;
    padding: 0 0 0 15px;
    margin: 0 10px 0 0;
    border-radius: 4px;
    background: #fff;
    @media (width <= 768px) {
        width: 100%;
        margin: 0 0 10px 0;
        box-sizing: border-box;
    }
}

.phone-order__inputs .btn {
    width: 140px;
    font-size: 13px;
    line-height: 40px;
    font-weight: 700;
    text-align: center;
    color: #fff;
    background: var(--primary-color);
    padding: 0;
    @media (width <= 768px) {
        width: 100%;
    }
}

.phone-order .agreement-text {
    margin: 5px 0 0 0;
    gap: 0px;
    p {
        margin-bottom: 5px;
    }
    label {
        font-size: 10px;
        line-height: 1.5;
        font-weight: 400;
    }
}

.order-woman .phone-order__holder {
    padding-left: 40px;
    align-items: center;
}

.order-woman .phone-order__text {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.order-woman .phone-order__image {
    left: 58%;
}


/* Страницы области
----------------------*/
.region h2 {
    margin-top: 40px;
    text-align: left !important;
}
@media (max-width: 767px) {
    .region .mobile-slider {margin-bottom: 30px;}
}
#mapRegion {
    height: 510px;
    width: 100%;
    margin-bottom: 70px;
}

/*----------------------*/
.fancybox-content {
    padding: 40px 25px 25px 25px;
    width: 410px;
    font-size: 16px;
    line-height: 22px;
}

.fancybox-content img {
    width: 100%;
}

.tooltip {
    z-index: 1080;
    display: block;
    padding: 3px 9px;
    line-height: 1.5;
    line-break: auto;
    word-wrap: break-word;
    opacity: 0;
    background: #282828;
    color: #fff;
    border-radius: 4px;
  }
  .tooltip.show {
    opacity: 0.9;
  }
  .tooltip .tooltip-arrow {
    display: block;
    width: 16px;
    height: 8px;
    background: #282828;
    bottom: 0;
  }
  .tooltip .tooltip-arrow::before {
    position: absolute;
    content: "";
    border-color: transparent;
    border-style: solid;
    bottom: -4px;
    border-width: 8px 8px 0 8px;
    border-top-color: #282828;
  }
  .tooltip-inner {
    padding: 4px 12px;
    color: #fff;
    text-align: center;
    background-color: #282828;
    border-radius: 4px;
  }

.cover {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.service-item {
    width: 270px;
    display: block;
    vertical-align: top;
    text-align: center;
    margin: 0 0 20px 0;
    padding: 20px;
    background: #f0f0f0;
}

table.price {
    width: 100%;
    border-top: 1px solid #d7d6d4;
    border-left: 1px solid #d7d6d4;
    text-align: center;
    margin: 0px 0px 15px;
    border-collapse: collapse;
}

table.price tr.first {
    background: #e9eddd;
}

table.price td {
    border-right: 1px solid #d7d6d4;
    border-bottom: 1px solid #d7d6d4;
    padding: 5px;
}

table.zaborPrice td {
    text-align: center;
}

table.zaborPrice img {
    margin: 25px 5px 3px 5px;
    border: 1px solid #d7d6d4;
}

/* Дополнительные стили по разделам
-----------------------*/
.sub-25 .sub-links__holder,
.sub-42 .sub-links__holder {
    margin-top: 32px;
}

/* Страница прайсов
--------------------------------------*/
.prices-page .image-wrap {
    position: relative;
    cursor: pointer;
}
.prices-page .image-name {
    position: absolute;
    bottom: 0px;
    color: #fff;
    padding: 10px 15px;
    background: rgba(0, 0, 0, .5);
    width: calc(100% - 52px);
}
.prices-page .price-text .h3 {
    text-align: center;
}

/* Дополнительные стили
--------------------------------------*/
.object-item.hide {display:none;}
.btn__show-more,
.js-load-more {
    margin: 30px auto;
    display: block;
}


.map {
  position: relative;
}
.map .fast-order {
  position: absolute;
  left: 30px;
  top: 145px;
  background: #8AE573;
  border-radius: 16px;
  padding: 14px 44px 42px 32px;
}

.map .fast-order::before{
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: #EBF3E7;
  border-radius: 16px;
  bottom: 8px;
  right: 13px;
  box-shadow: 0px 16px 16px -8px rgba(12, 12, 13, 0.1), 0px 4px 4px -4px rgba(12, 12, 13, 0.05);
}
.map .fast-order>* {
  position: relative;
  z-index: 2;
}
.map .fast-order>h3 {
  font-size: 0;
  margin: 0;
}
.map .fast-order>h3::before{
  content: 'Остались вопросы?';
  font-weight: 600;
  font-size: 27px;
  line-height: 33px;
  display: block;
}
.map .fast-order>h3::after {
  content: 'Оставьте заявку на бесплатную консультацию';
  display: block;
  font-size: 16px;
  line-height: 20px;
  color: #696969;
  margin: -24px 0 54px;
  font-weight: 400;
}
.map #bigMap iframe {
  height: 430px;
}
.map form[name="citys"]{
  display: flex;
  gap: 15px 42px;
  flex-wrap: wrap;
  max-width: 594px;
}
.map form[name="citys"] input{
  line-height: 46px;
    border-radius: 5px;
    padding: 0 12px;
    font-family: Gilroy, sans-serif;
    background: #e6e6e6;
    width: 170px;
    box-sizing: border-box;
}
.map form[name="citys"] input[type="submit"] {
  background: #06719E;
  color: #fff;
}

.map form[name="citys"]:after{
  content: 'Нажимая на кнопку, я даю согласие на обработку своих персональных данных';
  display: block;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 14px;
  color: #9A9A9A;
  margin-top: 10px;
}

.fense-cards__full .extra-price .measure>img {
  width: 34px;
  height: 34px;
  margin-right: 10px;
  flex-shrink: 0;
}
.naves-items {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
}

.naves-item {
  width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.naves-item__name {
  text-align: center;
  padding-bottom: 5px;
  white-space: nowrap
}

.naves-item__image img {
  width: 120px;
  height: 120px;
  display: block;
  border-radius: 12px;
}

.naves-links__wrap {
  margin: 40px 0 20px;
  padding: 30px 0 46px;
  background: rgba(31, 131, 173, 0.68);
}

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

.naves-links__title {
  font-weight: 600;
}

.naves-links__item {
  padding: 0 8px;
  line-height: 20px;
  background: #fff;
  border-radius: 5px;
  transition: all .3s;
}

.naves-links__item:hover,   .naves-links__item.active {
  color: #fff;
  background: #0095FF;
}

.naves-install {
}

.naves-install__holder {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 40px;
    @media(width <= 768px) {
        grid-template-columns: 100%;
    }
}

.naves-install__line {
    position: absolute;
    width: 720px;
    height: 3px;
    background: var(--green-color);
    top: 78px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    @media(width <= 768px) {
        top: 50px;
        left: 21px;
        width: 3px;
        height: 700px;
        transform: none;
    }
}

.naves-install__item {
    @media (width <= 768px) {
        display: flex;
        gap: 20px;
    }
}

.naves-install__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 40px;
    font-size: 38px;
    line-height: 1;
    font-weight: 700;
    color: #fff;
    margin: 0 auto 30px;
    background: var(--green-color);
    @media (width <= 768px) {
        font-size: 20px;
        width: 44px;
        height: 44px;
        border-radius: 22px;
        flex-shrink: 0;
    }
}

.naves-install__item img {
    display: block;
    border-radius: 10px;
}

.naves-install__title {
    font-size: 22px;
    line-height: 24px;
    font-weight: 700;
    margin: 20px 0;
}

.naves-install__after {
    display: flex;
    gap: 20px;
    width: 100%;
    margin-top: 30px;
    padding: 25px 20px 10px 20px;
    border: 1px solid var(--secondary-color);
    border-radius: 10px; 
}

.naves-install__after svg {
    flex-shrink: 0;
}

@media screen and (max-width: 576px) {
        .map .fast-order {
            position: relative;
            top: 0;
            left: 0;
        }
        .map {
            margin-top: 20px;
    }
}

/* Header новые стили
------------------------------------*/
header .top {
    height: 53px;
}

header .container {
    height: 100%;
}
.top__location {
    align-items: center;
    gap: 3px;
    font: 400 16px/28px var(--primary-font);
    color: var(--primary-color);
    cursor: pointer;
}

.top__location img {
    width: 19px;
    height: 20px;
}

.top__menu {
    display: flex;
    gap: 30px;
}

.top__menu li {
    list-style: none;
}

.top__menu a {
    font: 500 16px/28px var(--primary-font);
    text-decoration: none;
    position: relative;
}

.top__menu a:before {
    content: "";
    display: block;
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0px;
    height: 3px;
    background: var(--primary-text-color); 
    transition: all .25s linear;
}

.top__menu a:hover {
    color: var(--primary-text-color);
}

.top__menu a:hover:before {
    width: 100%;
}

header .social-groups > a {
    background: var(--primary-color);
}

header .social-groups svg.icon {
    fill: #fff;
}

.navbar {
    height: 80px;
    border-top: 1px solid var(--border-color);
}

.navbar__left {
    gap: 50px;
}

.catalog-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    font: 600 18px/28px var(--primary-font);
    color: var(--primary-color);
    cursor: pointer;
    img {
        width: 25px;
        height: 21px;
    }
}

.catalog-btn:after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 1px solid var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
    transform: rotate(45deg) translateY(-3px);
}

.catalog-btn.active:after {
    transform: rotate(-135deg) translate(-3px, 0);
}

.navbar__right {
    gap: 20px;
    @media (width <= 575px) {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }
}

.navbar__contacts {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.navbar__phone {
    font: 500 23px/23px var(--primary-font);
    letter-spacing: 0.4px;
    @media (width <= 575px) {
        font-size: 18px;
        line-height: 18px;
        margin: 6px 0 4px 0;
    }
}

.navbar__work-time {
    font: 500 13px/12px var(--primary-font);
    @media (width <= 575px) {
        font-size: 12px;
        line-height: 12px;
        margin-bottom: 16px;
    }
}

.navbar__work-time br {
    display: none;
    @media (width <= 575px) {
        display: block;
    }
}

.navbar__buttons {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.navbar__callback-btn {
    display: flex;
    width: 198px;
    height: 45px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font: 500 16px/16px var(--primary-font);
    color: #fff;
    background: var(--green-color);
    border-radius: 4px;
    cursor: pointer;
}

.navbar__callback-btn img {
    width: 19px;
    height: 19px;
}

.navbar__quiz-btn {
    display: flex;
    width: 156px;
    height: 45px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font: 500 16px/16px var(--primary-font);
    color: var(--black-color);
    background: var(--secondary-color);
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
}

.navbar__quiz-btn:hover {
    color: var(--black-color);
}

.navbar__quiz-btn .icon-calc {
    width: 22px;
    height: 28px;
}

.catalog-nav {
    display: none;
    position: absolute;
    padding: 25px 0 45px;
    background: #fff;
    width: 100%;
}

.catalog-nav .container {
    justify-content: flex-start;
    align-items: flex-start;
}

.catalog-nav__left {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 240px;
    border-right: 1px solid var(--primary-color);
}

.catalog-nav__item {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 15px;
    font: 600 24px/24px var(--primary-font);
    color: var(--primary-color);
    cursor:context-menu;
}

.catalog-nav__item:nth-child(2) {
    padding: 40px 0;
}

.catalog-nav__item.active:after {
    content: "";
    width: 14px;
    height: 14px;
    border-top: 1px solid var(--primary-color);
    border-right: 1px solid var(--primary-color);
    transform: rotate(45deg);
    margin-left: auto;
    margin-right: -8px;
    background: #fff;
}

.catalog-nav__menu {
    display: none;
}

.catalog-nav__menu#zabor {
    display: block;
}

.catalog-nav__menu ul {
    list-style: none;
    display: grid;
    grid-template-columns: auto;
    gap: 20px 50px;
    margin: 0;
    padding: 0;
}
.catalog-nav__menu#zabor ul {
    grid-template-columns: repeat(2, 1fr);
}

.catalog-nav__menu .parking-holder {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 50px;
}

.parking-holder > div {
    width: 270px;
}

.catalog-nav__menu .parking-holder ul {
    grid-template-columns: auto;
}

.catalog-nav__menu a {
    display: block;
    font: 600 18px/18px var(--primary-font);
    text-decoration: none;
    padding-right: 5px;
    transition: all.25s linear;
}

.catalog-nav__menu a:hover {
    color: var(--primary-text-color);
    padding-right: 0px;
    padding-left: 5px;
}

a.catalog-nav__title {
    display: block;
    margin-bottom: 20px;
    font: 700 21px/21px var(--primary-font);
}

.catalog-btn__mobile {
    display: none;
    align-items: center;
    gap: 39px;
    font: 600 22px/22px var(--primary-font);
}

.catalog-btn__mobile img {
    width: 41px;
    height: 29px;
}

.navbar .menu-name {
    display: none;
    flex-shrink: 0;
    font: 600 22px/22px var(--primary-font);
    color: var(--primary-text-color);
}

.navbar .menu-name.active {
    color: var(--primary-color);
}

@media (max-width: 575px) {
    header {transition: all .5s linear;}
    .catalog-btn__mobile {display: flex;}
    .catalog-btn__mobile .menu-close {display: none;}
    .call__top-menu {margin-right: auto;margin-top: 8px;}
    .top__menu {display: none;}
    .navbar {height: 185px;margin-bottom: 10px;}
    .navbar .container {flex-direction: column;flex-wrap: nowrap;}
    .navbar .logo {width: 289px;height: 45px;}
    .navbar__contacts {justify-content: flex-start;height: 100px;}
    .navbar__left .catalog-btn {display: none;}
    .navbar__buttons {display: flex;width: 168px;justify-content: flex-end;flex-wrap: wrap;gap: 10px;}
    .navbar__callback-btn,
    .navbar__quiz-btn {width: 168px;font-size: 14px;}
    .navbar__buttons.active .navbar__callback-btn,
    .navbar__buttons.active .navbar__quiz-btn {width: 61px;}
    .navbar__buttons.active .navbar__callback-btn span,
    .navbar__buttons.active .navbar__quiz-btn span {display: none;}
    .catalog-nav__left {width: 100%;border: none;height: 500px;overflow: scroll;}
    .catalog-nav__menu {padding-top: 20px;border-top: 1px solid #e7e7e9;}
    .catalog-nav__item {flex-wrap: wrap;position: relative;margin-bottom: 40px;;}
    .catalog-nav__item:nth-child(2) {padding: 0;}
    .catalog-nav__item.active:after {
        position: absolute;
        left: 20px;
        top: 50px;
        margin: 0;
        border-top: 1px solid #e7e7e9;
        border-right: 1px solid #e7e7e9;
        transform: rotate(135deg);

    }
    .catalog-nav__menu#zabor ul,
    .catalog-nav__menu .parking-holder {grid-template-columns: auto;}
    .catalog-nav__menu a {line-height: 30px;} 
    .main-nav {display: none;}
    .main-nav .catalog-nav__menu {display: block;} 
}

@media (max-width: 380px) {
    .navbar__buttons {width: 148px;}
    .navbar__callback-btn, .navbar__quiz-btn {width: 100%;font-size: 12px;}
}

.body-overlay {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .8);
    z-index: 2;
}

.body-overlay.active {
    display: block;
}

.city__holder {
    display: none;
    position: absolute;
    top: 0;
    z-index: 200;
    width: 100%;
    background: #fff;
    padding: 40px 20px;
}

.city__holder .container {
    display: flex;
    gap: 40px;
    @media (width <= 768px) {
        flex-wrap: wrap;
        padding: 0;
    }
}

.city__main {
    margin: 0;
    list-style: none;
    width: 180px;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 500;
    @media (width <= 768px) {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        font-size: 13px;
    }
}

.city__main li {
    padding: 0 12px;
    margin: 0 0 12px 0;
    line-height: 26px;
    border-radius: 50px;
    color: var(--primary-color);
    cursor: pointer;
    @media (width <= 768px) {
        line-height: 34px;
        border: 1px solid var(--bg-gray);
        margin: 0;
    }
}

.city__main li.active {
    background: var(--primary-color);
    color: #fff;
    cursor: default;
}

.city__main li a,
.city__main li.active a,
.city__main li a:hover {
    color: inherit;
    text-decoration: none;
    display: inline-block;
    width: 100%;
}

.city__child {
    display: none;
}
.city__child.active {
    display: flex;
    gap: 20px;
    @media (width <= 768px) {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.city__child-title {
    font-size: 21px;
    line-height: 1.3;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-decoration: none;
}

.city__child-region {
    display: none;
    font-size: 21px;
    line-height: 1.3;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-decoration: none;
    @media (width <= 768px) {
        display: block;
    }
}

.city__child-column {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.city__child .first-letter {
    font-weight: 500;
    font-size: 21px;
    margin-bottom: 6px;
}

.city__child-item {
    text-decoration: none;
}

.city__child-item:has(+ .first-letter) {
    margin-bottom: 15px;
}

.agree-cookies {
    position: fixed;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    width: 100%;
    text-align: center;
    color: #fff;
    z-index: 999999999;
    padding: 18px 0;
    transition: all .25s linear;
}

.agree-cookies.accepted {
    bottom: -200px;
}

.agree-cookies__close {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    @media (width <= 1024px) {
        width: 28x;
        height: 28px;
    }
}

.agree-cookies__close svg {
    width: 100%;
    height: 100%;
    stroke: #fff;
}

.agree-cookies__text {
    padding: 0 20px;
}

.agree-cookies__bnts {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.agree-cookies__bnts a {
    display: block;
    line-height: 45px;
    width: 180px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    align-items: center;
    background: rgba(0, 0, 0, .7);
    border: 1px solid #fff;
    border-radius: 6px;
}

.agree-cookies__bnts a.agree-cookies__agree {
    color: var(--primary-text-color);
    background: rgba(255, 255, 255, .8);
}

.region-cities__title {
    margin-bottom: 20px;
    text-align: center;
}

.region-cities__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
}

.region-cities__links a {
    text-decoration: none;
}

.region-cities__links a.active {
    background: #0095FF;
    color: #fff;
    padding: 3px 12px;
    border-radius: 20px;
}


.form-top__holder {
    display: none;
}

.show-more__wide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 20px);
    height: 55px;
    font-size: 16px;
    font-weight: 500;
    background: #f0f0f0;
    border-radius: 10px;
    margin: 20px auto 0 auto;
    cursor: pointer;
}

.profnastil-type {
    width: 250px;
    height: 226px;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .7);
    z-index: 9000;
    overflow-y: auto;
    display: none;
}

.modal__inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 520px;
    max-width: 100%;
    padding: 30px;
    border-radius: 10px;
    background: #fff;
    z-index: 9999;
}

.modal__close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.modal__close svg {
    width: 100%;
    height: 100%;
}

.modal__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.modal__inner input[type="text"],
.modal__inner textarea {
    padding: 8px 5px;
    border: 1px solid #dadada;
    background: #f0f0f0;
    width: 100%;
    box-sizing: border-box;
    border-radius: 4px;
    margin-bottom: 10px;
    font-family: Gilroy;
}

.modal__inner input[name="f_Phone"] {
    width: 220px;
}

.modal__inner textarea {
    height: 100px;
}

.agreement-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 20px;
}

.agreement-text label {
    display: flex;
    align-items: center;
    gap: 5px;
    @media (width <= 768px) {
        align-items: start;
        & input {
            margin-top: 3px;
        }
    }
}

.simple-text {
    margin-bottom: 40px;
}

.text-video .container {
    @media (width <= 768px) {
        margin: 0;
        padding: 0;
    }
}


/* Новые блоки
------------------------------*/

.text-video__item {
    display: flex;
    background: var(--bg-block);
    border-radius: 10px;
    overflow: hidden;
    @media (width <= 768px) {
        flex-wrap: wrap;
        border-radius: 0;
    }
}

.text-video__text {
    padding: 30px 25px;
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
    @media (width <= 768px) {
        font-size: 16px;
        line-height: 20px;
        padding: 20px 10px;
    }
}

.text-video__text h2 {
    font-size: 24px;
    line-height: 30px;
    margin: 0 0 20px 0;
    @media (width <= 768px) {
        font-size: 18px;
        line-height: 21px;
        margin: 0 0 15px 0; 
    }
}

.text-video__text {
    width: 80%;
    @media (width <= 768px) {
        width: 100%;
    }
}

.text-video__video {
    width: 500px;
    flex-shrink: 0;
    @media (width <= 768px) {
        width: 100%;
        height: 208px;
        padding: 0 10px;
    }
}

.text-video__video video {
    display: block;
    height: 100%;
    @media (width <= 768px) {
        height: 208px
    }
}

.text-video__item .btn-blue {
    margin-top: 20px;
    @media (width <= 768px) {
        margin: 25px auto;
    }
}

.ways {
    padding: 20px 0 40px;
}
.ways__holder {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ways__item {
    display: flex;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    max-width: 380px;
    height: 222px;
    background: var(--bg-block);
    border-radius: 10px;
    padding: 30px 120px 0 25px;
    position: relative;
}

.ways__item-title {
    font-size: 18px;
    line-height: 21px;
    font-weight: 700;
    margin-bottom: 25px;
}

.ways__item.only-text {
    background: var(--primary-color);
    padding: 25px;
}

.ways__item.only-text .ways__item-title {
    font-size: 24px;
    line-height: 30px;
    color: #fff;
}

.ways__item-image {
    flex-shrink: 0;
    width: fit-content;
    height: fit-content;
    position: absolute;
    right: 0;
    bottom: 0;
}

.ways__item-image img {
    display: block;
}

.ways .middle-block {
    display: flex;
    gap: 20px 45px;
    flex-wrap: nowrap;
    margin: 40px 0;
    background: var(--bg-block);
    border-radius: 10px;
    overflow: hidden;
}

.middle-block__image {
    flex-shrink: 0;
}

.middle-block__image img {
    display: block;
    border-radius: 10px;
}

.middle__title {
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    margin: 25px 0;
}

.middle__title .small {
    font-size: 13px;
    font-weight: 500;
}

.middle__text-items {
    display: flex;
    flex-wrap: wrap;
    gap: 25px 30px;
    padding-right: 30px;
}

.middle__text-item {
    width: calc(50% - 15px);
    padding-left: 20px;
    position: relative;
}

.middle__text-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 40px;
    background: var(--primary-color);
}

.ways .hide {
    display: none;
}

.show-more {
    margin-top: 25px;
}

.show-more span {
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    width: fit-content;
    color: var(--primary-color);
    border-bottom: 1px dashed var(--primary-color);
    transition: .25 linear;
    cursor: pointer;
    &:hover {
        border-bottom-color: transparent;
    }
}

.show-more::before {
    content: "...";
    display: inline;
    font-size: 14px;
    color: var(--primary-color);
}

.col-wrapper .card__call-order {
    height: calc(100% - 80px);
    padding: 30px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #fff;
    border-radius: 10px;
    background-color: var(--primary-color);
    background-image: url(/zaboroff/images/card-order-man.png);
    background-repeat: no-repeat;
    background-position: right bottom;
}

.call-order__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 21px;
    margin-bottom: 15px;
}

.before-calc {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    @media (width <= 768px) {
        flex-wrap: wrap;
    }
}

.before-calc__title {
    width: 280px;
    height: 320px;
    padding: 30px;
    background-color: var(--primary-color);
    border-radius: 10px;
    color: #fff;
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-position: right bottom;
    @media (width <= 768px) {
        width: 100%;
        height: 255px;
    }
}

.before-calc__text {
    background: var(--bg-block);
    border-radius: 10px;
    padding: 40px 120px 30px 35px;
    flex-grow: 1;
    @media (width <= 768px) {
        padding: 30px 30px 15px 30px;
    }
}

.stepwise__holder {
    display: flex;
    gap: 20px;
    padding: 40px 0;
    overflow: overlay;
}

.stepwise__item {
    width: 280px;
    padding: 20px;
    background-color: var(--bg-block);
    border-radius: 10px;
    flex-shrink: 0;
    overflow: hidden;
}

.stepwise__item.draw {
    height: 400px;
    padding: 30px 35px;
    background-color: var(--primary-color);
    color: #fff;
    background-repeat: no-repeat;
    background-position: left bottom;
}

.stepwise__item.video {
    height: 355px;
    padding: 0;
    background-color: var(--primary-color);
    color: #fff;
}

.stepwise__item-num {
    width: 44px;
    height: 44px;
    border-radius: 22px;
    color: #fff;
    font-size: 20px;
    line-height: 44px;
    font-weight: 700;
    text-align: center;
    background-color: var(--primary-color);
}

.stepwise__item-title {
    width: 200px;
    height: 100px;
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
    margin: 25px 0;
    padding-bottom: 25px;
    border-bottom: 3px solid var(--secondary-color);
}

.stepwise__item.draw .stepwise__item-title {
    margin: 0;
    border: none;
}

.stepwise__item.video .stepwise__item-title {
    margin: 0;
    border: none;
    padding: 20px 35px;
    width: auto;
    height: auto;
    color: #fff;
}

.proflist-types {
    padding-top: 40px;
    padding-bottom: 40px;
}

.proflist-types__holder {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.proflist-type {
    background-color: var(--bg-block);
    border-radius: 10px;
    padding: 15px;
}

.proflist-type__title {
    width: 200px;
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
    margin: 5px 0 15px 0;
    padding: 0 0 10px 0;
    border-bottom: 3px solid var(--secondary-color);
}

.proflist-type__text > div {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    line-height: 27px;
    color: #999;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--bg-gray);
}

.proflist-type__text > div span:last-child {
    color: var(--primary-text-color)
}

.proflist-type img {
    display: block;
    margin-top: 20px;
    border-radius: 10px;;
}

.schema-zabor {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
    padding: 40px;
    background-color: var(--bg-block);
    border-radius: 10px;
    @media (width <= 768px) {
        grid-template-columns: 100%;
        padding: 20px;
    }
}

.schema-zabor img {
    border-radius: 10px;
    display: block;
    @media (width <= 768px) {
        order: 1;
    }
}

.schema-text {
    padding-right: 80px;
    font-size: 18px;
    line-height: 24px;
    @media (width <= 768px) {
        order: 2;
        padding: 0;
    }
}

.schema-text h2 {
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    margin: 0 0 20px 0;
}

/* Преимущества
----------------------------*/
.advantages__holder {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-top: 40px;
}

.advantages__item {
    width: 280px;
    height: 220px;
    padding: 25px 10px 25px 25px;
    border-radius: 10px;
    background: var(--bg-block);
    @media (width <= 768px) {
        width: 100%;
        height: fit-content;
    }
}

.advantages__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.advantages__header-title {
    width: calc(100% - 50px);
    font-size: 18px;
    line-height: 21px;
    font-weight: 700;
}

.advantages__header-text {
    padding-right: 15px;
}

.advantages2 {
    padding: 60px 0;
}

.ad2__holder {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    @media (width <= 768px) {
        flex-wrap: nowrap;
    }
}

.ad2__item {
    width: 380px;
    height: 236px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px 0px #00000040;
    @media (width <= 768px) {
        width: 240px;
        height: 400px;
    }
}

.ad2__item.item-first {
    position: relative;
    padding-left: 170px;
    overflow: hidden;
    color: #fff;
    font-size: 24px;
    line-height: 24px;
    font-weight: 700;
    background: var(--primary-color);
    @media (width <= 768px) {
        flex-shrink: 0;
        font-size: 20px;
        padding: 20px;
        overflow: visible;
    }
}

.ad2__item.item-first img {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 220px;
}

.ad2__item.item-first .item-right {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
}

.ad2__item.item-first .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    line-height: 40px;
    padding: 0;
    @media (width <= 768px) {
        display: none;;
    }
}

.ad2__item-header {
    display: flex;
    gap: 10px;
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 3px solid var(--secondary-color);
}

.ad2__item-num {
    width: 44px;
    height: 44px;
    border-radius: 22px;
    color: #fff;
    font-size: 20px;
    line-height: 44px;
    font-weight: 700;
    text-align: center;
    background-color: var(--green-color);
}

.ad2__item-title {
    width: 152px;
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
}

/* Галерея по-новому в разделах
---------------------------------*/
.sub-gallery {
    padding: 40px 0;
    margin: 40px 0;
    background: var(--bg-block);
}
.sub-gallery__holder {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 20px;
    margin-top: 30px;
}

.sub-gallery__item.item-1 {
    grid-column: span 2;
    grid-row: span 1;
    @media (width <= 768px) {
        order: 4;
    }
}

.sub-gallery__item.item-2 {
    grid-column: span 2;
    grid-row: span 2;
}

.sub-gallery__item.item-3,
.sub-gallery__item.item-4,
.sub-gallery__item.item-5,
.sub-gallery__item.item-7 {
    grid-column: span 1;
    grid-row: span 1;
}

.sub-gallery__item.item-6 {
    grid-column: span 2;
    grid-row: span 1;
}

.sub-gallery__holder img {
    border-radius: 10px;
    transition: all .25s linear;
    &:hover {
        opacity: .8;
    }
}

@media (width <= 768px) {
    .sub-gallery__holder {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 178px;
        gap: 10px;
    }
    .sub-gallery__item.item-1 {order: 1}
    .sub-gallery__item.item-2 {order: 4}
    .sub-gallery__item.item-3 {order: 2}
    .sub-gallery__item.item-4 {order: 3}
    .sub-gallery__item.item-5 {order: 5}
    .sub-gallery__item.item-6 {order: 7}
    .sub-gallery__item.item-7 {order: 6}
}

/* Навесы
-----------------------*/
.naves-variants {
    padding-top: 40px;
}

.naves-variants__holder {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
    @media (width <= 768px) {
        grid-template-columns: 100%;
    }
}

.naves-variant__title {
    font-size: 20px;
    line-height: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.naves-variant__clear {
    width: fit-content;
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
    color: var(--primary-color);
    margin: 0 0 20px auto;
    border-bottom: 1px dashed var(--primary-color);
    cursor: pointer;
    transition: all .25s linear;;
    &:hover {
        border-bottom-color: transparent;
    }
}

.naves-forms__item {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 18px;
    line-height: 40px;
    font-weight: 500;
    text-decoration: none;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    margin-bottom: 15px;
    padding: 0 20px;
    transition: all .25s linear;
    & .arrow-right {
        margin-left: auto;
    }
    & .icon {
        width: 28px;
        height: 25px;
        fill: var(--primary-color);
    }
    &:hover {
        color: #fff;
        background: var(--primary-color);
        border-color: var(--primary-color);
        .icon {
            fill: #fff;
        }
    }
}

.naves-materials__item {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 14px;
    line-height: 28px;
    font-weight: 500;
    text-decoration: none;
    color: var(--primary-color);
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    margin-bottom: 10px;
    padding: 0 20px;
    transition: all .25s linear;
    & .icon-cross {
        display: none;
        width: 14px;
        height: 14px;
        fill: #fff;
        margin-left: auto;
    }
    &:hover {
        color: #fff;
        background: var(--primary-color);
        border-color: var(--primary-color);
    }
}

.naves-materials__item.active {
    color: #fff;
    background: var(--primary-color);
    border-color: var(--primary-color);
    & .icon-cross {
        display: block;
    }
}

.service-form {
    padding: 40px 0 60px 0;
    @media (width <= 768px) {
        padding-bottom: 0;
    }
}

.service-form__holder {
    display: flex;
    background: var(--primary-color);
    font-size: 18px;
    line-height: 1.3;
    font-weight: 400;
    color: #fff;
    border-radius: 10px;
    overflow: hidden;
    @media (width <= 768px) {
        font-size: 16px;
        line-height: 20px;
        flex-direction: column-reverse;
    }
}

.service-form__left {
    padding: 70px 70px 50px 60px;
    @media (width <= 768px) {
        padding: 50px 25px;
    }
}

.service-form__text .bold {
    font-size: 24px;
    line-height: 1;
    font-weight: 700;
    margin: 25px 0;
    @media (width <= 768px) {
        font-size: 18px;
    }
}

.service-form__title {
    font-size: 40px;
    line-height: 1;
    font-weight: 700;
    margin: 0 0 20px 0;
    @media (width <= 768px) {
        font-size: 24px;
        line-height: 29px;
    }
}

.service-form__image {
    display: block;
    flex-shrink: 0;
}

.service-form__inputs {
    width: 500px;
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 15px;
    @media (width <= 768px) {
        grid-template-columns: 100%;
    }
}

.service-form__inputs input[type="text"] {
    background: #eee;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    height: 42px;
    padding: 0 0 0 15px;
    font-family: Gilroy;
    font-size: 16px;
    line-height: 1;
    color: #636363;
}

.service-form__left textarea {
    width: 500px;
    max-width: 100%;
    height: 96px;
    box-sizing: border-box;
    background: #eee;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    padding: 5px 10px 5px 15px;
    margin-bottom: 15px;
}

.service-form__left .btn {
    @media (width <= 768px) {
        width: 100%;
    }
}

.service-form__left .agreement-text a {
    color: #fff;
}