
@media (max-width: 480px) {
    .header-socials__title {
        font-size: 12px;
    }
    .header-socials__title {
        line-height: 18px;
    }
}

@media (max-width: 768px) {
    .video-wrapper {
        position: relative;
        width: 100%;
        height: 275px!important;
    }
    .b9__wrap {
        margin-top: 25px;
        grid-template-columns: 1fr;
    }
    .b9 {
        margin-bottom: 60px;
    }
    .b14__img--4 {
        width: 100px;
    }
    .b14__grid {
        margin-top: 15px;
    }
    .b14__img--2 {
        width: 100px;
    }
    .b14__item {
        border-radius: 20px;
        padding: 15px 10px 0;
        margin: 15px 0;
    }
    .container {
        flex-direction: column;
    }
    .info-section,
    .form-section {
        width: 100%;
    }
}

@media (max-width: 1200px) {
    .header-socials{
        display: none;
    }
    .video-wrapper {

        position: relative;
        width: 100%;
        height: 305px;
    }
    .hdr .container {
        /* height: 60px; */
    }
    .div-phone-up{
        display: none;
    }
    .hdr__logo{
        width: 70svw;
        margin:  0 auto;
        display: flex;
        justify-content: center;
    }
    .img-container{
        margin:  0 auto;
        background-color: #8d8d8d;
    }
    h2 {
        color: #fff;
        text-align: left;
        margin-bottom: 0;
        font-weight: 400;
        font-size: 40px;
        max-width: 1170px;
        line-height: 1.3;
        position: relative;
        z-index: 10;
        font-weight: 400;
    }
    .h2-description {
        font-size: 20px;
        margin-top: 25px;
        line-height: 1.7;
        text-align: left;
        max-width: 1170px;
        margin-right: auto;
        color: #8d8d8d;
    }
    .frontdirector__over {
        display: flex;
        flex-flow: wrap;
        align-items: stretch;
        justify-content: center;
        padding: 0 55px;
    }
    .preview-text {
        position: relative;
        top: 50px;
        width: 100%;
        text-align: center;
        color: white;
        font-size: 12px;
        z-index: 10;
        font-weight: 500;
        pointer-events: all;
        width: 80%;
    }

    .hdr__slogan {
        display: none;
    }
    .hdr__action {
        font-size: 13px;
        white-space: nowrap;
    }
    .hdr__action img {
        width: 15px;
        margin-right: 8px;
    }
    .hdr__action small {
        display: none;
    }
    .b1__wrap {
        border-radius: 30px;
    }
    .b1 .container {
        padding-top: 30px;
        padding-bottom: 130px;
    }
    .b1__abs {
        width: 200px;
        right: -50px;
        top: 70px;
    }
    .b1__absleft {
        width: 150px;
        left: -56px;
        top: 340px;
    }
    .b1__tags {
        height: auto;
        flex-flow: row wrap;
        margin-bottom: 30px;
    }
    .b1__tags span {
        height: 30px;
        padding: 0 15px;
        margin-right: 5px;
        margin-bottom: 5px;
        font-size: 12px;
    }
    .b1__title {
        font-size: 30px;
        line-height: 1.2;
        font-weight: 700;
        position: relative;
    }
    .b1__title span {
        position: static;
        display: inline;
    }
    .b1__title br {
        display: none;
    }
    .b1__title b {
        font-weight: 700;
    }
    .b1__badge {
        position: static;
        transform: none;
        font-size: inherit;
        font-family: inherit;
        font-weight: inherit;
        padding: 0;
        color: #000;
        white-space: normal;
        display: inline;
        background: none;
    }
    .b1__badge img {
        display: none;
    }

    .b1__bot {
        flex-flow: column nowrap;
        align-items: stretch;
        margin-top: 15px;
    }
    .b1__botleft {
        font-size: 15px;
    }
    .b1__button {
        height: 70px;
        width: 100%;
        font-size: 15px;
        margin-top: 15px;
    }
    .b1__aside {
        display: flex;
        flex-direction: column;
        justify-content: start;
        width: 100%;
        margin: 25px 0 0;
        /* flex-flow: column nowrap; */
        align-items: center;
        gap: 25px;
    }
    .userblock {
        width: 370px;
        margin-bottom: 15px;
        margin-right: 0;
        padding: 20px;
    }
    .userblock:last-child {
        margin-bottom: 0;
    }
    .userblock__ava {
        width: 70px;
        height: 70px;
    }

    .userblock__name {
        font-size: 15px;
        line-height: 1.4;
    }
    .userblock__pos {
        font-size: 13px;
        line-height: 1.4;
    }

    .portfolio {
        margin-top: -100px;
        margin-bottom: 20px;
    }
    .portfolio__items img {
        width: 170px;
        border-radius: 11px;
        margin-right: 5px;
    }
    .portfolio .swiper-slide {
        width: 250px;
    }
    .portfolio .swiper-slide img {
        border-radius: 11px;
    }
    .footer {
        height: auto;
        padding: 20px 0 20px;
    }
    .footer__bg {
        width: 100%;
    }
    .footer__block {
        height: auto;
        flex-flow: column nowrap;
        align-items: center;
        padding: 15px;
        text-align: center;
        font-size: 12px;
        line-height: 1.4;
        margin-top: 10px;
    }
    .footer__center {
        margin-top: 13px;
        margin-bottom: 13px;
    }
    .footer__right {
        text-align: center;
    }
    .frontdirector {
        margin: 0;
    }
    .uslflex {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 2.6%;
        margin-top: 50px;
    }
    .uslitem {
        width: 48%;
        background: url(../images/uslbg.png);
        padding: 20px;
        border-radius: 20px;
        margin: 0 0 30px;
        color: #000;
        background-size: cover;
        position: relative;
        z-index: 1;
    }
    .b14__item {
        font-size: 13px;
        line-height: 1.4;
    }
    .b9__over {
        font-size: 18px;
        left: 20px;
        top: 20px;
    }
    .b9__bg {
        height: 400px;
        border-radius: 15px;
    }
    .b14__img--4 {
        width: 140px;
        margin-bottom: 15px;
        margin-top: 0;
    }
    .b14__img--2 {
        width: 120px;
        margin-top: 0;
    }
    .b14__title {
        margin-bottom: 20px;
    }
    .b14__grid {
        margin: 30px auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        
    }
    .b14__item{
        min-width: 330px;
        margin:  0 auto;
    }
}

