﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

section.services {
    position: relative;
    float: left;
    width: 100%;
    font-family: Roboto;
}

.container {
    width: 1280px;
    margin: 0 auto;
    position: relative;
}

.services_header {
    background-repeat: no-repeat;
    height: 213px;
    background-size: cover;
    margin-top: 40px;
    position: relative;
    float: left;
    width: 100%;
}

.sh_title {
    color: #1D1D1D;
    font-weight: bold;
    font-size: 48px;
    text-transform: uppercase;
    margin-top: 70px;
    position: relative;
}

.breadcrumb {
    font-weight: bold;
    font-size: 14px;
    line-height: 16px;
    text-transform: uppercase;
    color: #3F2E96;
    margin-top: 30px;
}

.breadcrumb a {
    color: #3F2E96;
}

.sh_image {
    position: absolute;
    top: -178px;
    right: 0;
    width: 540px;
}

.sh_image img {
    width: 100%;
    height: auto;
}

.services_general {
    position: relative;
    float: left;
    width: 100%;
    margin-top: 126px;
}

section.ask {
    position: relative;
    float: left;
    width: 100%;
    font-family: Roboto;
    margin-top: 90px;
    margin-bottom: 140px;
}

.sg_block {
    position: relative;
    width: 70%;
    float: left;
    padding-right: 38px;
}

.sidebar {
    position: relative;
    float: left;
    width: 30%;
}

.sidebar_services {
    padding: 29px 44px;
    border-radius: 27px;
    border: 1px solid #4229A1;
    margin-bottom: 30px;
    position: relative;
    float: left;
    width: 100%;
}

.ss_title {
    color: #5334BE;
    font-weight: bold;
    font-size: 18px;
    line-height: 153%;
    text-transform: uppercase;
    margin-bottom: 4px;
    padding-bottom: 23px;
    position: relative;
}

.ss_title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 164px;
    height: 3px;
    background: #5334BE;
}

.ss_item {
    font-size: 14px;
    line-height: 226%;
    text-transform: capitalize;
    color: #5334BE;
    margin-bottom: 0!important;
    list-style: none;
}

.ss_item a {
    color: #5334BE;
}

.ss_pay {
    width: 100%;
    margin-top: 22px;
}

.ss_pay img {
    width: 100%;
    height: auto;
}

form.search_sidebar {
    width: 100%;
    /* height: 34px; */
    margin-top: 10px;
    margin-bottom: 38px;
    position: relative;
    float: left;
}

form.search_sidebar input {
    width: 91%;
    float: left;
    position: relative;
    height: 34px;
    border: 1px solid #6C52D4;
    border-radius: 40px 0px 0px 40px;
    padding: 0 15px;
}

form.search_sidebar button {
    width: 9%;
    float: left;
    height: 34px;
    background: #5334BE;
    border: 1px solid #6C52D4;
    border-radius: 0px 40px 40px 0px;
    cursor: pointer;
    padding: 0!important;
}

.center {
    text-align: center;
}

.ss_title.center:after {
    left: 50%;
    transform: translateX(-50%);
}

.ss_descrip {
    margin-top: 14px;
    margin-bottom: 6px;
    text-align: center;
    color: #5334BE;
    text-transform: capitalize;
    font-size: 14px;
    line-height: 136%;
}

form.ss_form {
    width: 288px;
}

input.ss_form-input {
    width: 100%;
    height: 65px;
    border-radius: 40px;
    border: 2px solid #6C52D4;
    margin-bottom: 25px;
    padding: 0 10px;
    text-align: center;
    letter-spacing: 0.08em;
    font-size: 18px;
}

input.ss_form-input::placeholder {
    color: #4229A1;
}

button.ss_form-butt {
    text-align: center;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #3F2E96;
    background: #FFA925;
    border: 2px solid #FFD70F;
    border-radius: 40px;
    font-weight: bold;
    width: 100%;
    height: 65px;
    cursor: pointer;
}

.sgb_descrip {
    font-size: 18px;
    line-height: 28px;
    padding-right: 150px;
    margin-bottom: 34px;
}

.sgb_quote {
    width: 100%;
    display: flex;
    align-items: center;
}

.sgbq-left {
    width: 13%;
}

.sgbq-right {
    width: 87%;
    font-style: italic;
    font-weight: bold;
    font-size: 24px;
    line-height: 160%;
    padding-left: 20px;
    position: relative;
}

.sgbq-right span {
    color: #5334BE;
}

.sgbq-right:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    background: #FFCD64;
    width: 4px;
    height: 100%;
}

.sgb_link {
    position: relative;
    float: left;
    width: 100%;
    margin-top: 88px;
}

.sgb_link a {
    margin-right: 30px;
    text-decoration: none;
    border-bottom: 1px dashed #5334BE;
    color: #5334BE;
    font-size: 14px;
}

.sgb_services {
    position: relative;
    float: left;
    width: 100%;
    margin-top: 60px;
    border-top: 2px solid #5334BE;
    padding-top: 50px;
}

.sgb_services a:hover {text-decoration: revert;}

.sgbs-title {
    font-weight: bold;
    font-size: 27px;
    line-height: 144%;
    color: #0F2345;
    padding-bottom: 12px;
    position: relative;
    margin-bottom: 40px;
}

.sgbs-title:after {
    content: '';
    position: absolute;
    background: #FFCD64;
    width: 80px;
    height: 4px;
    bottom: 0;
    left: 0;
}

.sgbs_table {
    position: relative;
    float: left;
    width: 100%;
}

