.mobile {
    display: none;
}

.width-header,
.footer	{
    display: none;
}

.menu__button {
    background: none;
}

a {
    color: #000;
    text-decoration: none;
    transition: .3s;
}

a:hover {
    text-decoration: none;
}

.cst__button {
    display: block;
    color: #fff;
    background: rgba(26, 76, 126, 1);
    padding: 10px 0;
    width: 100%;
    text-align: center;
    border-radius: 50px;
}

.header__munu {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__munu .custom__menu {
    display: flex;
    align-items: center;
    gap: 30px;

}

.header__munu .custom__menu a {
    color: #000;
}

.logo__text {
    fill: black;
}

.header__munu .custom__menu > .custom__nav > ul > li:not(:first-child) {
    margin-left: 15px;
}

.custom__nav ul {
    padding-left: 0;
    margin-bottom: 0;
}

.custom__nav ul li {
    display: inline-block;
    list-style: none;
}

.custom__button {
    text-align: right;
}

.custom__button a {
    display: inline-block;
    text-align: center;
    background: rgba(211, 47, 47, 1);
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    transition: .3s;
}

.custom__button a:hover {
    background: rgba(255, 0, 76, 1);
}

.cstm__dropdown {
    position: relative;
}

.cstm__dropdown_list{
    position:absolute;
    left:0;
    top:100%;
    padding-top: 20px;

    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;

    transition: transform .2s ease, opacity .2s ease;
}

.cstm__dropdown > a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cstm__dropdown svg {
    transition: .3s;
}

.cstm__dropdown:hover svg {
    transform: rotate(180deg);
}

.cstm__dropdown:hover .cstm__dropdown_list {
    transform: scaleY(1);
    opacity: 1;
}

.header__munu .custom__menu .cstm__dropdown_list a {
    color: #000;
}

header .container {
    padding-top: 20px;
    padding-bottom: 20px;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: 'Roboto', sans-serif;
}

.cstm__dropdown_list {
    background: #fff;
    min-width: 100%;
}

.cstm__dropdown_list li {
    width: max-content;
    margin-top: 0px;
    padding: 10px;
}

button,
button:active,
button:focus {
    outline: none;
    border: none;
}

.custom__breadcumps {
    margin-top: 40px;
}

.custom__breadcumps a:hover {
    text-decoration: underline;
}

.custom__breadcumps ul li {
    display: inline-block;
    list-style: none;
}

.custom__breadcumps ul li:not(:first-child) {
    margin-left: 15px;
}

.custom__breadcumps li.active {
    background: rgba(8,118,228,1);
    color: #fff;
    border-radius: 30px;
    padding: 0 10px;
}

footer {
    margin-top: 60px;
    background: rgba(52,61,77,1);
    padding: 40px;
}

footer .footer__phone {
    display: block;
    color: #fff;
    text-align: center;
}

footer .footer__block {
    text-align: center;
    color: #fff;
    font-weight: 300;
}

footer .footer__block h3 {
    font-size: 16px;
}

footer .footer__link {
    display: block;
    color: #fff;
    text-decoration: underline;
}

.custom__popup_menu {
    position: fixed;
    inset: 0;
    z-index: 9999;

    /* вместо display:none */
    visibility: hidden;
    opacity: 0;
    transition: opacity .25s ease, visibility 0s linear .25s;
}

.cali__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    padding: 16px;
    background: rgb(242, 242, 242);
}

.cali__title p {
    margin-bottom: 0;
}

.cali__title > p {
    font-family: 'Montserrat', sans-serif;
    color: #646464;
    font-weight: bold;
}

.cali__text p {
    cursor: pointer;
    color: rgba(147,147,147,1);
    font-weight: 300;
    margin-bottom: 0;
    margin-left: 10px;
}

.cali__text p.active {
    text-decoration: underline;
}

.custom__popup_request .content__body > h3 {
    text-align: center;
}

.custom__popup_request .content__body > p {
    color: rgba(52,61,77,1);
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-align: center;
}

