/* === Cookie consent banner === */
.cookie_banner{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: #0276B8;
    color: #FFFFFF;
    padding: 16px 5%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px 24px;
    box-shadow: 0 -2px 10px rgba(0,0,0,.2);
    font-size: 14px;
    line-height: 1.4;
    box-sizing: border-box;
}
.cookie_banner[hidden]{
    display: none;
}
.cookie_banner .cookie_banner_inner{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
.cookie_banner p{
    margin: 0;
    flex: 1 1 480px;
}
.cookie_banner a{
    color: #FFFFFF;
    text-decoration: underline;
}
.cookie_banner a:hover{
    text-decoration: none;
}
.cookie_banner .cookie_accept{
    flex: 0 0 auto;
    background: #FFFFFF;
    color: #0276B8;
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
    font-family: "NotoSans_Bold", sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}
.cookie_banner .cookie_accept:hover{
    background: #D9EBF5;
}
@media (max-width:589px){
    .cookie_banner .cookie_banner_inner{
        align-items: flex-start;
        text-align: left;
    }
    .cookie_banner .cookie_accept{
        width: 100%;
    }
}

/* === Personal data consent checkbox in the lead form === */
.consent_label{
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    max-width: 460px;
    margin: 0 auto 15px auto;
    text-align: left;
    font-size: 72%;
    line-height: 1.35;
    color: #333;
}
.consent_label input[type="checkbox"]{
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 2px 0 0 0;
    accent-color: #0276B8;
    cursor: pointer;
}
.consent_label a{
    color: #0276B8;
    text-decoration: underline;
}
.consent_label a:hover{
    color: #015280;
}

/* === Footer legal links === */
.footer_legal_links{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    margin-top: 14px;
    font-size: 85%;
}
.footer_legal_links a{
    text-decoration: underline;
    color: inherit;
}
.footer_legal_links a:hover{
    text-decoration: none;
}
.footer_requisites{
    margin-top: 14px;
    font-size: 85%;
    opacity: 0.85;
    line-height: 1.5;
}

/* === Static legal content pages (privacy policy, consent, cookie policy) === */
.legal_content{
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 5% 70px 5%;
    box-sizing: border-box;
    line-height: 1.55;
}
.legal_content h1{
    font-size: 28px;
    font-family: "NotoSans_Bold", sans-serif;
    margin-bottom: 10px;
    line-height: 1.25;
}
.legal_content h2{
    font-size: 19px;
    font-family: "NotoSans_Bold", sans-serif;
    margin: 28px 0 10px 0;
}
.legal_content p, .legal_content li{
    margin-bottom: 12px;
}
.legal_content ul, .legal_content ol{
    padding-left: 22px;
    margin-bottom: 12px;
}
.legal_content .updated{
    color: #666;
    font-size: 90%;
    margin-bottom: 28px;
}
.legal_content a{
    color: #0276B8;
    text-decoration: underline;
}
.legal_content a:hover{
    color: #015280;
}
.legal_content .requisites{
    background: #D9EBF5;
    padding: 20px;
    border-radius: 9px;
    margin-top: 10px;
}
.legal_content .back_link{
    display: inline-block;
    margin-bottom: 24px;
    color: #0276B8;
}