.sgbs_line {
    width: 100%;
    height: 1px;
    background: #0F2345;
    margin-bottom: 20px;
}

.sgbs_item {
    position: relative;
    display: flex;
    width: 100%;
    font-size: 18px;
    line-height: 144%;
    color: #5334BE;
    margin-bottom: 20px;
}

.sgbs_left {
    width: 70%;
}

.sgbs_right {
    width: 30%;
}

.sgbs_button {
    width: 250px;
    height: 65px;
    margin-top: 40px;
    position: relative;
    float: left;
    display: flex;
    cursor: pointer;
}

.sgbsb_left {
    letter-spacing: 0.08em;
    font-weight: bold;
    font-size: 14px;
    line-height: 18px;
    color: #FFFFFF;
    text-transform: uppercase;
    background: #4B2FAA;
    border-right: transparent;
    height: 100%;
    width: 80%;
    display: flex;
    border-radius: 40px 0px 0px 40px;
    border: 2px solid #5334BE;
    align-items: center;
    justify-content: center;
    transition: border 0.3s;
}

.sgbsb_right {
    width: 20%;
    height: 100%;
    background: #5334BE;
    border-radius: 0px 40px 40px 0px;
    align-items: center;
    justify-content: center;
    display: flex;
    border: 2px solid #FFD70F;
    border-left: transparent;
}

.sgbs_button:hover .sgbsb_left {
    border: 2px solid #FFD70F;
    color: #FFA925;
}

.sgbg_item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.sgbf_text {
    width: 55%;
    padding-right: 20px;
}

.sgb_img {
    width: 45%;
}

.sgbg_item:nth-child(2n) {
    flex-direction: row-reverse;
}

.sgb_key {
    display: flex;
}

.sgb_key-left {
    width: 50%;
}

.sgb_key-right {
    width: 50%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sgb_key-left li {
    font-size: 18px;
    line-height: 144%;
    color: #4B2FAA;
    margin-left: 15px;
    margin-bottom: 30px;
}

.sgb_key-quote {
    margin-top: 20px;
    position: relative;
    float: left;
    padding: 20px 24px;
    border: 1px solid #4229A1;
    border-radius: 27px;
    color: #0F2345;
    font-size: 16px;
    line-height: 144%;
}

.sgbs_flexs {
    display: flex;
    margin-bottom: 60px;
}

.sgbss_left p {
    font-size: 18px;
    line-height: 144%;
    margin-bottom: 40px;
    color: #0F2345;
}

.sgbss_left li {
    color: #0F2345;
    font-size: 18px;
    line-height: 144%;
    margin-left: 21px;
    margin-bottom: 20px;
}

.sgbss_left ul {
    list-style-image: url(../img/new_image/ok.svg);
}

.sgbss_left {
    width: 70%;
    padding-right: 50px;
}

.sgbss_right {
    width: 30%;
}

.sgbss_right img {
    width: 100%;
    height: auto;
    margin-bottom: 25px;
}

.clear {
    clear: both;
}

.sgbs_abs {
    position: absolute;
    top: 0;
    right: 100px;
}

.sgbsl_table {
    margin-top: 27px;
    position: relative;
    float: left;
    width: 100%;
}

.sgbs_abs img {
    width: 90%;
}

.sgbsl_table .sgbs_item:first-child {
    border: none;
    border-bottom: 1px solid #ADADAD;
}

.sgbs_abs {
    position: absolute;
    top: 0;
    right: 100px;
}

.sgbsl_table .sgbs_item {
    border: 1px solid #ADADAD;
    margin-bottom: 0;
    padding: 12px 10px;
    border-top: transparent;
}
.sgbsl_table a {
    border: 1px solid #ADADAD;
    position: relative;
    width: 100%;
    float: left;
    border-top: transparent;
}

.flex_ask {
    display: flex;
    align-items: center;
}

.ask_left {
    position: relative;
    float: left;
    width: 60%;
}

.ask_right {
    float: left;
    position: relative;
    width: 40%;
    background: #4229A1;
    border-radius: 20px;
    padding: 39px 69px;
    text-align: center;
}

.askr_title {
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    font-weight: bold;
    font-size: 36px;
    line-height: 153%;
}

.ask_title {
    color: #1D1D1D;
    font-weight: bold;
    font-size: 48px;
    line-height: 153%;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.ask_title span {
    color: #FFA925;
}

.ask_descr {
    color: #1D1D1D;
    font-weight: bold;
    font-size: 24px;
    line-height: 153%;
    margin-bottom: 45px;
    width: 55%;
}

.ask_text {
    font-size: 18px;
    line-height: 21px;
    width: 55%;
}

.askr_descr {
    font-size: 18px;
    line-height: 153%;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 20px;
}

form.ask_form {
    width: 360px;
    margin-top: 50px;
}

input.ask_form1 {
    height: 65px;
    width: 100%;
    border-radius: 40px;
    border: 2px solid #6C52D4;
    background: transparent;
    text-align: center;
    color: #fff;
    margin-bottom: 25px;
    letter-spacing: 0.08em;
    font-size: 18px;
}

input.ask_form1::placeholder {
    color: #fff;
}

input.ask_butt {
    color: #3F2E96;
    background: #FFA925;
    border: 2px solid #FFD70F;
    height: 65px;
    width: 100%;
    border-radius: 40px;
    font-size: 14px;
    line-height: 18px;
    font-weight: bold;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

input.ask_butt:hover {
    background: #4B2FAA;
    color: #FFA925;
}

ul#menu-osnovnye-uslugi-1 {
    font-size: 14px;
    line-height: 226%;
    text-transform: capitalize;
    color: #5334BE;
    list-style: none;
}

ul#menu-osnovnye-uslugi-1 li a {
    color: #5334BE;
}

ul#menu-dopolnitelnye-uslugi-1 li,
ul#menu-osnovnye-uslugi li,
ul#menu-dopolnitelnye-uslugi li {
    font-size: 14px;
    line-height: 226%;
    text-transform: capitalize;
    color: #5334BE;
    margin-bottom: 0!important;
    list-style: none;
}