@media (max-width: 1200px) {
    .b1__wrap {
        border-radius: 50px;
    }
    .b1 .container {
        padding-bottom: 150px;
        padding-top: 40px;
    }
    .b1__abs {
        width: 400px;
        right: -150px;
        top: 30px;
    }
    .b1__absleft {
        width: 240px;
        left: -160px;
    }
    .b1__tags {
        margin-bottom: 45px;
    }
    .b1__title {
        font-size: 60px;
    }
    .b1__aside {
        margin-left: auto;
    }
    .b1__botleft {
        font-size: 18px;
    }
    .b1__button {
        height: 80px;
        padding: 0 40px;
        font-size: 18px;
    }
    .portfolio__items img {
        width: 250px;
    }
    .portfolio .swiper-slide {
        width: 250px;
    }
    .footer {
        height: 100px;
    }
    .footer__block {
        margin-top: 20px;
        height: 60px;
        font-size: 13px;
        padding: 0 20px;
        border-radius: 10px;
    }
    .footer__bg {
        width: 900px;
    }
    .b9__wrap {
        grid-gap: 15px;
    }
    .b14__img--4 {
        margin-top: -10px;
        width: 80%;
    }
    .b14__img--2 {
        margin-top: -10px;
        width: 80%;
    }
    .b14__title {
        margin-bottom: 30px;
    }
    .b14__item {
        padding: 20px 15px 0;
        font-size: 17px;
        width: 47%;
        margin: 10px 0;
    }
    .header-socials__title {
        font-size: 16px;
    }
    .header-socials__title {
        line-height: 20px;
    }
    .b1__wrap {
        max-width: 100%;
    }
    .b1__botleft {
        padding-left: 0;
    }
	.main-tel {
    font-size: 18px;
    font-weight: 700;
} .have_question_our_specialist {
    display: none!important;
    
}.frontdirector__main p {
    max-width: 400px;
    margin: 30px 0;
    font-size: 17px;
    line-height: 30px;
    font-weight: 100;
    /* background: #fff; */
    /* padding: 30px 40px; */
    /* color: #000; */
    border-radius: 20px;
}.frontdirector__prof {
    position: relative;
    bottom: 25px;
    right: 0;
    z-index: 10;
}
.online {
   
    display: none;
}.header__benefits{display:none}

.uslugi {
    position: relative;
    margin: 50px 0 0;
    overflow: hidden;
}.formbflex {
    width: 47%;
}.formb form {
    display: flex;
    align-items: end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;
}.formb button {
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    height: 75px;
    width: 47%;
}.frontdirector__over2 {
    display: flex;
    flex-flow: column nowrap;
    align-items: end;
    justify-content: center;
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0 15px 0 235px;
}.frontdirector__prof2 {
    position: relative;
    bottom: 25px;
    left: -250px;
    z-index: 10;
}.sec_header_row .sec_header_col {
    width: 100%;
}.contact_us_our_contact {
    border: 1px solid #121212;
    border-radius: 10px;
    padding: 35px 15px 35px 50px;
    width: 100%;
}.our_contact_social_media {
    border: 1px solid #121212;
    border-radius: 10px;
    padding: 40px 80px 50px 50px;
    width: 100%;
}.contact_us_right_col {
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
}

}

