/* Дополнения для статической версии сайта */

html {
    scroll-padding-top: 20px;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #2f5496;
    outline-offset: 3px;
}

/* Блок связи в подвале вместо формы */
.footer_cta {
    color: #fff;
    text-align: center;
    padding: 10px 20px 0;
}

.footer_cta p {
    font-family: "RobotoRegular", sans-serif;
    font-size: 18px;
    line-height: 1.5;
    margin: 0 0 16px;
}

.footer_cta .footer_note {
    font-size: 15px;
    opacity: 0.85;
    margin-top: 18px;
}

.footer_actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.footer_actions .btn {
    display: inline-block;
    width: auto;
    margin: 0;
    padding: 9px 16px;
    font-size: 17px;
    color: #fff;
}

.footer_actions .btn:hover {
    color: #fff;
    background-color: #2f5496;
    border-color: #2f5496;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Реквизиты и нижняя строка подвала */
footer .f_contacts .contact_row {
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-size: 20px;
    line-height: 1.5;
    text-align: left;
    margin: 26px 0;
    padding-left: 60px;
}

footer .f_contacts .contact_row a {
    color: #fff;
    padding-left: 8px;
}

footer .f_contacts .contact_row a:hover {
    color: #e7e7e7;
}

footer .f_contacts .requisites {
    font-size: 11px;
    line-height: 1.5;
    margin: 6px 0 0;
    padding-left: 60px;
}

#burger-menu {
    background: none;
    border: 0;
    padding: 0;
}

.footer_bottom {
    margin-top: 35px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-family: "RobotoRegular", sans-serif;
    font-size: 14px;
    text-align: center;
}

.footer_bottom p {
    margin: 6px 0;
}

.footer_bottom a {
    color: #fff;
    text-decoration: underline;
}

.footer_bottom a:hover {
    color: #e7e7e7;
}

/* Юридические страницы */
.law {
    padding: 25px 0 40px;
}

.law h2 {
    font-size: 34px;
    line-height: 1.25;
    margin: 15px 0 30px;
}

.law p {
    text-align: justify;
    margin: 0 0 14px;
}

.law a {
    color: #2f5496;
    text-decoration: underline;
}

.error_page {
    padding: 70px 0;
    text-align: center;
}

.error_page h2 {
    margin-top: 0;
}

.btn_inline {
    display: inline-block;
    width: auto;
    color: #fff;
    text-decoration: none;
}

.btn_inline:hover {
    color: #fff;
    background-color: #2f5496;
    border-color: #2f5496;
}

@media only screen and (max-width: 768px) {
    .type_of_work {
        text-align: left;
    }

    .law p {
        text-align: left;
    }

    footer .f_contacts .requisites {
        padding-left: 20px;
    }

    footer .f_contacts .contact_row {
        padding-left: 20px;
    }

    .footer_cta {
        padding-left: 0;
        padding-right: 0;
    }

    .law h2 {
        font-size: 26px;
    }
}

@media only screen and (max-width: 600px) {
    .s_cert h2,
    .s_cases h2,
    .s_gratitude h2 {
        font-size: 30px;
        line-height: 1.25;
    }
}