ul#menu-dopolnitelnye-uslugi-1 a,
ul#menu-osnovnye-uslugi li a,
ul#menu-dopolnitelnye-uslugi a {
    color: #5334BE;
}

.wpcf7-submit.ss_form-butt {
    text-align: center;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #3F2E96;
    background: #FFA925;
    border: 2px solid #FFD70F;
    border-radius: 40px;
    font-weight: bold;
    width: 100%;
    height: 65px;
    cursor: pointer;
    transition: all 0.3s;
}

.wpcf7-submit.ss_form-butt:hover {
    background: #4B2FAA;
    color: #FFA925;
}

.sh_title.cont {
    margin-top: 20px;
}

.sh_image.cont {
    top: -72px;
}

.sgb_descrip-title {
    font-weight: bold;
    margin-bottom: 25px;
}

.sgb_descrip p {
    margin-bottom: 25px;
}

.sgb_descrip.cont {
    padding-right: 110px;
}

.sgb_maps {
    position: relative;
    width: 100%;
    float: left;
    margin-top: 90px;
}

.sgbslth_table {
    position: relative;
    float: left;
    width: 100%;
}
.sgbslth_table.more_class a:hover {
    text-decoration: revert;
}

.sgbsth_item {
    position: relative;
    display: flex;
    width: 100%;
    font-size: 14px;
    line-height: 144%;
    color: #5334BE;
    margin-bottom: 27px;
}

.sgbsth_left {
    width: 30%;
}

.sgbsth_center {
    width: 40%;
}

.sgbsth_right {
    width: 30%;
}

.sgbsfl_abs {
    position: absolute;
    top: 36px;
    left: 415px;
}
.sgbsfl_abs.mob {
    display: none;
}

.sgbs_map {
    position: relative;
    width: 100%;
    float: left;
}

.sgbsm_item {
    position: relative;
    width: 100%;
    float: left;
}

.sgbsm_top {
    display: flex;
    width: 100%;
    height: 320px;
}

.sgbsmt_left {
    width: 50%;
    height: auto;
    height: 320px;
}

.sgbsmt_right {
    width: 50%;
    height: 320px;
}

.sgbsmt_left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sgbsm_bottom {
    background: rgba(75, 47, 170, 0.1);
    padding: 32px 20px;
    display: flex;
    width: 100%;
}

.sgbsmb_left {
    width: 50%;
    padding-right: 15px;
}

.sgbsmb_right {
    width: 50%;
}

.maps_adress-title {
    font-weight: bold;
    font-size: 27px;
    line-height: 144%;
    color: #0F2345;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.maps_adress-title:after {
    content: '';
    position: absolute;
    background: #FFCD64;
    width: 80px;
    height: 4px;
    bottom: 0;
    left: 0;
}

.maps_adress-text {
    color: #0F2345;
    font-weight: normal;
    font-size: 16px;
    line-height: 142%;
    margin-bottom: 25px;
}
.maps_adress-text a {
    color: #0F2345;
}

.sgbsmb_right form {
    width: 100%;
    padding: 0 15px;
}

input.form_maps {
    width: 100%;
    border-radius: 40px;
    height: 65px;
    border: 2px solid #6C52D4;
    text-align: center;
    letter-spacing: 0.08em;
    font-size: 18px;
    margin-bottom: 26px;
    background: transparent;
}

.sgbs-titles.mob {
    font-weight: bold;
    font-size: 27px;
    line-height: 144%;
    color: #0F2345;
    padding-bottom: 12px;
    position: relative;
    margin-bottom: 40px;
}
.sgb_button_more {
display: none;
}

@media screen and (min-width:640px) {
    .br_block br {
        display: none;
    }
}

