/*@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');*/

/* layout css */
body{
    font-family: Nunito, serif;
    /*font-family: "Golos Text", serif;*/
    background: #f4f6ff;
    margin: 0;
    padding: 0;
    /*overflow: hidden;*/
    height: 100%;
    min-height: 100vh;
    overflow: auto; /* Включаем прокрутку */
}

html::-webkit-scrollbar {
    width: 10px;
  }

html::-webkit-scrollbar-track {
    background: rgb(179, 177, 177);
    /*border-radius: 10px;*/
}

html::-webkit-scrollbar-thumb {
    background: rgb(136, 136, 136);
    /*border-radius: 10px;*/
  }

html::-webkit-scrollbar-thumb:hover {
    background: rgb(100, 100, 100);
    /*border-radius: 10px;*/
  }

html::-webkit-scrollbar-thumb:active {
    background: rgb(68, 68, 68);
    /*border-radius: 10px;*/
  }

main{
    padding-top: 100px;
    /*width: 100vw;*/
    margin: 0 auto;
}

.main{
    margin: 20px auto;
    max-width: 35vw;
}

.header{
    display: flex;
    align-items: center;
    background-color: #fff;
    min-height: 80px;
    width: 100%;
    position: fixed;
    z-index: 10;
    /*box-shadow: 0 -13px 20px gray;*/
}

.overlay{
    width: 100px;
}

.logo{
    width: 100px
}

.logo-img{
    height: 60px
}

.title-logo{
    justify-content: center;
    display: flex;
    align-items: center;
}

.head_in{
    display: flex;
    flex-direction: row;
    width: 75vw;
    margin: 0 auto;
    justify-content: space-between;
}

.title-logo a{
    display: flex;
}

.title-logo a img{
    width: 250px;
}




/* home_page css */
.cont_div1{
    background:
		linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
		url('../img/backgr_mast.png');
    /*width: 100vw;*/
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 500px; /* Высота экрана */
    flex-direction: row;
    margin-bottom: 100px;
    background-size: 100%;
    transition: all 0.2s ease-in-out;
    position: relative;
    overflow: hidden; /* Скрыть выходящие за пределы элементы */
}

.cont_div1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('../img/backgr_mast.png');
    background-size: cover;
    transition: transform 0.3s ease-in-out;
    z-index: 0; /* Под содержимым */
}

.cont_div1:hover::before {
    transform: scale(1.02); /* Увеличение фона */
}

.cont_div1 > div {
    position: relative;
    z-index: 1; /* Над фоном */
}

.text_block_div1{
    display: flex;
    flex-flow: column;
    justify-content: space-evenly;
    height: 35%;
}

.text_block_div1 h1{
    margin: 0;
    color: white;
    font-family: "Golos Text", serif;
}

.text_block_div1 p{
    margin: 0;
    color: white;
}

.btn_div1{
    padding: 10px 20px;
    border: 0;
    border-radius: 10px;
    font-family: "Nunito";
    font-size: 16px;
    font-weight: 600;
}

.btn_div1:hover{
    cursor: pointer;
}


.cont_div2{
    background:
		linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
		url('../img/depesha_bgr.png');
    /*width: 100vw;*/
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 500px; /* Высота экрана */
    flex-direction: row;
    margin-bottom: 100px;
    background-size: 100%;
    transition: all 0.2s ease-in-out;
    position: relative;
    overflow: hidden; /* Скрыть выходящие за пределы элементы */
}

.text_block_div2{
    display: flex;
    flex-flow: column;
    justify-content: space-evenly;
    height: 35%;
}

.text_block_div2 h1{
    margin: 0;
    color: white;
    font-family: "Golos Text", serif;
}

.text_block_div2 p{
    margin: 0;
    color: white;
}

.btn_div2{
    padding: 10px 20px;
    border: 0;
    border-radius: 10px;
    font-family: "Nunito";
    font-size: 16px;
    font-weight: 600;
}

.btn_div2:hover{
    cursor: pointer;
}

.cont_div2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('../img/backgr_mast.png');
    background-size: cover;
    transition: transform 0.3s ease-in-out;
    z-index: 0; /* Под содержимым */
}

.cont_div2:hover::before {
    transform: scale(1.02); /* Увеличение фона */
}

.cont_div2 > div {
    position: relative;
    z-index: 1; /* Над фоном */
}

footer {
    min-height: 300px;
    height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    background: rgba(0, 0, 0, 0.87);
    color: #fff;
    padding: 20px;
    /*box-shadow: 0px -2px 15px rgba(0, 0, 0, 0.5);*/
    margin-top: 20px;
}

.foot {
    display: flex;
    justify-content: space-around;
    width: 100%;
    max-width: 800px;
    align-items: center;
    color: rgb(179, 179, 179);
}