.custom__accordeon_list .cal__item:not(:first-child) {
    margin-top: 24px;
}

.cali__title > div {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50px;
    background: #000;
}

.cali__title svg path {
    fill: rgb(227, 227, 227);
}

    /* иконка */
.cali__title svg {
    width: 18px;
    height: 18px;
    transition: transform .25s ease;
}

/* контент аккордеона */
.cali__text {
    display: none;           /* важно для slideToggle */
    padding-top: 10px;
}

/* состояние "открыто" */
.cal__item.is-open .cali__title svg {
    transform: rotate(180deg);
}

.custom__popup_request {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none; /* скрыт по умолчанию */
}

.custom__popup_request.is-open {
    display: block;
}

.popup__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* плавный hover */
.popup__close svg {
    transition: .2s ease;
}

.popup__close:hover svg {
    opacity: .7;
}

.agree__send p {
    margin-bottom: 0;
    margin-top: 10px;
}

.agree__send p a {
    color: #0a53be;
}

/* затемнение */
.custom__popup_request .focus__out {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
}

/* белый блок */
.custom__popup_request .content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 30px 20px 30px;

    width: 612px;
    height: auto;           /* фиксированная высота */
    background: #fff;

    /* чтобы скролл был внутри */
    overflow: hidden;
    display: flex;
    flex-direction: column;

    /* анимация (опционально) */
    opacity: 0;
    transition: .25s ease;
}

.custom__popup_request .content__body{
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 0 18px 18px;
}

.custom__popup_request.is-open .content {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.custom__popup_request .content__title {
    height: 80px;
    margin-bottom: 20px;
}

.custom__popup_request .content__title svg {
    width: 100%;
    height: 100%;
}

.custom__popup_request form input {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 5px 10px;
}

 .custom__popup_request form .send__request {
     background: rgba(211, 47, 47, 1);
     border-radius: 50px;
     padding: 10px 0;
     color: #fff;
     transition: .3s;
     margin: 20px auto 0;
     width: 250px;
     text-align: center;
     display: block;
 }

.custom__popup_request form .send__request:hover {
    background:  rgba(255, 0, 76, 1);;
}

.custom__popup_request form input.error {
    border: 1px solid #ff3b3b;
    background: #fff5f5;
    transition: .3s;
}

    /* запрет скролла на body */
body.no-scroll {
    overflow: hidden;
}

@media (max-width: 650px){
    .custom__popup_request .content{
        width: calc(100% - 30px);
        height: calc(100vh - 40px);
    }
}

@media (max-width: 550px) {
    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }

    footer .footer__block {
        margin-top: 40px;
    }

    .header__menu.mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px;
    }

    .custom__popup_menu.is-open {
        visibility: visible;
        opacity: 1;
        transition: opacity .25s ease, visibility 0s;
    }

    /* затемнение */
    .custom__popup_menu .focus__out {
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,.5);
        opacity: 0;
        transition: opacity .25s ease;
    }

    .custom__popup_menu.is-open .focus__out{
        opacity: 1;
    }

    /* панель меню */
    .custom__popup_menu .content {
        position: absolute;
        top: 0; left: 0;
        width: 80%;
        max-width: 320px;
        height: 100%;
        background: #fff;

        overflow-y: auto;
        -webkit-overflow-scrolling: touch;

        transform: translateX(-100%);
        transition: transform .25s ease;

        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 60px 20px;
    }

    .custom__popup_menu .content > div a {
        display: block;
        color: #939393;
        font-weight: 300;
    }

    .custom__popup_menu .content__top a.active {
        color: #646464;
        text-decoration: underline;
    }

    .custom__popup_menu .content .content__top a {
        margin-top: 20px;
    }

    .custom__popup_menu .content .content__bottom p {
        font-weight: 300;
    }

    .custom__popup_menu.is-open .content{
        transform: translateX(0);
    }

    /* запрет скролла страницы, когда меню открыто */
    body.menu-open {
        overflow: hidden;
        touch-action: none; /* помогает на мобилках */
    }
}