@media screen and (max-width:640px) {
    .container {
        width: 100%;
        padding: 0 10px;
    }
    .breadcrumb {
        display: none;
    }
    .sh_title {
        font-size: 30px;
        line-height: 35px;
        width: 100%;
        text-align: center;
        margin-top: 30px;
    }
    .services_header {
        height: 90px;
    }
    .sh_image {
        top: -6px;
        width: 90%;
        right: 50%;
        transform: translateX(50%);
    }
    .sg_block {
        width: 100%;
        padding-right: 0;
    }
    .sidebar {
        display: none;
    }
    .sgb_descrip {
        padding: 0;
        font-size: 18px;
        line-height: 29px;
    }
    .services_general {
        margin-top: 210px;
    }
    .sgb_quote {
        flex-direction: column;
    }
    .sgbq-right:after {
        width: 140px;
        height: 4px;
        left: 50%;
        transform: translateX(-50%);
    }
    .sgbq-left {
        width: 90px;
        margin-bottom: 22px;
    }
    .sgbq-right {
        padding-left: 0;
        width: 100%;
        text-align: center;
        font-size: 18px;
        line-height: 160.19%;
        padding-top: 22px;
    }
    .sgb_link {
        display: none;
    }
    .sgbg_item {
        flex-direction: column-reverse;
    }
    .sgbg_item:nth-child(2n) {
        flex-direction: column-reverse;
    }
    .sgbf_text {
        width: 100%;
    }
    .sgb_img {
        width: 100%;
        text-align: center;
    }
    .sgb_key {
        flex-direction: column;
    }
    .sgb_key-left {
        width: 100%;
    }
    .sgb_key-right {
        width: 100%;
        margin-top: 11px;
    }
    .sgbs_abs {
        display: none;
    }
    .flex_ask {
        flex-direction: column;
    }
    .ask_title {
        font-size: 24px;
    }
    .ask_left {
        width: 100%;
    }
    .ask_descr {
        font-size: 14px;
        margin-bottom: 25px;
        width: 100%;
    }
    .ask_text {
        font-size: 14px;
        width: 100%;
    }
    .ask_right {
        width: 100%;
        padding: 25px 20px;
        border-radius: 0;
        margin-top: 40px;
    }
    .askr_title {
        font-size: 24px;
    }
    .askr_descr {
        font-size: 14px;
        margin-bottom: 30px;
    }
    form.ask_form {
        width: 100%;
    }
    .sgbss_left {
        width: 100%;
        padding-right: 0;
    }
    .sgbss_right {
        display: none;
    }
    section.ask {
        margin-bottom: 50px;
    }
    .sgbs_left {
        padding-right: 10px;
    }
    .sgbs_item {
        font-size: 17px;
    }
    .sh_image.cont {
        top: 150px;
    }
    .services_header.cont {
        height: 230px;
    }
    .sgb_descrip p {
        line-height: 160%;
    }
    .sgbsth_right {
        display: none;
    }
    .sgbsth_center {
        width: 50%;
    }
    .sgbsth_left {
        width: 50%;
        padding-right: 15px;
    }
    .sgbsfl_abs {
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
        display: none;
    }
    .sgbsfl_abs.mob {
        display: block;
        text-align: center;
        margin-bottom: 30px;
    }
    .sgbsm_top {
        flex-direction: column;
        position: relative;
        float: left;
        height: 640px;
    }
    .sgbsmt_left {
        width: 100%;
    }
    .sgbsmt_right {
        width: 100%;
        position: relative;
        float: left;
    }
    .sgbsm_bottom {
        flex-direction: column;
        position: relative;
        float: left;
    }
    .sgbsmb_left {
        width: 100%;
    }
    .sgbsmb_right {
        width: 100%;
    }
    .sgbs-titles.mob {
        text-align: center;
        margin-top: 10px;
    }
    .sgb_descrip.cont {
        padding-right: 0px;
    }
    .sgbs_button.button_window {
        left: 50%;
        transform: translateX(-50%);
    }
    .sgb_button_more {
        display: block;
        border-radius: 40px;
        border: 2px solid #6C52D4;
        width: 245px;
        height: 65px;
        text-align: center;
        vertical-align: middle;
        position: relative;
        float: left;
        font-weight: 700;
        font-size: 14px;
        line-height: 18px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #4B2FAA;
        padding: 22px 0;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 20px;
    }
    .more_class .sgbsth_item {
        display: none;
    }

    .more_class .sgbsth_item:nth-child(1), .more_class .sgbsth_item:nth-child(2), .more_class .sgbsth_item:nth-child(3), .more_class .sgbsth_item:nth-child(4), .more_class .sgbsth_item:nth-child(5), .more_class .sgbsth_item:nth-child(6) {
        display: flex;
    }
    .more_class1 .sgbs_item {
         display: none;
     }

    .more_class1 .sgbs_item:nth-child(1), .more_class1 .sgbs_item:nth-child(2), .more_class1 .sgbs_item:nth-child(3), .more_class1 .sgbs_item:nth-child(4), .more_class1 .sgbs_item:nth-child(5), .more_class1 .sgbs_item:nth-child(6) {
        display: flex;
    }

    .more_class2 .sgbs_item {
        display: none;
    }

    .more_class2 .sgbs_item:nth-child(1), .more_class2 .sgbs_item:nth-child(2), .more_class2 .sgbs_item:nth-child(3), .more_class2 .sgbs_item:nth-child(4), .more_class2 .sgbs_item:nth-child(5) {
        display: flex;
    }

    .more_class3 .sgbs_item {
        display: none;
    }

    .more_class3 .sgbs_item:nth-child(1), .more_class3 .sgbs_item:nth-child(2), .more_class3 .sgbs_item:nth-child(3), .more_class3 .sgbs_item:nth-child(4), .more_class3 .sgbs_item:nth-child(5), .more_class3 .sgbs_item:nth-child(6) {
        display: flex;
    }
    .dn{
        display: none;
    }
}

.site-content--hidden {
    display: none !important;
}