.foot_div1, .foot_div2 {
    flex: 1;
    text-align: center;
}

.foot h1 {
    margin-bottom: 10px;
    font-size: 24px;
    letter-spacing: 1px;
}

.foot p {
    margin: 0;
    font-size: 16px;
}

.foot a {
    color: rgb(179, 179, 179);
    text-decoration: none;
    transition: color 0.3s ease;
}

.foot a:hover {
    color: #00bfff;
}

.copyright {
    margin-top: 20px;
    font-size: 14px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 10px;
    color: rgb(179, 179, 179);
}




/* title_block css */

.title_block{
    margin-top: 30px;
    margin-bottom: 30px;
    background-color: rgba(44, 80, 230);
    border-radius: 24px;
    padding: 40px;
    color: white;
    animation: slide-right 1s ease-in-out;
}

@keyframes slide-right {
    from {
        opacity: 0;
        transform: translateX(-10%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-left {
    from {
        opacity: 0;
        transform: translateX(10%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.title_block h1{
    text-transform: uppercase;
    margin: 0 0 30px 0;
    font-weight: 800;
    font-family: "Golos Text", serif;
    font-size: 50px;
}

.punkt{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 15vw;
    padding: 20px;
    /*box-shadow: 0 0 8px 0 rgba(34, 60, 80, 0.1);*/
    /*border: 1px solid rgba(99, 99, 99, 0.16);*/
    border-radius: 10px;
    transition: all .3s ease-in-out;
    background-color: rgb(98, 122, 245);
    height: 30px;
}

.punkt img{
    margin-right: 10px;
}

.punkt:hover{
    background-color: rgba(138, 138, 138, 0.00);

    /*background-color: #0056b3; !* Цвет фона при наведении *!*/
    transform: translateY(-3px); /* Легкий подъем кнопки */
}




/* меню */

.menu1{
    display: flex;
    list-style: none;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    /*background-color: rgba(0, 121, 190, 0.24);*/
}

.menu1 a {
    /*padding: 15px 70px;*/
    text-decoration: none;
    text-transform: uppercase;
    color: #000000;
    font-weight: 600;
    font-size: 18px;
    transition: all .3s ease-in-out;
}


/* info block css */

.info_block{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    margin: 0 auto;
    /*margin-top: 30px;*/
    /*margin-bottom: 30px;*/
    /*background-color: white;*/
    /*border-radius: 24px;*/
    /*padding: 40px;*/
    animation: slide-left 1s ease-in-out;
}

.info_block a{
    transition: all .3s ease-in-out;
}

.info_block a:hover{
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

.btn_block{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 60%;
}

.info_block a{
    display: flex;
    justify-content: center;
    flex-direction: row;
    background-color: white;
    border-radius: 24px;
    padding: 40px;
    width: 50%;
}

.btn_pnkt{
    text-align: center;
    width: 300px;
    padding: 20px;
    /*box-shadow: 0 0 8px 0 rgba(34, 60, 80, 0.1);*/
    /*border: 1px solid rgba(99, 99, 99, 0.16);*/
    border-radius: 10px;
    transition: all .3s ease-in-out;
    background-color: rgb(98, 122, 245);
}

.btn_pnkt:hover{
    background-color: rgba(138, 138, 138, 0.07);

}

.btn_in{
    display: flex;
    flex-direction: column;
    height: 20vh;
    justify-content: space-evenly;
    font-size: 18px;
    align-items: center;
}

.btn_in img{
    transition: all .3s ease-in-out;
}

.info_block a:hover .btn_in img{
    transform: translateY(-3px);
}

.btn_in p{
    margin: 5px;
    transition: all .3s ease-in-out;
}

.info_block a:hover .btn_in p{
    transform: translateY(3px);
}

.qr_block{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    margin: 30px auto;
    background-color: #dde3fc;
    border-radius: 24px;
    /*padding: 40px;*/
    /*width: 70vw;*/
    animation: slide-right 1s ease-in-out;
}

.img_block{
    display: flex;
    width: 50%;
    justify-content: center;
}

.img_block img{
    border-radius: 20px;
}

.img1,
.img2,
.img3 {
    position: absolute;
    bottom: -100%; /* начальная позиция для выезда */
    pointer-events: none;
    z-index: 1;
    transition: transform 1s ease-in-out; /* Если нужно, уберите для плавного перехода */
}

.img2 {
    position: relative; /* только выезд для второй картинки */
    z-index: 2;
}

/* Анимация добавляется через класс */
.animate.img1 {
    animation: slide-up 1s ease-in-out forwards, rot_minus 1s ease-in-out 1s forwards; /* Задержка */
}

.animate.img2 {
    animation: slide-up 1s ease-in-out forwards; /* Задержка */
}

.animate.img3 {
    animation: slide-up 1s ease-in-out forwards, rot_plus 1s ease-in-out 1s forwards; /* Задержка */
}

@keyframes slide-up {
    from {
        bottom: -100%;
    }
    to {
        bottom: 0;
    }
}

@keyframes rot_plus {
    from {
        transform: translateX(0) rotate(0);
    }
    to {
        transform: translateX(150px) rotate(10deg);
    }
}

@keyframes rot_minus {
    from {
        transform: translateX(0) rotate(0);
    }
    to {
        transform: translateX(-150px) rotate(-10deg);
    }
}



.text_block{
    display: flex;
    flex-direction: column;
    padding: 32px 0 40px 40px;
}

.text_block h1{
    font-family: "Golos Text", serif;
    font-weight: 600;
    margin: 0;
    font-size: 40px;
}

.img_block h1{
    text-align: center;
    padding: 20px;
}

.qr_podblock{
    display: flex;
    flex-direction: row;
    align-items: end;
    color: rgb(120, 128, 144);
}

.qr_podblock img{
    background-color: white;
    padding: 6px;
    border-radius: 10px;
}

.qr_podblock p{
    padding: 0;
    margin: 0;
    margin-left: 26px;
    width: 224px;
}

.text_punkt{
    display: flex;
    flex-direction: row;
}


.pnkt{
    display: flex;
    padding: 20px 0;
}

.pnkt p{

    font-size: 16px;
    width: 13vw;
    margin: 0;
}

.pnkt img{
    margin-right: 10px;
}

.first{
    margin-right: 30px;
}


/* выпадающее меню */

.burger {
    position: relative;
    font-size: 30px;
    cursor: pointer;
    padding: 10px 0px 10px 10px;
    color: rgba(0, 0, 0, 0.72);
}

.burger:before{
    content: "\f2be";
    font-family: FontAwesome;
/*    font-style: normal;*/
/*    font-weight: normal;*/
/*    text-decoration: inherit;*/
/*!*--adjust as necessary--*!*/
/*    color: #000;*/
    font-size: 40px;
/*    padding-right: 0.5em;*/
/*    position: absolute;*/
/*    top: 10px;*/
/*    left: 0;*/
}

.closeMenu{
    position: relative;
    font-size: 30px;
    cursor: pointer;
    height: 30px;
    color: rgba(0, 0, 0);
    text-align: right;
    display: flex;
    justify-content: center;
    align-items: center;
    /*min-height: 80px;*/

}

.closeMenu:before{
    content: "\f00d";
    font-family: FontAwesome;
}

.cls{
    min-height: 80px;
    display: flex;
    align-items: center;
    width: 20%;
    padding: 0px 35px;
}

/*.avatar{*/
/*    overflow: hidden;*/
/*    width: 50px;*/
/*    height: 50px;*/
/*    border-radius: 50%;*/
/*    cursor: pointer; !* Указатель при наведении *!*/
/*}*/

.menu-container{
    display: flex;
    align-items: center;
}

/* Стили для аватара */
.avatar {
    position: relative;
    /*display: inline-block;*/
    cursor: pointer;
    /*overflow: hidden;*/
    border-radius: 50%;
    display: flex;
    align-items: center;
}

.img_ava{
    width: 45px;
    height: 45px;
    overflow: hidden;
    border-radius: 50%;
}

/* Скрытое меню */
.menu {
    position: absolute;
    top: -200px; /* Исходная позиция: спрятано над аватаром */
    right: 0; /* Центрируется относительно аватара */
    /*transform: translateX(-50%); !* Выравнивание по горизонтали *!*/
    width: 17vw;
    background-color: #fff;
    border: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0; /* Меню невидимо */
    transition: all 0.3s ease-in-out; /* Анимация плавного появления */
    z-index: 10;
    pointer-events: none; /* Блокируем клики, пока меню скрыто */
    padding: 25px;
    cursor: auto;
}

/* Показываем меню */
.menu.active {
    top: 170%;
    opacity: 1; /* Делаем меню видимым */
    pointer-events: auto; /* Разрешаем клики */
    border-radius: 20px;
    overflow: hidden;

}


/* Стили списка меню */
.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu ul li {
    position: relative;
    text-align: left;
    padding: 3px 3px 3px 0;
}

.menu ul li i{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 10%;
    z-index: 0;
    color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
}

.menu ul li a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 6px 0 6px 50px;
    z-index: 2;
    transition: all .2s ease-in-out;
    border-radius: 10px;
}

.menu ul li a:hover {
    background-color: #f0f0f0;
}

.prof{
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.prof_photo{
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 50%;
}

.address {
    margin: 0 0 2px 20px;
    color: rgba(0, 0, 0, 1);
    font-weight: 400;
}

.fio{
    margin: 2px 0 0 20px;
    font-size: 15px;
    color: rgba(0, 0, 0, 0.63);
    font-weight: 400;
}


.menu_item1, .menu_item2, .menu_item3{
    position: relative;
}

.menu_item1 a::before, .menu_item2 a::before, .menu_item3 a::before{
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.menu_item1 a::before{
    content: "\f054";
    font-family: FontAwesome;
    transition: all .3s ease-in-out;
}

.menu_item2 a::before{
    content: "\f054";
    font-family: FontAwesome;
    transition: all .3s ease-in-out;
}

.menu_item3 a::before{
    content: "\f054";
    font-family: FontAwesome;
    transition: all .3s ease-in-out;
}

.menu_item1 a:hover:before, .menu_item2 a:hover:before, .menu_item3 a:hover:before{
    left: 15px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0); /* Начальная прозрачность */
    visibility: hidden; /* Элемент скрыт по умолчанию */
    transition: background 0.3s ease, visibility 0.3s ease; /* Плавный переход */
    z-index: 999;
}

.overlay.active {
    background: rgba(0, 0, 0, 0.5); /* Прозрачность при видимости */
    visibility: visible; /* Элемент становится видимым */
}

.reg_auth{
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: absolute;
    bottom: 40px;
    width: 100%;
    padding: 0;
    list-style: none;
}

.reg_auth a{
    width: 48%;
    text-align: center;
    text-decoration: none;
    color: #000;
    font-size: 18px;
}

.login::before{
    content: "\f090";
    font-family: FontAwesome;
}

.register::before{
    content: "\f234";
    font-family: FontAwesome;
}

.logout::before{
    content: "\f08b";
    font-family: FontAwesome;
}

.menu_itm{
    display: flex;
    flex-direction: row;
    width: 50%;
    justify-content: space-around;
}

.post{
    padding: 15px 0;
    border-radius: 20px;
    background-color: white;
    margin: 0 0 10px;
}

.post h1{
    padding: 0;
    margin: 0;
    font-size: 22px;
}

.title_post{
    font-family: "Golos Text", serif;
    padding: 0 15px;

    font-weight: 600;
}

.time{
    margin: 0;
    padding: 7px 15px;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.64);
}

.time p{
    padding: 0;
    margin: 0;
}

.post img{
    width: 100%;
    /*margin: 5px 0;*/
}

.post video{
    width: 100%;
    margin: 5px 0;
}

.post_txt{
    padding: 0 15px;
}

.btns{
    padding: 10px 15px 0;
}

.btns button{
    border: 0;
    background-color: #004FEB;
    color: white;
    border-radius: 50px;
    padding: 5px 15px;
    margin-right: 5px;
    font-family: Nunito;
}

.btns button:hover{
    cursor: pointer;
}






.truncate-text {
    max-height: 40px; /* Начальная высота */
    overflow: hidden;
    line-height: 20px;
    position: relative;
    transition: max-height 0.5s ease;
    word-break: break-word;
    z-index: 0;
    margin: 10px 0;
}

/* Многоточие по умолчанию */
.truncate-text::after {
    content: "...";
    position: absolute;
    bottom: 0;
    right: 0;
    background: white;
    padding-left: 5px;
}

/* Убираем многоточие для короткого текста */
.truncate-text.no-ellipsis::after {
    content: none; /* Убираем многоточие */
}

.truncate-text.expanded {
    max-height: 500px; /* Достаточно большая высота для полного раскрытия */
}

.show-more-btn {
    display: none; /* Скрываем кнопку по умолчанию */
    margin-top: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #007bff;
    border: none;
    background: none;
    text-decoration: underline;
}

/* Показываем кнопку только если текст длинный */
.show-more-btn.visible {
    display: block;
}

.truncate-text.expanded::after {
    content: none;
}











.horizontal_menu{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 20px;
}

.menu_item{
    padding: 10px 20px;
    background-color: deepskyblue;
    width: 37%;
    border-radius: 20px;
}

.menu_item h1{
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-family: "Golos Text", serif;
    text-align: center;
    color: white;
}



.container {
    width: 75vw;
    display: flex;
    gap: 20px; /* Расстояние между островком и основным контентом */
    align-items: flex-start; /* Выравнивание по верхнему краю */
    margin: 0 auto;
}

.services-island {
    width: 350px; /* Ширина островка */
    background-color: #fff;
    padding: 25px;
    border-radius: 20px;
    position: sticky; /* Островок остаётся на месте при прокрутке */
    top: 100px; /* Расстояние от верха viewport до момента "прилипания" */
    /*z-index: 10; !* Чтобы островок был поверх других элементов *!*/
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); !* Добавляем тень для визуального отделения *!*/
}

.services-island ul{
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.services-island ul li a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 6px 0 6px 50px;
    z-index: 2;
    transition: all .2s ease-in-out;
    border-radius: 10px;
}

.services-island ul li i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /*width: 10%;*/
    z-index: 0;
    color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    left: 3%;
}

.services-island ul li {
    position: relative;
    text-align: left;
    padding: 3px 3px 3px 0;
}

.services-island ul li a:hover {
    background-color: #f0f0f0;
}




.services-island-hidden {
    width: 350px;
    /*padding: 25px;*/
    /*background: #ffffff;*/
    border-radius: 15px;
    /*box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);*/
    box-sizing: border-box;
}

.main-btn {
    display: block;
    /*width: 100%;*/
    padding: 18px 25px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(106, 17, 203, 0.2);
}

.main-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(106, 17, 203, 0.3);
}

.main-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(106, 17, 203, 0.2);
}

.main-btn:last-child {
    margin-bottom: 0;
}

.main-btn#appeal-link {
    background: linear-gradient(135deg, #66BB6A 0%, #4CAF50 100%);
}

.main-btn#appeal-link:hover {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
}



.services-island-hidden{
/*    border-radius: 5px;*/
    position: sticky; /* Чтобы островок оставался на месте при прокрутке */
    top: 100px;
/*    text-decoration: none;*/
/*    font-family: Nunito, sans-serif;*/
/*    font-weight: 500;*/
/*    font-size: 16px;*/
/*    color: white;*/
/*    display: flex;*/
/*    flex-direction: column;*/
}

/*.main-btn{*/
/*    background: #2c7be5;*/
/*    padding: 25px;*/
/*    width: 350px; !* Ширина островка *!*/
/*    margin-bottom: 10px;*/
/*    color: white;*/
/*    text-decoration: none;*/
/*    border-radius: 10px;*/
/*}*/








.main-content {
    width: 20%;
    flex-grow: 1; /* Основной контент занимает оставшееся пространство */
}

.services-island h2, .services-island p{
    margin: 0;
}

.services-island h2{
    font-family: "Golos Text", serif;
}



.menu-head{
    height: 35px;
    width: 100%;
    display: flex;
    flex-direction: row;
    background-color: #fff;
    /*position: absolute;*/
    border-radius: 0 0 20px 20px;
    margin-top: 80px;
    /*justify-content: center;*/
    position: fixed;
    z-index: 5;
}

.menu-head h1{
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-family: "Golos Text", serif;
    width: 40%;
    text-align: center;
    font-weight: 400;

}

.menu-head-in{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin: 0 auto;
    width: 100%;
    justify-content: space-evenly;
    height: 100%;
}

/* Стили для меню */
.menu-head {
    background-color: #ffffff;
    color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Стили для пунктов меню */
.menu-head-in h1 {
    margin: 0 16px;
    cursor: pointer;
    position: relative; /* Для добавления псевдоэлемента */
    opacity: 0.5; /* Начальная прозрачность = 50% для неактивных вкладок */
    transition: color 0.3s ease, opacity 0.3s ease; /* Плавное изменение цвета и прозрачности */
    height: 85%;
}

/* Активный пункт меню */
.menu-head-in h1.active {
    opacity: 1; /* Полная видимость для активной вкладки */
    color: #000000; /* Можно также изменить цвет текста для активной вкладки */
    font-weight: bold; /* Дополнительно можно сделать текст жирным */
    height: 85%;
}

/* Псевдоэлемент для подчеркивания */
.menu-head-in h1::after {
    content: '';
    position: absolute;
    bottom: -5px; /* Расположение подчеркивания */
    left: 0;
    width: 0; /* Начальная ширина = 0 */
    height: 2px; /* Толщина подчеркивания */
    background-color: #004FEB; /* Цвет подчеркивания */
    transition: width 0.3s ease, opacity 0.3s ease; /* Плавная анимация ширины и прозрачности */
    opacity: 0; /* Начальная прозрачность = 0 */
}

/* Активный пункт меню с подчеркиванием */
.menu-head-in h1.active::after {
    width: 100%; /* Ширина = 100% при активации */
    opacity: 1; /* Прозрачность = 1 при активации */
}




.slider-container {
    position: relative;
    width: 100%;
}

.slides {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.slide {
    flex-shrink: 0; /* Запрещаем сжатие слайдов */
    width: 100%; /* Каждый слайд занимает всю ширину контейнера */
    box-sizing: border-box; /* Учитываем padding и border при расчете высоты */
}






#lenta {
    background-color: #F4F6FF;
}

#servisy {
    background-color: #F4F6FF;
    /*height: 100vh;*/
}

#servisy-block {
    /*overflow-y: auto; !* Добавляем скролл внутри блока, если контент не помещается *!*/
    /*max-height: 100vh; !* Ограничиваем высоту блока размером экрана *!*/
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}




