@media screen and (max-width: 1400px) {
    .new-container {
        max-width: 1024px;
    }
    .test__list {
        /* display: flex;
        flex-wrap: wrap;
        gap: 15px; */
    }
    .test__item {
        /* width: calc(50% - 7.5px); */
        /* max-width: none; */
        width: calc(50% - 10px);
    }
    .test__item:nth-child(1)::after,
    .test__item:nth-child(1)::before,
    .test__item:nth-child(2)::before,
    .test__item:nth-child(3)::after,
    .test__item:nth-child(4)::before,
    .test__item:nth-child(5)::before,
    .test__item:nth-child(6)::after,
    .test__item:nth-child(4)::after {
        display: none;
    }
    .test__name {
        max-width: none;
    }
    .test__item:nth-child(2) .test-img__pc {
        height: 250px;
    }
    .test-hidden__item {
        font-size: 16px;
        line-height: 24px;
    }
    .test-hidden__list {
        gap: 10px;
    }
    .test-img__hover {
        object-fit: cover;
    }
    .treatment-contaner {
        flex-direction: column;
        gap: 35px;
    }
    .treatment-imgs-img {
        height: 350px;
        width: calc(50% - 20px);
    }
    .treatment-imgs {
        gap: 40px;
        max-width: none;
    }
    .treatment-info {
        max-width: none;
        padding-top: 0px;
    }
    .galery-item {
        height: 350px;
    }
    .swiper-container {
        max-width: 990px;
    }
    .galery-container {
        flex-direction: column-reverse;
        gap: 30px;
    }
    .galery-info {
        max-width: none;
    }
    .service-container {
        flex-direction: column-reverse;
        gap: 30px;
    }
    .service-imgs {
        flex-direction: row;
        max-width: none;
        gap: 40px;
    }
    .service-img__img {
        height: 350px;
        width: calc(50% - 20px);
    }
    .service-info {
        max-width: none;
    }
    .project__img {
        padding-right: 0px;
        height: 450px;
    }
    .container-about {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }
    .new-about-imgs {
        flex-direction: row;
        gap: 40px;
        max-width: none;
    }
    .new-about-imgs-img {
        height: 350px;
        width: calc(50% - 20px);
    }
    .new-wrapper .test-hidden__item:after {
        left: 29.5px;
    }
    .partners-cards__card__img img {
        object-fit: contain;
    }
    .partners-cards__card__img {
        height: 180px;
    }
}
@media screen and (max-width: 1024px) {
    .new-container {
        max-width: 767px;
    }
    .about-imgs {
        display: flex;
        max-width: 100%;
    }
    .about-info {
        margin-right: 0;
        width: 100%;
    }
    .about-imgs-img {
        max-width: 46%;
        margin-right: 50px;
    }
    .test-img__pc {
        opacity: 0;
    }
    .test-img__hover {
        opacity: 1;
    }
    .test__name {
        color: #fff;
        font-weight: 400;
        font-size: 18px;
        line-height: 140%;
    }
    .test-hidden {
        transform: translate(0);
        /* position: static; */
        opacity: 1;
    }
    /* .test__item:not(:nth-child(2)):hover .test-hidden,
    .test__item:hover .test-hidden {
        transform: translate(0);
    } */
    .test__item {
        justify-content: space-between;
        min-height: 272px;
    }

    .kinds-cards__card__info {
        flex-direction: column;
        gap: 12px;
    }
    .kinds-cards__card__info__item {
        width: 100%;
    }
    .partners-cards__card__header {
        font-size: 20px;
        line-height: 24px;
        letter-spacing: 0;
        margin-bottom: 0px;
    }
    .kinds-cards__card__info__item:nth-child(1),
    .kinds-cards__card__info__item:nth-child(2),
    .kinds-cards__card__info__item:nth-child(3) {
        width: 100%;
        font-weight: 400;
    }
    .new-wrapper .test-hidden__item:after {
        left: 5.5px;
    }
    .new-wrapper .test-hidden__item:before {
        left: 0;
    }
    .new-wrapper .test-hidden__item:hover a {
        padding-left: 10px;
    }
    .new-wrapper .test-hidden__item {
        padding-left: 25px;
    }
    .new-wrapper .test-hidden__item a {
        line-height: 28px;
    }
}
@media screen and (max-width: 767px) {
    .new-container {
        max-width: none;
        padding: 0px 15px;
    }
    .test__item {
        width: 100%;
        padding: 15px 15px 70px 15px;
    }
    .test-hidden__list {
        gap: 15px;
    }
    .test-img__hover {
        object-fit: cover;
    }
    .test-hidden__item {
        padding-left: 30px;
        font-size: 20px;
        line-height: 32px;
    }
    .test-hidden__item::before {
        left: 0px;
    }
    .swiper-container {
        padding: 0px 0px 49px 0px;
    }
    .swiper-button-next,
    .swiper-button-prev {
        bottom: 0px;
        top: auto;
    }
    .partners {
        margin-bottom: 60px;
    }
    .new-wrapper li:after {
        left: 4.5px;
    }
    .new-wrapper .test-hidden__item:after {
        left: 4.5px;
    }
}
@media screen and (max-width: 479px) {
    .new-about-imgs-img {
        height: 210px;
    }
    .container-about {
        gap: 30px;
    }
    .new-about-info p {
        font-size: 16px;
        line-height: 26px;
        letter-spacing: 0;
    }
    .new-about {
        margin-bottom: 60px;
    }
    .new-about-header {
        margin-bottom: 30px;
    }
    .new-about-info p:not(:last-child) {
        margin-bottom: 15px;
    }
    .card-header {
        margin-top: 30px;
        font-size: 36px;
        line-height: 38px;
        margin-bottom: 30px;
    }
    .test-img__pc {
        opacity: 0;
    }
    .test-img__hover {
        opacity: 1;
    }
    .test-hidden__item {
        font-size: 20px;
    }
    .treatment {
        margin-bottom: 86px;
    }
    .treatment-imgs-img {
        height: 210px;
    }
    .galery {
        margin-bottom: 40px;
    }
    .galery-item {
        height: 210px;
    }
    .kinds-card__info__decription {
        padding-bottom: 28px;
    }
    .kinds-cards__card {
        padding-top: 14px;
        gap: 9px;
    }
    .kinds {
        margin-bottom: 30px;
    }
    .new-wrapper .project-list__item {
        font-size: 20px;
        line-height: 24px;
        letter-spacing: 0;
        padding-left: 30px;
    }
    .new-wrapper .project-list__item:before,
    .new-wrapper .project-list__item:after {
        left: 15px;
    }
    .project-list {
        gap: 21px;
    }
    .project-info {
        max-width: 150px;
    }
    .project-container {
        margin-bottom: 37px;
    }
    .project__img img {
        object-position: right;
    }
    .project p {
        font-size: 16px;
        line-height: 26px;
    }
    .project p:not(:last-child) {
        margin-bottom: 15px;
    }
    .project {
        margin-bottom: 60px;
    }
    .service-img__img {
        height: 210px;
    }
    .service-info__card {
        margin-bottom: 58px;
    }
    .service-info__card:nth-child(2) {
        margin-bottom: 20px;
    }
    .service-info__card:nth-child(3) {
        margin-bottom: 13px;
    }
    .service-info__card p:not(:last-child) {
        margin-bottom: 15px;
    }
    .service-info__header {
        margin-bottom: 15px;
        font-size: 20px;
        line-height: 24px;
        letter-spacing: 0;
    }
    .service-info__card p {
        font-size: 16px;
        line-height: 26px;
        letter-spacing: 0;
    }
    .service {
        margin-bottom: 60px;
    }
    .service-info__list__item:not(:last-child) {
        margin-bottom: 15px;
    }
    .kinds-cards__card__info__item,
    .text-border_two,
    .kinds-card__info__decription {
        font-size: 16px;
        line-height: 26px;
        letter-spacing: 0;
    }
    .service-h2 {
        padding-top: 15px;
        font-size: 24px;
        line-height: 30px;
        letter-spacing: 0;
        margin-bottom: 30px;
    }
    .service-h1 {
        font-size: 26px;
        line-height: 35px;
        letter-spacing: 0;
        margin-bottom: 20px;
        text-transform: none;
    }
    .service-info__list__item {
        font-size: 16px;
        line-height: 26px;
        letter-spacing: 0;
    }
    .partners {
        margin-bottom: 50px;
    }

    .partners-cards__card__link {
        font-size: 16px;
        line-height: 26px;
        letter-spacing: 0;
    }
    .new-wrapper {
        padding-top: 30px;
    }
    .treatment-info p {
        font-size: 16px;
        line-height: 26px;
        letter-spacing: 0;
    }
    .treatment-info p:not(:last-child) {
        margin-bottom: 13px;
    }
    .galery-info__card {
        padding-top: 15px;
    }
    .galery-info__card__paragraph {
        font-size: 16px;
        line-height: 26px;
        letter-spacing: 0;
        margin-bottom: 16px;
    }
    .galery-info__card__infos {
        margin-bottom: 15px;
    }
    .galery-info__card:not(:last-child) {
        margin-bottom: 26px;
    }
    .kinds-cards__card__info__item:nth-child(1) {
        font-size: 20px;
        line-height: 24px;
    }
    .service-container {
        gap: 26px;
    }
    .project__img {
        height: 294px;
    }
    .new-wrapper .test-hidden__item a {
        font-size: 18px;
        line-height: 21px;
    }
    .partners-cards {
        margin-bottom: 25px;
    }
}
@media (max-width: 370px) {
    .new-about-header {
        display: none;
    }
    .new-about-header-mob {
        display: block;
    }
    .new-about-info {
        width: 100%;
        margin-right: 0;
        padding-right: 6px;
    }
    .new-about-imgs {
        display: flex;
        margin-left: 0;
    }
    .project__img {
        max-width: 150px;
    }
    .project__description {
        padding-right: 20px;
    }
}