/* Home hero: одна стрелка на кнопке (убираем шрифт Swiper + дубли с ::after темы) */
body.home section.main .swiper-button-prev-main::before,
body.home section.main .swiper-button-next-main::before,
body.home section.main .swiper-button-prev-main::after,
body.home section.main .swiper-button-next-main::after,
body.home section.main .swiper-button-prev-mobail::before,
body.home section.main .swiper-button-next-mobail::before,
body.home section.main .swiper-button-prev-mobail::after,
body.home section.main .swiper-button-next-mobail::after {
    display: none !important;
    content: none !important;
    background: none !important;
    font-family: initial !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

/*
 * Swiper Bundle 9+ вставляет в кнопки <svg class="swiper-navigation-icon">.
 * Тема уже рисует стрелку через background-image — без скрытия SVG получаются «две стрелки».
 */
body.home section.main .swiper-button-prev-main svg,
body.home section.main .swiper-button-next-main svg,
body.home section.main .swiper-button-prev-mobail svg,
body.home section.main .swiper-button-next-mobail svg,
body.home section.main .swiper-navigation-icon {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

/* Вертикальный слайдер ПК: стрелка только фоном кнопки */
body.home section.main .swiper-button-prev-main,
body.home section.main .swiper-button-next-main {
    background-repeat: no-repeat !important;
    background-position: center !important;
}

body.home section.main .swiper-button-prev-main {
    background-color: #ffa925 !important;
    background-image: url("/wp-content/themes/test/img/main/down.png") !important;
}

body.home section.main .swiper-button-next-main {
    background-color: #ffa925 !important;
    background-image: url("/wp-content/themes/test/img/main/up.png") !important;
}

body.home section.main .swiper-button-prev-main.swiper-button-disabled {
    background-color: #4229a1 !important;
    background-image: url("/wp-content/themes/test/img/main/down.png") !important;
}

body.home section.main .swiper-button-next-main.swiper-button-disabled {
    background-color: #4229a1 !important;
    background-image: url("/wp-content/themes/test/img/main/up.png") !important;
}

/* Мобильный слайдер */
body.home section.main .swiper-button-prev-mobail,
body.home section.main .swiper-button-next-mobail {
    background-repeat: no-repeat !important;
    background-position: center !important;
}

body.home section.main .swiper-button-prev-mobail {
    background-color: #ffa925 !important;
    background-image: url("/wp-content/themes/test/img/left.png") !important;
}

body.home section.main .swiper-button-next-mobail {
    background-color: #ffa925 !important;
    background-image: url("/wp-content/themes/test/img/right.png") !important;
}

body.home section.main .swiper-button-prev-mobail.swiper-button-disabled {
    background-color: #4229a1 !important;
    background-image: url("/wp-content/themes/test/img/left.png") !important;
}

body.home section.main .swiper-button-next-mobail.swiper-button-disabled {
    background-color: #4229a1 !important;
    background-image: url("/wp-content/themes/test/img/right.png") !important;
}

/* Мобильные стрелки: один размер, без «двойной» тени/фокуса */
body.home section.main .swiper-button-prev-mobail,
body.home section.main .swiper-button-next-mobail {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
    -webkit-tap-highlight-color: transparent;
}

body.home section.main .swiper-button-prev-main,
body.home section.main .swiper-button-next-main {
    box-shadow: none !important;
    filter: none !important;
}

/* Кнопка CTA: без второй «стрелки» из <img> */
body.home .main-bottom_btn img {
    display: none !important;
}

/* Первый экран: зазор под шапкой (не прилипает к header) */
body.home section.main {
    scroll-margin-top: 96px;
}

@media (min-width: 609px) and (max-width: 978px) {
    body.home section.main {
        padding-top: 40px !important;
    }
}

/*
 * ПК: узкий контейнер слайдера + явные top/bottom у стрелок.
 * Иначе Swiper для vertical ставит next/prev по центру всей ширины .container (~1150px),
 * и кнопки «улетают» в середину экрана.
 */
@media (min-width: 609px) {
    body.home section.main .swiper-container.swiper-container-main {
        max-width: min(580px, 58%) !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: auto !important;
        height: 268px !important;
        position: relative !important;
        z-index: 2;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    body.home section.main .swiper-container-main .swiper-button-prev-main {
        left: 10px !important;
        right: auto !important;
        top: 6px !important;
        bottom: auto !important;
        margin: 0 !important;
        transform: none !important;
    }

    body.home section.main .swiper-container-main .swiper-button-next-main {
        left: 10px !important;
        right: auto !important;
        top: auto !important;
        bottom: 8px !important;
        margin: 0 !important;
        transform: none !important;
    }

    body.home section.main .swiper-container-main.swiper-container-vertical > .swiper-pagination,
    body.home section.main .swiper-container-main > .swiper-pagination.swiper-pagination-bullets {
        left: 58px !important;
        right: auto !important;
        width: auto !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
}

/* Десктоп: секция не обрезается, картинка справа */
@media (min-width: 979px) {
    body.home section.main {
        min-height: 520px;
        height: auto !important;
        padding-top: 72px !important;
        padding-bottom: 40px;
        overflow: visible !important;
    }

    body.home section.main .main_img .mobail-img {
        display: none !important;
    }

    body.home section.main .main_img .desk-img {
        display: block !important;
    }

    body.home section.main .main_img {
        position: absolute !important;
        top: 36px !important;
        left: auto !important;
        right: 24px !important;
        width: min(44vw, 460px) !important;
        max-width: 460px;
        z-index: 1;
    }

    body.home section.main .main_img img.desk-img {
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
    }
}

/*
 * Только при max-width: 608px в теме включается .swiper-container-mobail
 * (иначе на планшете должен оставаться десктопный слайдер и desk-img).
 */
@media (max-width: 608px) {
    body.home section.main {
        height: auto !important;
        min-height: 0 !important;
        padding-top: 32px !important;
        padding-bottom: 24px !important;
        overflow: visible !important;
    }

    body.home section.main .main_img .desk-img {
        display: none !important;
    }

    body.home section.main .main_img .mobail-img {
        display: block !important;
    }

    body.home section.main .main_img {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        max-width: 280px !important;
        margin: 8px auto 0 !important;
        text-align: center;
    }

    body.home section.main .main_img img.mobail-img {
        width: 100% !important;
        height: auto !important;
        margin: 0 auto !important;
    }

    body.home section.main .swiper-container.swiper-container-mobail {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 52px !important;
        box-sizing: border-box !important;
    }

    body.home section.main .swiper-button-next-mobail,
    body.home section.main .swiper-container-rtl .swiper-button-prev-mobail {
        right: 6px !important;
        left: auto !important;
        top: calc(50% - 22px) !important;
    }

    body.home section.main .swiper-button-prev-mobail,
    body.home section.main .swiper-container-rtl .swiper-button-next-mobail {
        left: 6px !important;
        right: auto !important;
        top: calc(50% - 22px) !important;
    }

    body.home section.main .main-bottom {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }

    body.home section.main .main-bottom_btn {
        margin-left: 0 !important;
        margin-top: 20px !important;
    }
}


/* Pomogators legal clarity */
.pom-legal-top {
    position: relative;
    z-index: 1000;
    background: #fff8d8;
    border-bottom: 1px solid #e0c76b;
    color: #1f2933;
    font-family: Roboto, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.35;
}
.pom-legal-top__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 9px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    flex-wrap: wrap;
}
.pom-legal-top strong { font-weight: 900; color: #152f45; }
.pom-legal-top a { color: #0d5e9c; font-weight: 700; text-decoration: underline; }
.footer-copy_copy {
    line-height: 1.55;
}
.footer-copy_text {
    margin-top: 12px;
    line-height: 1.55;
}
.pom-form-disclaimer {
    max-width: 520px;
    margin: 10px auto 0;
    font-size: 12px;
    line-height: 1.35;
    color: rgba(255,255,255,.88);
    text-align: center;
}
.aside-form .pom-form-disclaimer,
.wpcf7 .pom-form-disclaimer {
    color: #555;
}
@media (max-width: 640px) {
    .pom-legal-top { font-size: 12px; }
    .pom-legal-top__inner { padding: 8px 10px; gap: 5px; }
}

/* Pomogators responsive repair 2026-05-25 */
:root {
    --pom-purple-dark: #2d2174;
    --pom-purple: #3f2e96;
    --pom-orange: #ffa925;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden !important;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.container,
.header .container,
.footer .container,
body.home section.main > .container,
body.home section.about > .container,
body.home section.video > .container,
body.home section.auto > .container,
body.home section.reviews > .container,
body.home section.article > .container {
    width: min(calc(100% - 32px), 1150px) !important;
    max-width: 1150px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.header,
.main,
.footer,
section,
.swiper-container,
.swiper-wrapper {
    max-width: 100%;
}

.pom-legal-top {
    background: linear-gradient(90deg, #261a66 0%, #35248a 56%, #432ca3 100%) !important;
    border-bottom: 2px solid var(--pom-orange) !important;
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(31, 21, 89, .18);
}

.pom-legal-top__inner {
    width: min(calc(100% - 32px), 1150px) !important;
    max-width: 1150px !important;
    padding: 10px 0 !important;
    justify-content: space-between !important;
    gap: 14px !important;
    text-align: left !important;
    flex-wrap: nowrap !important;
}

.pom-legal-top strong {
    color: var(--pom-orange) !important;
    white-space: nowrap;
    font-size: 14px;
    letter-spacing: 0;
}

.pom-legal-top span {
    flex: 1 1 auto;
    min-width: 0;
    color: rgba(255,255,255,.94);
}

.pom-legal-top a {
    flex: 0 0 auto;
    color: #fff !important;
    border: 1px solid rgba(255, 169, 37, .75);
    border-radius: 999px;
    padding: 6px 12px;
    text-decoration: none !important;
    line-height: 1;
    background: rgba(255, 169, 37, .12);
}

.header-top,
.header-bottom {
    width: 100% !important;
    max-width: 100% !important;
}

.header-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: clamp(12px, 1.7vw, 28px) !important;
}

.header-top_logo {
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    max-width: 430px !important;
}

.header-top_logo img {
    flex: 0 0 auto;
}

.header-top_logo span {
    min-width: 0 !important;
    max-width: 320px;
    font-size: clamp(10px, .9vw, 13px) !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

.header-top_phone,
.header-top_email,
.header-top_soc {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
}

.header-top_email {
    min-width: 0 !important;
}

.header-top_email a {
    display: inline-block;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
}

.header-bottom {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
}

.header-bottom_nav {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: clamp(10px, 1.25vw, 24px) !important;
    min-width: 0 !important;
}

.header-bottom_nav__link,
.header-bottom_nav__link a {
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    letter-spacing: 0 !important;
}

.header-bottom_nav__link a {
    font-size: clamp(12px, .88vw, 14px) !important;
    line-height: 1.15 !important;
}

body.home section.main {
    overflow: hidden !important;
}

body.home section.main .swiper-container.swiper-container-main {
    width: min(640px, calc(100% - min(42vw, 500px))) !important;
    min-width: 520px !important;
    max-width: 640px !important;
    height: 282px !important;
    overflow: hidden !important;
}

body.home section.main .swiper-container-main .swiper-wrapper,
body.home section.main .swiper-container-main .swiper-slide-main {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
}

body.home section.main .swiper-container-main .swiper-slide-main {
    padding-right: 74px !important;
}

body.home section.main .swiper-container-main h1,
body.home section.main .swiper-container-main h2,
body.home section.main .swiper-slide-main h1,
body.home section.main .swiper-slide-main h2 {
    max-width: 100% !important;
    margin: 0 !important;
    font-size: clamp(30px, 2.45vw, 44px) !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    overflow: visible !important;
}

body.home section.main .swiper-container-main h1 span,
body.home section.main .swiper-container-main h2 span,
body.home section.main .swiper-slide-main h1 span,
body.home section.main .swiper-slide-main h2 span {
    display: block !important;
    font-size: clamp(30px, 2.45vw, 44px) !important;
    line-height: 1.12 !important;
    margin-top: 6px !important;
}

body.home section.main .swiper-container-main .swiper-button-prev-main,
body.home section.main .swiper-container-main .swiper-button-next-main {
    left: auto !important;
    right: 8px !important;
    z-index: 6 !important;
}

body.home section.main .swiper-container-main .swiper-pagination,
body.home section.main .swiper-container-main.swiper-container-vertical > .swiper-pagination,
body.home section.main .swiper-container-main > .swiper-pagination.swiper-pagination-bullets {
    left: auto !important;
    right: 12px !important;
    width: 28px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 5 !important;
}

body.home section.main .main_img {
    right: max(16px, calc((100vw - 1150px) / 2)) !important;
    width: clamp(320px, 32vw, 460px) !important;
    max-width: 460px !important;
}

body.home section.main .main-bottom,
body.home section.main .main-bottom_btn {
    max-width: 100% !important;
}

.swiper-container-reviews,
.reviews-info {
    max-width: 100% !important;
    overflow: hidden !important;
}

.swiper-pagination-reviews {
    max-width: 100% !important;
    right: 0 !important;
}

.auto-left,
.auto-left_title,
.article-info_title,
.reviews-info,
.video .container {
    max-width: 100% !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

.footer {
    overflow: hidden !important;
}

.footer-copy,
.footer-copy_copy,
.footer-copy_text {
    max-width: 100% !important;
    overflow-wrap: anywhere;
}

.footer-copy_copy {
    display: block;
    line-height: 1.55 !important;
}

.footer-copy_text {
    max-width: 1050px !important;
    line-height: 1.55 !important;
}

@media (max-width: 1180px) {
    .container,
    .header .container,
    .footer .container,
    body.home section.main > .container {
        width: min(calc(100% - 28px), 1150px) !important;
    }

    .header-top {
        gap: 12px !important;
    }

    .header-top_email a {
        max-width: 180px;
    }

    .header-bottom_nav {
        gap: 12px !important;
    }
}

@media (max-width: 980px) {
    .container,
    .header .container,
    .footer .container,
    body.home section.main > .container,
    body.home section.about > .container,
    body.home section.video > .container,
    body.home section.auto > .container,
    body.home section.reviews > .container,
    body.home section.article > .container {
        width: min(calc(100% - 20px), 1150px) !important;
    }

    .pom-legal-top__inner {
        width: min(calc(100% - 20px), 1150px) !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 8px 10px !important;
        padding: 9px 0 !important;
    }

    .pom-legal-top strong {
        font-size: 13px !important;
    }

    .pom-legal-top span {
        flex: 1 1 100%;
        order: 3;
        font-size: 12px;
        line-height: 1.32;
    }

    .pom-legal-top a {
        padding: 5px 10px;
        font-size: 12px;
    }

    .header-top {
        width: 100% !important;
        min-height: 70px;
    }

    .header-top_logo {
        max-width: calc(100% - 54px) !important;
    }

    .header-top_logo span {
        max-width: 230px;
        font-size: 11px !important;
    }

    .header-top_phone,
    .header-top_email,
    .header-top_soc,
    .table_btn {
        display: none !important;
    }

    .burger {
        display: flex !important;
        flex: 0 0 auto !important;
    }

    .header-bottom {
        display: none !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        overflow: hidden !important;
    }

    .header-bottom.active {
        display: block !important;
    }

    .header-bottom_nav {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        padding: 12px 0 !important;
    }

    .header-bottom_nav__link,
    .header-bottom_nav__link a {
        white-space: normal !important;
        line-height: 1.2 !important;
    }

    body.home section.main {
        height: auto !important;
        min-height: 0 !important;
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    body.home section.main .swiper-container-main {
        display: none !important;
    }

    body.home section.main .swiper-container.swiper-container-mobail {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 0 54px !important;
        overflow: hidden !important;
    }

    body.home section.main .swiper-container-mobail .swiper-wrapper,
    body.home section.main .swiper-container-mobail .swiper-slide-main {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    body.home section.main .swiper-container-mobail .swiper-slide-main {
        text-align: center !important;
        padding: 0 6px !important;
    }

    body.home section.main .swiper-container-mobail h2,
    body.home section.main .swiper-container-mobail h2 span {
        max-width: 100% !important;
        font-size: clamp(20px, 5.6vw, 28px) !important;
        line-height: 1.18 !important;
        letter-spacing: 0 !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    body.home section.main .swiper-button-prev-mobail,
    body.home section.main .swiper-button-next-mobail {
        top: auto !important;
        bottom: 0 !important;
        margin: 0 !important;
        transform: none !important;
        z-index: 5 !important;
    }

    body.home section.main .swiper-button-prev-mobail {
        left: calc(50% - 54px) !important;
        right: auto !important;
    }

    body.home section.main .swiper-button-next-mobail {
        left: calc(50% + 14px) !important;
        right: auto !important;
    }

    body.home section.main .main_img {
        position: relative !important;
        right: auto !important;
        top: auto !important;
        width: min(76vw, 300px) !important;
        max-width: 300px !important;
        margin: 10px auto 0 !important;
    }

    body.home section.main .main-bottom_btn,
    body.home section.main .main-bottom_btn__link {
        width: 100% !important;
        max-width: 340px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .reviews-info,
    .swiper-container-reviews {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 380px) {
    .pom-legal-top span {
        font-size: 11.5px;
    }

    .header-top_logo span {
        max-width: 190px;
        font-size: 10px !important;
    }

    body.home section.main .swiper-container-mobail h2,
    body.home section.main .swiper-container-mobail h2 span {
        font-size: 20px !important;
    }
}

/* Pomogators responsive repair pass 2 2026-05-25 */
.header-bottom {
    justify-content: space-between !important;
}

.header-bottom_nav {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    overflow: visible !important;
}

.header-bottom-search {
    flex: 0 1 280px !important;
    max-width: 280px !important;
    min-width: 180px !important;
}

.header-bottom-search form,
.header-bottom-search input[type="text"] {
    width: 100% !important;
    max-width: 100% !important;
}

@media (min-width: 981px) and (max-width: 1180px) {
    .header-bottom-search,
    .header-top_phone-table,
    .header-top_email-table,
    .header-top_soc-table {
        display: none !important;
    }

    .header-bottom_nav {
        justify-content: space-between !important;
        gap: 10px !important;
    }
}

body.home section.main .swiper-container-main .swiper-wrapper {
    overflow: hidden !important;
}

body.home section.main .swiper-container-main .swiper-slide-main {
    overflow: hidden !important;
}

body.home section.main .swiper-container-main .swiper-slide-active {
    overflow: visible !important;
}

body.home section.main .swiper-container-main .swiper-slide-active h1,
body.home section.main .swiper-container-main .swiper-slide-active h2 {
    overflow: visible !important;
}

.video,
.video .container,
.advantages,
.advantages .container,
.reviews,
.reviews .container,
.article,
.article .container,
.auto,
.auto .container {
    overflow-x: clip !important;
}

.title,
.title h2,
.advantages-right_title,
.article-info_title,
.auto-left_title,
.video_title,
.video-title,
.reviews-info_title {
    max-width: 100% !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    letter-spacing: 0 !important;
}

.reviews-info {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    overflow: hidden !important;
}

.swiper-pagination-reviews {
    position: static !important;
    width: auto !important;
    max-width: none !important;
    transform: none !important;
    flex: 0 0 auto !important;
    font-size: clamp(28px, 3.2vw, 50px) !important;
    line-height: 1 !important;
}

@media (max-width: 980px) {
    .reviews-info {
        align-items: flex-start !important;
    }

    .swiper-pagination-reviews {
        font-size: 28px !important;
    }
}

@media (max-width: 480px) {
    .title,
    .title h2,
    .advantages-right_title,
    .article-info_title,
    .auto-left_title,
    .video_title,
    .video-title,
    .reviews-info_title {
        font-size: clamp(22px, 7vw, 28px) !important;
        line-height: 1.14 !important;
    }

    .advantages-right_title {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .video .container,
    .advantages .container,
    .reviews .container,
    .article .container,
    .auto .container {
        width: min(calc(100% - 20px), 1150px) !important;
    }
}

/* Pomogators responsive repair pass 3 2026-05-25 */
@media (min-width: 981px) {
    body.home section.main .swiper-container.swiper-container-main {
        overflow: visible !important;
    }

    body.home section.main .swiper-container-main .swiper-wrapper {
        overflow: hidden !important;
    }

    body.home section.main .swiper-container-main .swiper-slide-main {
        padding: 0 112px 0 24px !important;
        text-align: center !important;
    }

    body.home section.main .swiper-container-main h1,
    body.home section.main .swiper-container-main h2,
    body.home section.main .swiper-slide-main h1,
    body.home section.main .swiper-slide-main h2 {
        width: 100% !important;
        max-width: 520px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }

    body.home section.main .swiper-container-main .swiper-button-prev-main,
    body.home section.main .swiper-container-main .swiper-button-next-main {
        left: auto !important;
        right: -42px !important;
    }

    body.home section.main .swiper-container-main .swiper-pagination,
    body.home section.main .swiper-container-main.swiper-container-vertical > .swiper-pagination,
    body.home section.main .swiper-container-main > .swiper-pagination.swiper-pagination-bullets {
        left: auto !important;
        right: -38px !important;
    }

    body.home section.main .main-bottom {
        width: min(640px, calc(100% - min(42vw, 500px))) !important;
        min-width: 520px !important;
        max-width: 640px !important;
    }

    body.home section.main .main-bottom_btn {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        justify-content: center !important;
    }

    body.home section.main .main-bottom_btn__link {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 260px !important;
        text-align: center !important;
    }
}

@media (max-width: 980px) {
    body.home section.main .swiper-container-mobail .swiper-slide-main {
        margin-left: 0 !important;
        margin-right: 0 !important;
        left: auto !important;
        right: auto !important;
        text-align: center !important;
    }

    body.home section.main .swiper-container-mobail h2,
    body.home section.main .swiper-container-mobail h2 span {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }

    body.home section.main .main_img {
        left: auto !important;
        right: auto !important;
        transform: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }

    body.home section.main .main_img img {
        max-width: 100% !important;
        height: auto !important;
    }

    body.home section.main .main-bottom_btn {
        margin-top: 20px !important;
        justify-content: center !important;
    }

    body.home section.main .main-bottom_btn__link {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
}