/* Иконки сервисов */

.stair{
    display: inline-block;
    width: 24px; /* Размер вашей иконки */
    height: 24px; /* Размер вашей иконки */
    background-image: url('../img/stair.ico'); /* Путь к вашей иконке */
    background-size: cover; /* Убедитесь, что иконка заполняет пространство */
}

.mower{
    display: inline-block;
    width: 24px; /* Размер вашей иконки */
    height: 24px; /* Размер вашей иконки */
    background-image: url('../img/mower.ico'); /* Путь к вашей иконке */
    background-size: cover; /* Убедитесь, что иконка заполняет пространство */
}

.winter{
    display: inline-block;
    width: 24px; /* Размер вашей иконки */
    height: 24px; /* Размер вашей иконки */
    background-image: url('../img/winter.ico'); /* Путь к вашей иконке */
    background-size: cover; /* Убедитесь, что иконка заполняет пространство */
}

.radiator{
    display: inline-block;
    width: 24px; /* Размер вашей иконки */
    height: 24px; /* Размер вашей иконки */
    background-image: url('../img/radiator.ico'); /* Путь к вашей иконке */
    background-size: cover; /* Убедитесь, что иконка заполняет пространство */
}

.roof{
    display: inline-block;
    width: 24px; /* Размер вашей иконки */
    height: 24px; /* Размер вашей иконки */
    background-image: url('../img/roof.ico'); /* Путь к вашей иконке */
    background-size: cover; /* Убедитесь, что иконка заполняет пространство */
}

