@font-face {
    font-family: "Neometric";
    src: url("/template/font/Neometric/Neometric-Regular.eot");
    src: url("/template/font/Neometric/Neometric-Regular.eot?#iefix") format("embedded-opentype"),
        url("/template/font/Neometric/Neometric-Regular.woff2") format("woff2"),
        url("/template/font/Neometric/Neometric-Regular.woff") format("woff"),
        url("/template/font/Neometric/Neometric-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Neometric";
    src: url("/template/font/Neometric/Neometric-Light.eot");
    src: url("/template/font/Neometric/Neometric-Light.eot?#iefix") format("embedded-opentype"),
        url("/template/font/Neometric/Neometric-Light.woff2") format("woff2"),
        url("/template/font/Neometric/Neometric-Light.woff") format("woff"),
        url("/template/font/Neometric/Neometric-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Neometric";
    src: url("/template/font/Neometric/Neometric-Bold.eot");
    src: url("/template/font/Neometric/Neometric-Bold.eot?#iefix") format("embedded-opentype"),
        url("/template/font/Neometric/Neometric-Bold.woff2") format("woff2"),
        url("/template/font/Neometric/Neometric-Bold.woff") format("woff"),
        url("/template/font/Neometric/Neometric-Bold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

HTML,
BODY {
    padding: 0px;
    margin: 0px;
    width: 100%;
    height: 100%;
}

BODY {
    max-width: 1800px;
    margin: 0 auto;
}

* {
    font-family: "Neometric";
    box-sizing: border-box;
}

HTML {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

A {
    color: #05023b;
    text-decoration: none;
}

IMG {
    vertical-align: middle;
}

A:hover {
    text-decoration: underline;
}

.wrapper {
    position: relative;
    min-width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.wrapper>.content {
    flex-grow: 1;
    padding: 120px 10px 10px 10px;
}

.wrapper.home>.content {
    padding: 0px;
}

.wrapper.home>.content {
    max-width: none;
}

.widther {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Палитра */

.default-bg-gray {
    background-color: #F8F8F8;
}

.default-bg-gray-hover:hover {
    transition: background-color 0.3s linear;
    background-color: #eeeeee;
}

.default-bg {
    background-color: #dc8236;
    color: #fff;
}

.default-bg-alt {
    background-color: #314778;
    color: #fff;
}

.default-bg-hover:hover {
    transition: background-color 0.3s linear;
    background-color: #dc8236;
}

.default-color {
    color: #dc8236;
}

.default-padding {
    padding: 10px;
}

.default-border-radius {
    border-radius: 12px;
}

.default-shadow {
    box-shadow: -3px 8px 10px 2px rgba(0, 0, 0, 0.1);
}

.to-top {
    background-color: #dc8236;
    border-radius: 50%;
    position: fixed;
    bottom: 20px;
    right: 10px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background-image: url("/template/img/top.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px;
    z-index: 2;
}

/* Header */

@keyframes line {
    0% {
        background-position: left center;
    }

    100% {
        background-position: left 80px center;
    }
}

.header {
    position: fixed;
    z-index: 2;
    top: 0px;
    left: 50%;
    width: 100%;
    max-width: 1800px;
    transform: translateX(-50%);
    background-color: #fff;
    font-weight: 500;
}

.header::after {
    content: "";
    display: block;
    position: absolute;
    top: 100%;
    left: 0px;
    right: 0px;
    height: 30px;
    width: 100%;
    background-image: url("/template/img/lineika.png");
    background-repeat: repeat-x;
    background-position: left center;
    animation: line 10s linear infinite normal;
}

.header>div.widther {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.header .menu a:hover {
    opacity: 0.8;
}

.header .menu ul {
    padding: 0px;
    margin: 0px;
    display: flex;
}

.header .menu ul li {
    position: relative;
    list-style: none;
    margin-right: 20px;
    padding: 10px 0px;
    white-space: nowrap;
}

.header .menu ul li a.selected {
    font-weight: bold;
}

.header .menu ul li ul {
    position: absolute;
    top: 100%;
    flex-direction: column;
    padding: 20px 10px 10px 10px;
    margin-left: -20px;
    background-color: #fff;
    border-radius: 16px;
    visibility: hidden;
    opacity: 0;
    z-index: 2;
    transition: opacity 0.5s ease-in-out;
}

.header .menu ul li:hover ul {
    visibility: visible;
    opacity: 1;
}

.header .menu ul li ul li {
    margin-bottom: 10px;
    margin-right: 10px;
    margin-left: 10px;
    padding: 0px;
}

.header .menu ul li ul li a {
    color: #000;
}

.header .phone {
    padding-bottom: 3px;
    padding-left: 26px;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 18px;
    background-image: url("/template/img/phone.svg");
}

.header .logo {
    position: relative;
    margin: 0px;
    width: 140px;
}

.header .logo img {
    width: 100%;
}

.header .mobile-menu-button {
    display: none;
    background-image: url("/template/img/menu.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px;
    width: 32px;
    min-width: 32px;
    height: 32px;
    margin-right: 20px;
}

/* Home */

.home .header {
    background-color: transparent;
    transition: all 0.3s ease-in-out;
}

.home .header.scrolled {
    background-color: #fff;
}

.home .header .logo {
    transition: all 0.3s ease-in-out;
    width: 160px;
}

.home .header.scrolled .logo {
    width: 140px;
    margin-right: 30px;
}

/* 
.home .header .logo img {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.home .header .logo::after {
    transition: opacity 0.3s ease-in-out;
    content: "";
    display: block;
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    background-image: url("/template/img/logo_w.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.home .header.scrolled .logo::after {
    display: none;
}

.home .header.scrolled .logo img {
    opacity: 1;
}

.home .header .phone {
    position: relative;
}

.home .header .phone a {
    color: #fff;
}

.home .header.scrolled .phone a {
    color: inherit;
}

.home .header .phone::before  {
    content: "";
    display: block;
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("/template/img/phone_w.svg");
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: center;
}

.home .header.scrolled .phone::before {
    display: none;
}
 */
.slider .slick-slide>div {
    position: relative;
}

.slider-1 .text {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 50%;
    text-align: center;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 100%);
}

.slider-1 .text h1 {
    margin: 0px;
    font-size: 3em;
    margin-bottom: 20px;
}

.slider-1 .text .hbt1 {
    font-size: 1.1em;
    font-weight: bold;
    display: flex;
    justify-content: space-around;
}

.slider-1 .text .hbt1>div>a {
    width: 200px;
    height: 200px;
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 180px;
    margin: 20px;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 200px;
    text-shadow: #FFF 1px 0 10px;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-size 0.2s ease-in-out;
}

.slider-1 .text .hbt1>div>a:hover {
    background-size: 210px;
    text-decoration: none;
}

.slider-1 .text .hbt1>div:first-child>a {
    background-image: url("/template/img/flat.webp");
}

.slider-1 .text .hbt1>div:nth-child(2)>a {
    background-image: url("/template/img/house.webp");
}

.slider-1 .text .hbt1>div:nth-child(3)>a {
    background-image: url("/template/img/cottage.webp");
}

.slider-1 img {
    width: 100%;
}

/* Mobile Menu */

.mobile-menu {
    position: fixed;
    top: 84px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 3;
    overflow-y: auto;
    background-color: #fff;
    display: none;
}

.mobile-menu ul,
.mobile-menu li {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

.mobile-menu>ul {
    width: 100%;
    font-size: 1.1em;
}

.mobile-menu ul li ul {
    margin-top: 10px;
    padding: 0px 0px 0px 15px;
    border-left: 2px solid #ddd;
}

.mobile-menu ul li ul li {
    padding-bottom: 10px;
    opacity: 0.6;
    font-size: 0.9em;
}

.mobile-menu ul li ul>li:last-child {
    padding-bottom: 0px;
}

.mobile-menu>ul>li {
    padding: 10px 20px;
}

.mobile-menu>ul>li {
    border-top: 1px solid #eee;
}

.mobile-menu li a {
    display: block;
    font-size: 1.1em;
}

/* Modal */

.modal {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 5;
}

.modal>div {
    position: relative;
    /* position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%); */
    padding: 20px;

    background-color: #fff;
    border-radius: 0px;
    min-width: 200px;
    min-height: 50px;
    max-width: calc(100% - 30px);
    max-height: calc(100% - 30px);
    display: flex;
    flex-direction: column;
    border-radius: 16px;
}

.modal>div>div:last-child {
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
}

.modal>div>div:last-child::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

.modal>div>.close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    background-color: transparent;
}

.modal>div>.close:after {
    content: "";
    display: block;
    width: 22px;
    height: 2px;
    background-color: #e63619;
    /* transform: rotate(45deg); */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.modal>div>.close:before {
    content: "";
    display: block;
    width: 22px;
    height: 2px;
    background-color: #e63619;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* .modal>div>.close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
}

.modal>div>.close:after {
    content: "X";
    color: #fff;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
} */

/* Form */

.form input,
.form-input,
.form textarea {
    width: 100%;
    border-radius: 6px;
    padding: 12px;
    border: none;
    background-color: #FFFFFF;
    border: 1px solid #ddd;
}

.form input[type=checkbox] {
    width: auto;
}

.form>div {
    margin: 20px 0px;
}

.form label {
    display: block;
    margin-bottom: 6px;
}

.form button,
.form-button {
    display: inline-flex;
    padding: 10px 20px;
    border: none;
    background-color: #dc8236;
    color: #fff;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    font-size: 1em;
    margin-top: 10px;
}

.form button:hover,
.form-button:hover {
    background-color: #cb722a;
}

.form .error {
    color: #e63619;
    margin: 10px 0px;
}

/* Page */

.page {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.page>a {
    color: #000;
    padding: 5px;
    margin: 5px;
    line-height: 20px;
    min-width: 30px;
    text-align: center;
}

.page>a:hover {
    text-decoration: none;
}

.page>a:first-child {
    margin-left: 0px;
}

.page .selected {
    color: #fff;
}

.page .first:before {
    content: "Первая";
}

.page .last:before {
    content: "Последняя (";
}

.page .last:after {
    content: ")";
}

/* Title */

.title {
    margin: 100px 0px 50px 0px;
    position: relative;
    text-align: center;
    font-size: 3em;
}

.title::before {
    font-size: 2em;
    opacity: 0.5;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.04;
    white-space: nowrap;
}

.title::after {
    content: "";
    display: block;
    position: absolute;
    bottom: -20px;
    width: 100px;
    height: 3px;
    background-color: #dc8236;
    left: 50%;
    transform: translateX(-50%);
}

.title-prices::before {
    content: "Цены";
}

.title-preim::before {
    content: "Почему выбирают нас";
}

.title-custom-8::before {
    content: "Наши работы";
}

.title-custom-26::before {
    content: "Отзывы";
}

.title-cont::before {
    content: "Контактная информация";
}

.title-yslygi::before {
    content: "Наши услуги";
}

.title-remont::before {
    content: "Ремонт квартир";
}

.title-raboty::before {
    content: "Наши работы";
}

.title-domov::before {
    content: "Ремонт домов";
}

.title-cottage::before {
    content: "Ремонт коттеджей";
}

.title-vanny::before {
    content: "Ремонт ванных комнат";
}

.title-balkonov::before {
    content: "Ремонт балконов";
}

.title-kyhon::before {
    content: "Ремонт кухонь";
}

.title-plit::before {
    content: "Плиточные работы";
}

.title-malyar::before {
    content: "Малярно-штукатурные работы";
}

.title-santeh::before {
    content: "Сантехнические работы";
}

/* Price */

.prices {
    margin: 0 auto;
    border-collapse: collapse;
}

.prices thead tr {
    margin-top: 50px;
}

.prices thead th {
    text-align: left;
    background-color: #dc8236;
    color: #fff;
    padding: 10px;
    font-size: 1.2em;
}

.prices td {
    padding: 10px 10px 12px 10px;
    border-bottom: 1px dotted #ddd;
}

.prices tr>td:last-child {
    padding-left: 20px;
}

.prices tbody>tr:nth-child(2n) {
    background-color: #f8f8f8;
}

.price {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}

.price::after {
    content: "\20BD";
    font-weight: bold;
    margin-left: 3px;
    font-family: Verdana, Geneva, Tahoma, sans-serif
}

/* Breadcrumb */

.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.9em;
    margin: 10px 0px 20px 0px;
}

.breadcrumbs>div {
    position: relative;
    padding-right: 25px;
}

.breadcrumbs>div:last-child {
    padding-right: 0px;
}

.breadcrumbs>div::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #000;
    opacity: 0.5;
}

.breadcrumbs>div:last-child::after {
    display: none;
}

.breadcrumbs a {
    opacity: 0.5;
}

.footer-wrapper {
    background-image: url("/template/img/footerbg.webp");
    background-position: right center;
    background-repeat: repeat-x;
    background-size: contain;
}

.footer {
    color: #fff;
    padding: 50px 0px;
    background-image: url("/template/img/footer.webp");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: contain;
}

.footer a {
    color: #fff;
}

.footer a:hover {
    opacity: 1;
}

.footer>div {
    padding: 20px 0px 20px 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.footer>div>div {
    padding-left: 60px;
}

.footer>div>div:first-child {
    padding-left: 0px;
}

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

.footer ul,
.footer li {
    padding: 0px;
    margin: 0px;
    list-style: none;
}

.footer li {
    padding: 18px;
}

.footer p {
    margin: 0px;
    padding: 10px 0px;
}

.footer .logo img {
    max-width: 180px;
}

.footer .phone,
.footer .email,
.footer .address {
    padding-left: 26px;
    line-height: 24px;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 16px;
    background-image: url("/template/img/phone_w.svg");
}

.footer .email {
    background-image: url("/template/img/email_w.svg");
}

.footer .address {
    background-image: url("/template/img/address_w.svg");
}

.footer .social {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.footer .social img {
    margin-right: 10px;
}

/* Mobile Menu */

.mobile-shop-menu {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background-color: #fff;
    padding: 60px 20px 80px 20px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 3;
    overflow-y: auto;
}

.mobile-shop-menu::before {
    content: "Каталог";
    display: block;
    position: absolute;
    top: 24px;
    left: 20px;
    font-size: 1.6em;
}

.mobile-shop-menu .mobile-menu-close {
    position: absolute;
    width: 32px;
    height: 32px;
    top: 20px;
    right: 10px;
    background-image: url("/template/img/menu-close.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 22px;
}

.mobile-shop-menu .container {
    position: relative;
    flex-grow: 1;
}

.mobile-shop-menu .menu {
    border-bottom: 1px solid #E7E7E7;
}

.mobile-shop-menu .menu,
.mobile-shop-menu .menu ul {
    padding: 0px;
    margin: 0px;
    list-style: none;
}

.mobile-shop-menu .menu li {
    border-bottom: 1px solid #F8F8F8;
}

.mobile-shop-menu .menu li>a {
    display: block;
    padding: 12px 0px;
    line-height: 28px;
    font-size: 20px;
}

.mobile-shop-menu .menu>li>ul {
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #fff;
}

.mobile-shop-menu .menu>li.has-child {
    background-image: url("/template/img/right-arrow.svg");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 16px;
}

.mobile-shop-menu .exit {
    padding: 12px 26px;
    color: #1da4dd;
    background-image: url("/template/img/left-arrow.svg");
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 16px;
}

.remont {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 30px;
    font-size: 0.9em;
}

.remont>div {
    box-shadow: -3px 8px 10px 2px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
}

.remont>div>h3 {
    padding: 10px 20px;
    font-size: 1.4em;
}

.remont>div>div {
    padding: 0px 20px;
}

.remont .price2 {
    font-size: 2em;
}

.remont ol {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

.remont ol li {
    margin: 20px 0px;
}

.remont ol li strong {
    display: block;
    margin-bottom: 5px;
    font-size: initial;
}

.remont img {
    width: 100%;
}

.preim {
    padding: 100px 0px;
    display: grid;
    justify-content: space-between;
    column-gap: 30%;
    grid-template-columns: 1fr 1fr;
    background-image: url("/template/img/woman1.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.preim>div {
    margin: 20px 0px;
    background-position: left top 10px;
    background-repeat: no-repeat;
    background-size: 48px;
    padding-left: 90px;
}

.preim>div:nth-child(2n+1) {
    text-align: right;
    background-position: right top 10px;
    padding-right: 90px;
    padding-left: 0px;
}

.preim>div>p:first-child {
    font-size: 1.2em;
}

.preim>div>p:last-child {
    opacity: 0.5;
}

.preim>div:nth-child(1) {
    background-image: url("/template/img/on1.svg");
}

.preim>div:nth-child(2) {
    background-image: url("/template/img/on2.svg");
}

.preim>div:nth-child(3) {
    background-image: url("/template/img/on3.svg");
}

.preim>div:nth-child(4) {
    background-image: url("/template/img/on4.svg");
}

.preim>div:nth-child(5) {
    background-image: url("/template/img/on5.svg");
}

.preim>div:nth-child(6) {
    background-image: url("/template/img/on6.svg");
}

.viezd {
    background-color: #ececec;
    margin-top: 50px;
}

.viezd>div {
    display: flex;
    justify-content: space-between;
}

.viezd>div>div:first-child {
    background-image: url("/template/img/zamer.webp");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left top;
}

.viezd>div>div {
    padding: 50px 10px;
    width: 50%;
}

.viezd .vt1 {
    font-size: 2em;
    font-weight: bold;
}

.viezd .vt2 {
    font-size: 1.5em;
}

.custom-items {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 40px;
    row-gap: 40px;
}

.custom-items>div {
    position: relative;
}

.custom-items img {
    width: 100%;
}

.custom-items .name {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.6);
    text-align: center;
    font-weight: bold;
    font-size: 1.2em;
}

.custom-items .address::before,
.custom-item .address::before {
    content: "Адрес: ";
    opacity: 0.5;
    font-weight: normal;
    margin-right: 5px;
}

.custom-items .price::before,
.custom-item .price::before {
    content: "Стоимость: ";
    opacity: 0.5;
    font-weight: normal;
    margin-right: 5px;
}

.custom-items .time::before,
.custom-item .time::before {
    content: "Срок: ";
    opacity: 0.5;
    font-weight: normal;
    margin-right: 5px;
}

.custom-item .image {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 20px;
    column-gap: 20px;
}

.custom-item .image img {
    width: 100%;
}

.custom-26 .item {
    max-width: 400px;
    font-size: 0.9em;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0px;
}

.custom-26 img {
    border-radius: 50%;
    max-width: 200px;
    margin-bottom: 20px;
}

.yslygi {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(5, 1fr);
}

.yslygi>div {
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    aspect-ratio: 1 / 1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    transition: all 0.5s linear;
}

.yslygi>div:hover {
    background-size: 105%;
}

.yslygi>div>a {
    padding: 10px;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
    background-color: rgba(255, 255, 255, 0.6);
    text-shadow: #FFF 1px 0 10px;
    /* background: linear-gradient(180deg, rgba(255,255,255,0) 20%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 80%); */

}

.yslygi>div>a:hover {
    text-decoration: none;
}

.yslygi>div:nth-child(1) {
    background-image: url("/template/img/ysl1.webp");
}

.yslygi>div:nth-child(2) {
    background-image: url("/template/img/ysl2.webp");
}

.yslygi>div:nth-child(3) {
    background-image: url("/template/img/ysl3.webp");
}

.yslygi>div:nth-child(4) {
    background-image: url("/template/img/ysl4.webp");
}

.yslygi>div:nth-child(5) {
    background-image: url("/template/img/ysl5.webp");
}

.yslygi>div:nth-child(6) {
    background-image: url("/template/img/ysl6.webp");
}

.yslygi>div:nth-child(7) {
    background-image: url("/template/img/ysl7.webp");
}

.yslygi>div:nth-child(8) {
    background-image: url("/template/img/ysl8.webp");
}

.yslygi>div:nth-child(9) {
    background-image: url("/template/img/ysl9.webp");
}

.yslygi>div:nth-child(10) {
    background-image: url("/template/img/ysl10.webp");
}

@media (max-width: 1024px) {

    .header .menu {
        display: none;
    }

    .header .mobile-menu-button {
        display: block;
    }

    .home .header .logo,
    .header .logo {
        width: 120px;
    }

    .header .phone {
        font-size: 0px;
        padding-left: 0px;
    }

    .header .phone a {
        display: block;
        width: 32px;
        height: 32px;
    }

    .slider-1 .text {
        margin-top: 50px;
        max-width: none;
        width: 100%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .slider-1 .text .hbt1>div>a {
        width: 140px;
        padding-top: 140px;
        height: 160px;
        background-size: 140px;
    }

    .slider-1 .text .hbt1 {
        flex-wrap: wrap;
    }

    .footer>div>div {
        padding-left: 20px;
    }

    .custom-items {
        padding: 10px;
        gap: 10px;
        grid-template-columns: 1fr 1fr;
    }

    .preim {
        padding: 20px;
        grid-template-columns: 1fr;
        background-position: right center;
        column-gap: 0px;
    }

    .preim>div {
        margin: 0px;
        padding-left: 70px;
        background-position: left top 20px;
    }

    .preim>div:nth-child(2n+1) {
        text-align: inherit;
        background-position: left top 20px;
        padding-right: 0px;
        padding-left: 70px;
    }

    .viezd {
        background-image: url(/template/img/zamer.webp);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: left top;
    }

    .viezd>div>div {
        width: auto;
    }

    .viezd>div>div:last-child {
        background-color: rgba(255, 255, 255, 0.5);
        padding: 20px;
    }

    .viezd>div>div:first-child {
        background-image: none;
    }

    .yslygi {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    .title {
        font-size: 2em;
        margin: 60px 0px 50px 0px;
    }

    .title::before {
        font-size: 1.4em;
        white-space: unset;
    }

    .title-preim {
        margin-top: 130px;
    }

    .slider-1 img {
        width: auto;
        height: 600px;
    }

    .slider-1 .text {
        margin-top: 20px;
    }

    .slider .slick-slide>div {
        display: flex;
        overflow-x: hidden;
        justify-content: center;
    }

    .custom-items {
        grid-template-columns: 1fr;
    }

    .viezd>div>div {
        padding: 50px 0px;
    }

    .preim>div {
        background-color: rgba(255, 255, 255, 0.7);
    }

    .slider-1 .text .hbt1>div,
    .slider-1 .text .hbt2>div {
        margin: 5px;
    }

    .footer {
        background-image: none;
    }

    .footer>div {
        flex-direction: column;
    }

    .footer>div>div {
        padding-left: 0px;
        text-align: center;
    }

    .footer-cont {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .remont {
        grid-template-columns: 1fr;
        column-gap: 0px;
        row-gap: 20px;
    }

    .yslygi {
        grid-template-columns: 1fr;
        padding: 10px;
        gap: 10px;
    }

    .yslygi>div {
        aspect-ratio: 3 / 2;
    }

}