/* Стили для планшетов и небольших экранов */
@media (max-width: 1024px) {
    .hdr .container {
        height: 80px;
    }
    .hdr__logo {
        width: 70svw;
        margin-right: 20px;
    }
    .b1__title {
        font-size: 55px;
        line-height: 65px;
    }
    .b1__title span {
        font-size: 40px;
    }
    .b1__badge {
        left: 300px;
        top: 150px;
        font-size: 16px;
    }
    .button {
        padding: 0 40px;
        font-size: 16px;
        height: 70px;
    }
    .b1__button {
        width: 300px;
    }
    .portfolio .swiper-slide {
        width: 280px;
    }
    h2 {
        font-size: 40px;
    }
    .h2-description {
        font-size: 18px;
    }
    .uslitem {
        width: 48%;
        margin: 0 0 20px;
    }
    .usltitle {
        font-size: 18px;
    }
}

/* Стили для мобильных устройств */
@media (max-width: 768px) {
    .hdr .container {
        height: 70px;
        flex-direction: column;
        align-items: flex-start;
    }
    .hdr__logo {
        width: 80svw;
      
    }
    .b1__wrap {
        border-radius: 40px;
        padding: 20px;
    }
    .b1__title {
        font-size: 40px;
        line-height: 50px;
    }
    .b1__title span {
        font-size: 30px;
    }
    .b1__badge {
        left: 200px;
        top: 120px;
        font-size: 14px;
    }
    .button {
        padding: 0 30px;
        font-size: 14px;
        height: 60px;
    }
    .b1__button {
        width: 250px;
    }
    .portfolio .swiper-slide {
        width: 220px;
    }
    h2 {
        font-size: 30px;
    }
    .h2-description {
        font-size: 16px;
    }
    .uslitem {
        width: 100%;
        margin: 0 0 15px;
    }
    .usltitle {
        font-size: 16px;
    }
}

/* Стили для очень маленьких экранов */
@media (max-width: 480px) {
    .hdr__logo {
        width: 80svw;
        margin:  0 auto;

    }
    .b1__title {
        font-size: 30px;
        line-height: 40px;
    }
    .b1__title span {
        font-size: 25px;
    }
    .b1__badge {
        left: 150px;
        top: 90px;
        font-size: 12px;
    }
    .button {
        padding: 0 20px;
        font-size: 12px;
        height: 50px;
    }
    .b1__button {
        width: 200px;
    }
    .portfolio .swiper-slide {
        width: 180px;
    }
    h2 {
        font-size: 25px;
    }
    .h2-description {
        font-size: 14px;
    }
}
/* Для мобильных устройств */
@media (max-width: 767px) {
    .form-section {
        padding: 30px;
    }
    .form-section h2 {
        font-size: 24px;
        max-width: 100%;
    }
    .formbflex {
        width: 100%;
        margin-bottom: 20px;
    }
    .formb form {
        flex-direction: column;
        align-items: stretch;
    }
    .formb input,
    select,
    .formb button {
        height: 55px;
        padding: 15px;
    }
    .frontdirector__over, .frontdirector__over2 {
        padding: 0 30px;
    }
    .frontdirector__main {
        font-size: 18px;
        padding-bottom: 20px;
        margin-top: 20px;
    }
    .sec_header_row {
        flex-direction: column;
    }
    .sec_header_row .sec_header_col, .sec_header_info_block {
        width: 100%;
    }
    .services_block {
        gap: 30px;
    }
    .service_item_short_info {
        padding: 20px;
    }
    .service_item_price {
        font-size: 28px;
    }
    .contact_us_left_col, .contact_us_right_col {
        width: 100%;
    }
    .our_contact_social_media, .contact_us_our_contact {
        width: 100%;
        padding: 30px 20px;
    }
}

/* Для планшетов */
@media (min-width: 768px) and (max-width: 1023px) {
    .form-section {
        padding: 40px;
    }
    .form-section h2 {
        font-size: 28px;
    }
    .formbflex {
        width: 48%;
    }
    .frontdirector__over, .frontdirector__over2 {
        padding: 0 80px;
    }
    .frontdirector__main {
        font-size: 20px;
        margin-top: 25px;
    }
    .sec_header_row .sec_header_col {
        width: 65%;
    }
    .sec_header_info_block {
        width: 32%;
    }
    .services_block {
        gap: 40px;
    }
    .service_item_short_info {
        padding: 30px;
    }
    .service_item_price {
        font-size: 36px;
    }
    .contact_us_left_col {
        width: 65%;
    }
    .contact_us_right_col {
        width: 35%;
    }
    .our_contact_social_media, .contact_us_our_contact {
        width: 45%;
    }
}