.tap-water{
    display: inline-block;
    width: 24px; /* Размер вашей иконки */
    height: 24px; /* Размер вашей иконки */
    background-image: url('../img/tap-water.ico'); /* Путь к вашей иконке */
    background-size: cover; /* Убедитесь, что иконка заполняет пространство */
}

.waste-water{
    display: inline-block;
    width: 24px; /* Размер вашей иконки */
    height: 24px; /* Размер вашей иконки */
    background-image: url('../img/waste-water.ico'); /* Путь к вашей иконке */
    background-size: cover; /* Убедитесь, что иконка заполняет пространство */
}

.waste-water{
    display: inline-block;
    width: 24px; /* Размер вашей иконки */
    height: 24px; /* Размер вашей иконки */
    background-image: url('../img/waste-water.ico'); /* Путь к вашей иконке */
    background-size: cover; /* Убедитесь, что иконка заполняет пространство */
}

.exhaust-pipe{
    display: inline-block;
    width: 24px; /* Размер вашей иконки */
    height: 24px; /* Размер вашей иконки */
    background-image: url('../img/exhaust-pipe.ico'); /* Путь к вашей иконке */
    background-size: cover; /* Убедитесь, что иконка заполняет пространство */
}

.power-grid{
    display: inline-block;
    width: 24px; /* Размер вашей иконки */
    height: 24px; /* Размер вашей иконки */
    background-image: url('../img/power-grid.ico'); /* Путь к вашей иконке */
    background-size: cover; /* Убедитесь, что иконка заполняет пространство */
}

.parchment{
    display: inline-block;
    width: 24px; /* Размер вашей иконки */
    height: 24px; /* Размер вашей иконки */
    background-image: url('../img/parchment.ico'); /* Путь к вашей иконке */
    background-size: cover; /* Убедитесь, что иконка заполняет пространство */
}

.talk{
    display: inline-block;
    width: 24px; /* Размер вашей иконки */
    height: 24px; /* Размер вашей иконки */
    background-image: url('../img/talk.ico'); /* Путь к вашей иконке */
    background-size: cover; /* Убедитесь, что иконка заполняет пространство */
}














/*Сервисы на телефоне*/
.services-island-phone {
    /*width: 350px; !* Ширина островка *!*/
    background-color: #fff;
    /*padding: 25px;*/
    border-radius: 20px;
    /*position: sticky; !* Чтобы островок оставался на месте при прокрутке *!*/
    top: 120px;
    width: 100%;
}

.services-island-phone ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-island-phone ul li a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 6px 0 6px 50px;
    z-index: 2;
    transition: all .2s ease-in-out;
    border-radius: 10px;
}

.services-island-phone ul li i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /*width: 10%;*/
    z-index: 0;
    color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    left: 7%;
}

.services-island-phone ul li {
    position: relative;
    text-align: left;
    padding: 25px;
}

.services-island-phone ul li a:hover {
    background-color: #f0f0f0;
}


.services-island-phone h2, .services-island-phone p{
    margin: 0;
}

.services-island-phone h2{
    font-family: "Golos Text", serif;
}



/* Стили для прелоадера */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff; /* Цвет фона */
    z-index: 9999; /* Помещаем поверх всего контента */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Анимация исчезновения прелоадера */
.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
}

.spinner {
    border: 8px solid rgba(0, 0, 0, 0.2); /* Граница круга */
    border-top: 8px solid #3498db; /* Активная часть круга */
    border-radius: 50%; /* Создаем круг */
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite; /* Добавляем анимацию */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/*.main-buttons{*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*    height: 50px;*/
/*    margin-bottom: 10px;*/
/*}*/

/*.main-buttons a{*/
/*    height: 100%;*/
/*    width: 49%;*/
/*    display: flex;*/
/*    justify-content: space-evenly;*/
/*    align-items: center;*/
/*    border-radius: 50px;*/
/*    text-decoration: none;*/

/*    background-color: #004FEB;*/
/*    color: white;*/
/*}*/

.main-buttons,
.main-buttons-phone {
    display: flex;
    gap: 12px; /* Расстояние между кнопками */
    padding-bottom: 15px;
    flex-wrap: wrap; /* Адаптивность на маленьких экранах */
    justify-content: space-between;
    margin: 0 auto;
    width: 100%;
}

.main-buttons a,
.main-buttons-phone a {
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-family: Nunito, sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: white;
    background: #2c7be5; /* Основной цвет кнопки */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.main-buttons a#appeal-link,
.main-buttons-phone a#appeal-link {
    background: #21c87a; /* Другой цвет для второй кнопки */
    width: 80%;
    text-align: CENTER;
    margin: 0 auto;
}

/* Эффект при наведении */
.main-buttons a:hover,
.main-buttons-phone a:hover {
    background-color: #276dc3; /* Темнее основного цвета */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Эффект при нажатии */
.main-buttons a:active,
.main-buttons-phone a:active {
    transform: scale(0.98); /* Небольшое уменьшение без сдвига */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Адаптивность */
@media (max-width: 480px) {
    .main-buttons-phone a {
        /*flex: 1 1 100%;*/
        /*margin: 6px 0;*/
    }
}


.my-house{
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-family: Nunito, sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: white;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}



.no-appeals-message {
    display: flex;
    gap: 24px;
    padding: 40px;
    background: #FFF8E1;
    border-radius: 12px;
    border: 1px solid #FFECB3;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 800px;
    /*margin: 40px auto;*/
}

.no-appeals-message .icon {
    flex-shrink: 0;
    margin-top: 8px;
}

.address-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.address-details span {
    padding: 12px;
    background: #FFF;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.2s;
}

.address-details span:hover {
    transform: translateX(8px);
    border-color: #FFA726;
}

.button.secondary {
    padding: 12px 24px;
    background: #FFA726;
    color: white;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.button.secondary:hover {
    background: #FB8C00;
    transform: translateY(-2px);
}

.button.secondary svg {
    margin-bottom: 2px;
}














@media (min-width: 1651px) {
    .menu-head{
        display: none;
    }
    .menu-head-in{
        display: none;
    }
    #messenger, #servisy{
        display: none;
    }
}

@media (max-width: 1650px) and (min-width: 1401px){
    .img1, .img3{
        width: 200px;
    }
    #messenger, #servisy{
        display: none;
    }
    .menu-head{
        display: none;
    }
    .menu-head-in{
        display: none !important;
    }
}

@media (min-width: 992px) and (max-width: 1400px) {
    .menu_itm{
        flex-direction: column;
        align-items: center;
    }
    .punkt{
        width: 30vw;
    }
    .punkt1{
        margin-bottom: 20px;
    }
    .img2{
        height: auto;
        width: 300px;
        bottom: 0;
        position: absolute;
    }
    .img1, .img3{
        width: 180px;
    }
    #messenger, #servisy{
        display: none;
    }
    .menu-head{
        display: none !important;
    }
    .menu-head-in{
        display: none !important;
    }
    /*.container{*/
    /*    min-width: 97vw;*/
    /*}*/
}

@media (min-width: 992px){
    .menu-head{
        display: none !important;
    }
    .menu-head-in{
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 992px){
     .img1, .img3{
         width: 50%;
     }
     .img2{
         width: -webkit-fill-available;
     }
     .punkt{
         width: 13vw;
         display: flex;
         flex-direction: column;
         height: 110px;
         justify-content: space-between;
         align-items: center;
     }
     .punkt img{
         margin: 0 0 10px 0;
     }
    .menu-head{
        display: none !important;
    }
    .menu-head-in{
        display: none !important;
    }
}

@media (min-width: 480px){

}

@media (min-width: 770px){
    .main-buttons-phone {
        display: none !important;
    }
    .services-island-out-phone, .services-island-phone {
        display: none;
    }
}

.mobile-filters {
    display: none;
}

@media (max-width: 1200px) {
    .mobile-filters {
        display: block;
    }
    .services-island-out {
        display: none !important;
    }
}

@media (min-width: 770px) and (max-width: 945px){
    .main{
        max-width: 90vw;
    }
    main{
        padding-top: 100px;
    }
    .head_in{
        width: 88vw;
    }
    .menu{
        width: 70vw;
    }
    .logo{
        display: none;
    }
    .cont_div1{
        flex-direction: column;
        height: 70vh;
    }
    .cont_div2{
        flex-direction: column;
        height: 80vh;
    }
    .text_block_div1, .text_block_div2{
        text-align: center;
    }
    .title_block h1{
        font-size: 20px;
    }
    .menu1{
        flex-direction: column;
    }
    .last_punkt{
        margin-bottom: 0;
    }
    .menu1 a{
        margin-bottom: 15px;
    }
    .last_punkt{
        margin-bottom: 0;
    }
    .punkt{
        width: 50vw;
    }
    .punkt1{
        margin-bottom: auto;
    }
    .text_block h1{
        font-size: 30px;
        width: 50vw;
        margin-bottom: 20px;
    }
    .text_punkt{
        flex-direction: column;
        width: 55vw;
    }
    .qr_podblock{
        display: none;
    }
    .info_block{
        flex-direction: column;
        height: 82vh;
    }
    .info_block a{
        justify-content: center;
    }
    .btn_in{
        height: 30vh;
        display: flex;
        align-items: center;
        text-align: center;
        justify-content: center;
    }
    .btn_in img{
        margin-bottom: 10px;
    }
    .info_block a{
        width: auto;
    }
    .first{
        margin: 0;
    }
    .img_block{
        width: auto;
        height: auto;
    }
    .qr_block{
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    footer{
        height: auto;
    }
    .foot{
        flex-direction: column;
    }
    .img1, .img3{
        width: 180px;
    }
    .menu_itm{
        flex-direction: column;
        align-items: center;
    }
    .services-island, .services-island-hidden{
        display: none;
    }
    .container{
        width: 100%;
        gap: 0px;
    }
    .post{
        /*margin: 5px 0;*/
    }
    .slider-container{
        overflow: hidden;
    }
    .menu.active{
        top: 215%;
    }
    .menu{
        right: -15px;
    }
    .main-buttons{
        display: none;
    }
    .messanger{
        display: none;
    }
}

@media (min-width: 0px) and (max-width: 770px){
    main{
        padding-top: 130px;
    }
    .main{
        max-width: 90vw;
    }
    .head_in{
        width: 88vw;
    }
    .menu{
        width: 70vw;
    }
    .logo{
        display: none;
    }
    .cont_div1{
        flex-direction: column;
        height: 70vh;
    }
    .cont_div2{
        flex-direction: column;
        height: 80vh;
    }
    .text_block_div1, .text_block_div2{
        text-align: center;
    }
    .title_block h1{
        font-size: 20px;
    }
    .menu1{
        flex-direction: column;
    }
    .last_punkt{
        margin-bottom: 0;
    }
    .menu1 a{
        margin-bottom: 15px;
    }
    .last_punkt{
        margin-bottom: 0;
    }
    .punkt{
        width: 50vw;
    }
    .punkt1{
        margin-bottom: auto;
    }
    .text_block h1{
        font-size: 30px;
        width: 50vw;
        margin-bottom: 20px;
    }
    .text_punkt{
        flex-direction: column;
        width: 55vw;
    }
    .qr_podblock{
        display: none;
    }
    .info_block{
        flex-direction: column;
        height: 82vh;
    }
    .info_block a{
        justify-content: center;
    }
    .btn_in{
        height: 30vh;
        display: flex;
        align-items: center;
        text-align: center;
        justify-content: center;
    }
    .btn_in img{
        margin-bottom: 10px;
    }
    .info_block a{
        width: auto;
    }
    .first{
        margin: 0;
    }
    .img_block{
        width: auto;
        height: auto;
    }
    .qr_block{
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    footer{
        height: auto;
    }
    .foot{
        flex-direction: column;
    }
    .img1, .img3{
        width: 180px;
    }
    .menu_itm{
        flex-direction: column;
        align-items: center;
    }
    .services-island, .services-island-hidden{
        display: none;
    }
    .container{
        width: 100%;
        gap: 0;
    }
    .post{
        /*margin: 5px 0;*/
    }
    .slider-container{
        overflow: hidden;
    }
    .menu.active{
        top: 215%;
    }
    .menu{
        right: -15px;
    }
    .main-buttons{
        display: none;
    }
    .messanger{
        display: none;
    }
}