@media (max-width:1780px) {
    .sertifikat__flex:after {
        height: 540px;
        top: -48px;
    }

    .about__work-tems {
        width: 100%;
    }
        .form__block:after {
    right: 28px;
    max-width: 379px;
    height: 389px;
    }
    .policy a {
    display: inline;
}
.wpcf7-list-item {
    width: 90%;
}
.sertifikat__block:after {
    height: 509px;
}
}

@media (max-width:1550px) {
    #site-navigation .grid-container {
        padding: 0 0px;
    }

    .grid-container {
        padding: 0 30px;
    }

    .header-top-img-images {
        top: -73px;
        left: 24px;
    }

    .header-top-img {

        padding: 0px 89px;
    }

    .main-navigation .main-nav ul li a {
        padding-left: 17px;
        padding-right: 17px;
    }

    .site-logo {
        margin-right: 0px;
        padding-top: 31px;
    }

    .nav-float-right #site-navigation {

        padding-top: 31px;
    }

    .inside-header {

        justify-content: space-between;
    }

    body.home .header-top-info-tel-inner {
        margin-left: 22px;
        margin-right: 23px;
    }

    .header-top-info-tel-inner {
        margin-left: 22px;
        margin-right: 27px;
    }

    body.page-template-about-page-php .header__title {
        width: 100%;
    }

    .flex-text-img-content-about .flex-text-img-bottom-title {

        width: 87%;
    }

    .dlya-kogo .title-text-desk {
        width: 50%;
        margin-left: 49px;
    }

    .dlya-kogo-card-content {
        padding: 50px 50px 34px 50px;
        max-width: 327px;
    }

    .dlya-kogo-card-img-images {
        max-width: 327px;
        height: 220px;
        object-fit: cover;
        border-radius: 20px;
    }

    .dlya-kogo-card:nth-child(4) .dlya-kogo-card-title {
        width: 75%;
    }

    .header__title {
        width: 53%;
        margin: auto;
        margin-bottom: 20px;
    }

    .header-top-info {

        padding-top: 31px;
    }

    .header__home-subtext {
        margin-top: 176px;
    }

    .header__home-subtext {

        margin-left: 0px;
        padding-top: 0px;
    }

    body.home .header__title {
        font-size: 150px;
        line-height: 91%;
        margin-bottom: 23px;
        width: 90%;
    }

    .sec {
        margin-top: 100px;
    }

    .flex-text-img-image {
        width: 678px;

    }

    .flex-text-img-image img {
        height: 606px;
    }

    .flex-text-img-bottom-title {
        width: 68%;
    }

    .flex-text-img-content {
        max-width: 678px;
        height: 606px;
    }

    body.home .site-header {

        padding-bottom: 91px;
    }

    body.page-template-galereyi-page .header__title {
        width: 100%;
    }

    .nashi-uslugi .title-text-desk {
        width: 45%;
    }

    .card-btn--secondary {
        padding: 17px 20px;
    }

    .card-content-child {
        padding: 60px 30px 60px 50px;
    }

    .form__block {
        padding: 88px 52px 87px 62px;
        border-radius: 30px;

    }

    .form__flex-conetnt:after {
        right: -56px;
        height: 425px;
        background-size: cover;
        top: 57px;
        max-width: 484px;
    }

    .form__flex-conetnt-text {
        margin: 27px 0 43px 0;
    }

    .reklama-link .wpcf7-list-item label {
        width: 79%;
    }

    .nashi-master .title-text-desk {
        width: 31%;
        margin-right: 17px;
    }

    .nashi-master-card .card-img img {
        width: 287px !important;
        height: 285px !important;
        display: block;
    }

    .nashi-master-card .card-buttons {
        gap: 0px;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .nashi-master-card .card-btn {
        padding: 18px 21px;
    }

    .nashi-master-card .card-title {
        margin: 27px 0 12px 0;
    }

    .card-content-child-flex .card-content-child-bottom-text {
        margin: 0px 0 66px 0;
    }

    .card-content-child-flex {
        padding: 41px 47px 42px 50px;
    }

    .izobrazhenie-right {
        height: 210px;
        width: 210px;
        display: block;
        margin-top: -5px;
    }

    .flex-link-img-about {
        margin-top: -33px;
    }

    .about-img-big {
        height: 444px;
        width: 100%;
    }

    .about-img-small {
        height: 210px;
        width: 100%;
    }

    .flex-link-images-bottom img {

        height: 211px;
    }

    .flex-link-images-bottom {
        margin-top: 24px;
    }

    .sertifikat__block {
        padding: 100px 0px 108px 63px;
    }

    .sertifikat__flex-conetnt-text {
        width: 55%;
        z-index: 4;
        position: relative;
    }

    .sertifikat__flex:after {
        height: 540px;
        top: -60px;
        border-radius: 0px 0px 30px 0px;
        background-image: url(/wp-content/uploads/2025/09/d27e2826-мой-1-1-convert.io_-scaled.webp);
    }

    .reviews-tems {
        width: 100%;
        max-width: 678px;
    }

    .reviews__img {

        height: 258px;
    }

    .title-text-desk-abut {

        width: 72%;

    }

    .btn-reviews {
        margin-top: 81px;
    }

    .faq-item.active .faq-answer {
        width: 62%;
    }

    .site-footer {
        margin-top: 100px;
    }

    .footer__imeges {
        width: 167px;
    }

    .footer__img-inner {
        gap: 15px;
    }

    .footer__imeges {
        object-fit: cover;
        border-radius: 15px;
    }

    .footer__bottom {
        gap: 15px;
        font-size: 15px;
    }

    .footer__bottom-items {
        max-width: 807px;
    }

    .footer__bottom-items-flex {
        gap: 60px;
    }

    .footer__bottom-items-text p:nth-child(1) {
        margin-bottom: 25px;
    }

    .faq-item {
        padding: 47px 50px;
    }

    .nashi-uslugi-prais .title-text-desk {
        margin-right: 21px;
    }

    .otziv-block .title-text-desk {
        margin-right: 104px;
    }

    .otziv-card-text-desk {
        font-family: "Inter Tight", sans-serif;
        line-height: 149%;
        letter-spacing: 0px;
        font-size: 16px;
    }
       .sertifikat__block:after {
        height: 420px;
    }

        .form__block:after {
        right: 28px;
        max-width: 476px;
        height: 434px;
    }
        .wpcf7-list-item {
        width: 77%;
    }
}
@media (max-width:1412px) {
    .form__block:after {
        max-width: 455px;
        height: 386px;
        right: 0;
        max-width: 100%;
        background-position: center;
    }
}
@media (max-width:1370px) {
    .main-navigation .main-nav ul li a {
        padding-left: 10px;
        padding-right: 10px;
    }

    .header-top-img-images {
        top: -73px;
        left: 15px;
    }

    .header-top-info-adress {
        margin-left: 40px;
    }

    .nashi-master-cards {
        grid-template-columns: repeat(3, 1fr);

    }

    .nashi-master-card .card-img img {

        margin: 0 auto;
    }

    .about-img-small {
        height: 200px;
        width: 100%;
    }

    .about-img-big {
        height: 400px;
        width: 100%;
    }

    .izobrazhenie-right {
        height: 200px;
    }

    .flex-link-images-top {
        margin-top: -38px;
    }

    .flex-link-images-bottom img {
        height: 200px;
    }

}

@media (max-width:1310px) {
    .main-navigation .main-nav ul li a {
        padding-left: 5px;
        padding-right: 5px;
    }

    body.home .header__title {
        font-size: 130px;
    }

    .about-img-small {
        height: 170px;
        width: 100%;
    }

    .izobrazhenie-right {
        height: 170px;
    }

    .flex-link-images-top {
        margin-top: -10px;
    }

    .flex-link-images-bottom img {
        height: 170px;
    }

    .footer__bottom-items {
        max-width: 670px;
    }

    .about__work-inner {

        flex-direction: column;
    }

    .sertifikat__flex:after {

        width: 500px;
    }
}



@media (max-width:980px) {
    .about__work-tems {
        max-width: inherit;
    }

    .flex-text-img-wrapper {
        flex-direction: column;
    }

    .flex-text-img-content {
        max-width: inherit;
        height: auto;
    }

    .flex-text-img-image img {
        height: auto;
    }

    .flex-text-img-image {
        width: inherit;
    }

    .form__flex-conetnt:after {
        right: 0;
        left: 0;
        height: 360px;
        width: 450px;
        background-size: contain;
        max-width: inherit;
        top: 562px;
        margin: 0 auto;
        background-position: center;
    }

    .form__block {
        padding: 88px 52px 362px 62px;
    }

    .form__flex .titleh2 {

        width: 100%;
    }

    .sertifikat__flex:after {
        height: 401px;
        top: 135px;
        width: 500px;

    }

    .reviews__inner {

        flex-direction: column;
    }

    .reviews-tems {
        width: 100%;
        max-width: inherit;
    }

    .reviews__img {
        height: auto;
    }

    .reviews-tems-block {
        border-radius: 20px;
        max-width: inherit;
        width: 100%;
        height: 500px;
    }

    .form-quest-flex p {
        flex-direction: column;
    }

    .form-quest-flex .input-tel,
    .form-quest-flex .input-name {

        width: 100%;
    }

    .dlya-kogo-cards {
        grid-template-columns: repeat(1, 1fr);

    }

    .dlya-kogo-card-img-images {
        width: 100%;
        height: 220px;

    }

    .dlya-kogo-card-content {
        max-width: inherit;
        width: 100%;
    }

    .dlya-kogo-card:nth-child(2) {
        order: 1
    }

    .dlya-kogo-card:nth-child(4) {

        order: 1;
    }
}

@media (max-width:750px) {
    .header-top-info {
        display: none;
    }

    .header-top-img {
        padding: 0px 89px;
        margin: 0 auto;
        text-align: center;
    }

    body.home .site-logo {
        display: none;
    }

    .site-header {
        margin: 15px 15px 0 15px;
    }

    .grid-container {
        padding: 0px 15px;
    }

    .header-top-img-images {
        top: -106px;
        left: 0px;
    }

    body.home .header__title {
        font-size: 80px;
    }

    body.home .header__subtext {
        width: 80%;
    }

    .nashi-uslugi-cards {
        grid-template-columns: repeat(2, 1fr);

    }

    .form__flex-conetnt:after {
        top: 782px;
    }

    .nashi-master-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-container-flex {
        flex-direction: column;
    }

    .footer__bottom {
        flex-direction: column;
    }

    .footer__bottom-items {

        max-width: inherit;
        flex-direction: column;
    }

    .footer__bottom-items-flex {
        gap: 10px;
    }

    .footer__bottom-items-text p:nth-child(2) {
        margin-bottom: 10px;

    }

    .grid-container-flex {

        padding-bottom: 50px !important;
    }

    .flex__title-blok {
        gap: 24px;
        flex-direction: column;
    }

    .faq-section .title-text-desk {
        width: 100%;
    }

    .nashi-master .titleh2 {
        width: 100%;
    }

    .nashi-master .title-text-desk {
        width: 100%;
        margin-right: 17px;
    }

    button.menu-toggle {
        background-color: #7E7C60 !important;
        flex-grow: 1;
        border: 0;
        border-radius: 50%;
        height: 50px;
        text-align: center;
        width: 50px;
    }

    .gp-icon svg {
        height: 25px;
        width: 15px;
        top: 0px;
        position: relative;
        fill: currentColor;
    }

    .menu-toggle {
        padding: 0 0px;
        line-height: 0px;
        margin: 0;
        font-weight: 400;
        text-transform: none;
        font-size: 0px;
        cursor: pointer;
    }

    .header-top-info-adress-mobile {
        display: block;
        margin-left: 0;
        font-size: 12px;
    }
        .prais-card-text {
        max-width: 160px;
    }
}

@media (max-width:650px) {
    .nashi-uslugi-cards {
        grid-template-columns: repeat(1, 1fr);
    }

    .about-img-small {
        height: 112px;
        width: 100%;
        object-fit: cover;
        border-radius: 20px;
    }

    .about-img-big {
        height: 236px;
        width: 100%;
    }

    .about__work-tems-img {

        gap: 12px;
    }

    .header__title {
        width: 89%;
        margin: auto;
        margin-bottom: 20px;
        font-size: 30px;
    }

    .prais-card-content-item {
        width: 100%;
        gap: 30px;
    }

    .about__work-tems-img-bottom {
        margin-top: 12px;
    }

    .izobrazhenie-right {
        height: 112px;
        width: 100%;
    }

    .flex-link-img-about-desctop {
        display: none;
    }

    .flex-link-img-about-mobile {
        display: block;
    }

    .flex-link-images-top {
        margin-top: 12px;
    }

    .flex-link-images-bottom {
        margin-top: 12px;
    }

    .about__work-inner {

        gap: 12px;
    }

    .form__flex-conetnt:after {
        display: none;
    }

    .form__block {

        width: calc(100vw - 30px);
        margin-left: calc(-50vw + 50% + 15px);
    }

    .sertifikat__block {

        width: calc(100vw - 30px);
        margin-left: calc(-50vw + 50% + 15px);
    }

    .header-top-img-images {
        top: -125px;
    }

    .header-top-img {
        padding: 0px 0px;
        width: 144px;
    }

    button.menu-toggle {
        margin-right: 5px;
        margin-top: 20px;
    }

    .address-home-page {
        color: #F8F1E8;
        width: 145px;
        margin: 0;
        padding-top: 90px;
    }

    .header__home-subtext {
        margin-top: 34px;
    }

    .header__home-subtext {
        font-size: 12px;
        letter-spacing: 2.4px;

    }

    body.home .header__title {
        font-size: 54px;
        letter-spacing: -0.2px;
        margin-bottom: 10px;
        width: 100%;
    }

    body.home .header__subtext {
        width: 73%;
        font-size: 14px;
    }

    body.home .site-header {
        padding-bottom: 79px;
    }

    .sec {
        margin-top: 60px;

    }

    .flex-text-img-content {

        padding: 20px;
    }
         .sertifikat__block:after {
        height: 255px;
    }
    .title-h3 {
        font-size: 32px;
        letter-spacing: -0.3px;
    }

    .flex-text-img-small-text {
        font-size: 12px;
    }

    .flex-text-img-bottom-title {
        width: 100%;
        margin-top: 20px;
        font-size: 14px;
        line-height: 143%;
    }

    .flex-text-img-btn {
        margin-top: 40px;
    }

    .flex-text-img-wrapper {
        gap: 12px;
    }

    .flex-text-img-image img {
        height: 360px;
        border-radius: 20px;
    }

    .top-text-title {
        letter-spacing: 1px;
        margin-bottom: 8px;
    }

    .titleh2 {
        font-size: 40px;
        line-height: 100%;
        width: 100%;
        letter-spacing: -0.9px;
    }

    .nashi-uslugi .title-text-desk {
        width: 100%;
        font-size: 14px;
    }

    .flex__title-blok {
        gap: 19px;
    }

    .nashi-uslugi-cards {
        gap: 12px;
        margin-top: 35px;
    }

    p {
        font-size: 14px;
    }

    .card-title {
        margin: 19px 0 9px 0;
    }

    .card-text {
        margin-bottom: 19px;
        font-size: 18px;
    }

    .card-content-child-top-text {
        font-size: 20px;
    }

    .card-content-child {
        padding: 42px 20px 42px 20px;
    }

    .card-content-child .card-content-child-bottom-text {
        margin: 6px 0 37px 0;
    }

    .form__block {
        padding: 20px 5px 170px 5px;
    }

    .form__flex-conetnt:after {
        display: block;
    }

    .form__flex-conetnt:after {
        top: 723px;
        width: 100%;
    }

    .form__flex-conetnt-text {
        margin: 9px 0 30px 0;
        line-height: 160%;
    }

    .submit-form {
        margin-bottom: 2px !important;
        padding: 22px 42px !important
    }

    .wpcf7-spinner {
        display: none;
    }

    .wpcf7-list-item {
        font-size: 11px;
        font-weight: 300;
        display: block;
        width: 100%;
        line-height: 140%;
    }

    .reklama-link .wpcf7-list-item label {
        width: 100%;
        margin-bottom: 10px;
    }

    .reklama-link .wpcf7-acceptance .wpcf7-list-item input[type="checkbox"] {

        flex: none;
    }

    .form__flex-conetnt:after {
        top: 520px;
        width: 100%;
        height: 170px;
    }

    .nashi-master .title-text-desk {
        width: 96%;
        margin-right: 0px;
    }

    .nashi-master-cards {

        margin-top: 35px;
    }

    .master-popup-content {
        gap: 19px;
        flex-direction: column;
    }

    .master-popup-content {
        padding: 20px;
        max-width: 360px;
        max-height: 700px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .popup-img img {
        width: 320px;
        height: 307px;
    }

    .popup-text ul {
        padding: 11px 0;
        margin: 0 0 0em 1em;
        font-size: 14px;
    }

    .popup-text {
        margin: 10px 0 20px 0;
        line-height: 100%;
    }

    .master-popup-text .top-text-title {
        font-size: 12px;
    }

    .master-popup-close {
        position: absolute;
        right: 13px;
        top: 6px;
        font-size: 35px;
    }

    .nashi-master-card {
        margin-right: 12px;

    }

    .nashi-master-card-slider .draggable {
        margin-bottom: 17px;


    }

    .nashi-master-card-slider .card-content-child {
        margin-right: 12px;
        padding-bottom: 360px;

    }

    .nashi-master-card .card-btn {
        padding: 18px 25px;
    }

    .nashi-master-card .card-buttons {
        gap: 10px;
    }

    .footer__bottom-items .footer__bottom-items-text:last-child {
        display: flex;
        flex-direction: column-reverse;
    }

    .nashi-master-card .card-title {
        margin: 33px 0 5px 0;
        font-size: 20px;
    }

    .nashi-master-card .card-text {
        margin-bottom: 25px;
        font-size: 14px;
    }

    .nashi-master-section .slick-prev {
        left: 63px;
    }

    .flex-link-images-bottom img {
        height: 112px;
    }

    .flex-link-img {
        margin-top: -49px;
        justify-content: end;
    }

    .title-text-desk-abut {
        width: 67%;
    }

    .flex-link-images-top {
        margin-top: -5px;
    }

    .flex-link-img-about {
        margin-top: 18px;
    }

    .flex-link-img-about-mobile .btn {

        padding: 17px 17px;
    }

    .sertifikat__block {
        padding: 20px 20px 220px 20px;
    }

    .sertifikat__flex .grid-container {
        padding: 0px 0px;
    }

    .sertifikat__flex-conetnt-text {
        width: 100%;
    }

    .sertifikat__flex-conetnt-text {
        margin: 17px 0 36px 0;
        width: 100%;
        line-height: 156%;
    }

    .sertifikat__flex:after {
        background-image: url(/wp-content/uploads/2025/09/d27e2826-мой-1.svg);
        height: 217px;
        top: 342px;
        width: 348px;
        left: -8px;
    }

    .sertifikat-btn-zapis {
        padding: 17px 30px;
    }

    .reviews-tems {

        padding: 19px;
    }

    .reviews__img {
        margin-bottom: 15px;
    }

    .title-text-desk-abut {
        width: 100%;
    }

    .btn-reviews {
        margin-top: 40px;
    }

    .reviews-tems-block .widget-otziv {

        height: 502px !important;
    }

    .interer-inner {
        padding: 20px;
    }

    .interer-inner .title-text-desk {
        margin: 22px 0 40px 0;
    }

    .interer-big-img img {
        display: block;
        border-radius: 20px;
    }

    .nashi-master-section .slick-prev {
        left: 100px;
        position: absolute;
        bottom: 0px;
        font-size: 0;
        background-image: url(/wp-content/uploads/2025/09/Frame-165.svg);
        background-color: #77777700;
        height: 50px;
        width: 50px;
        background-size: contain;
        background-repeat: no-repeat;
    }

    .nashi-master-section .slick-next {
        font-size: 0;
        background-image: url(/wp-content/uploads/2025/09/Frame-336149.svg);
        background-color: #77777700;
        height: 50px;
        width: 50px;
        background-size: contain;
        background-repeat: no-repeat;
    }

    .flex-link-img-about-mobile {
        display: block;
    }

    .interer-slider {

        margin-top: 12px;
    }

    .interer-slider .slick-prev {
        left: 168px;
        position: absolute;
        bottom: 0px;
        font-size: 0;
        background-image: url(/wp-content/uploads/2025/09/Frame-165.svg);
        background-color: #77777700;
        height: 50px;
        width: 50px;
        background-size: contain;
        background-repeat: no-repeat;
    }

    .interer-slider .slick-next {
        font-size: 0;
        margin-right: 58px;
        background-image: url(/wp-content/uploads/2025/09/Frame-336149.svg);
        background-color: #77777700;
        height: 50px;
        width: 50px;
        margin-top: 12px;
        background-size: contain;
        background-repeat: no-repeat;
    }

    .faq-section .titleh2 {

        margin-bottom: 5px;
    }

    .faq-item {
        padding: 15px 20px;
    }

    .faq-question {
        line-height: 126%;
        font-size: 18px;
        width: 77%;
    }

    .faq-items {

        margin-top: 36px;
    }

    .faq-item.active .faq-answer {
        width: 81%;
        line-height: 107%;
    }

    .faq-question::after {
        width: 40px;
        height: 40px;
        right: -75px;
    }

    .site-footer {
        margin-top: 60px;
    }

    .site-footer {

        padding: 30px 0px 40px 0;
    }

    .footer__contact-top-text {

        font-size: 12px;
    }

    .footer__contact-tel-link {
        font-size: 24px;
    }

    .footer__contact-tel {
        margin: 23px 0 10px 0;
    }

    .footer__contact-adress {
        font-size: 18px;
        width: 66%;
    }

    .footer__contact-work {
        font-size: 14px;
        margin: 7px 0 18px 0;
    }

    .footer__contact-soci-icon {
        width: 50px;
        height: 50px;
        background-repeat: no-repeat;
    }

    .icon-vk {
        margin-right: 12px;
        background-size: contain;
    }
    .icon-max{
        margin-right: 12px;
    }
    .icon-telega {

        background-size: contain;
    }

    .btn-zapis-footer {
        padding: 16px 18px;
        font-size: 12px;
    }

    .footer__contact-soci {
        padding-bottom: 16px;
    }

    .footer__img {

        padding: 20px;

    }

    .footer__img-text-title {
        font-size: 25px;
        letter-spacing: -0.3px;
        margin-top: 0px;
    }

    .footer__img-text-desk {
        margin-top: 10px;
        line-height: 148%;
    }

    .footer__img-btn .btn {
        padding: 10px 16px;
        font-size: 12px;
    }

    .footer__imeges {
        width: 156px;
        height: 155px;

    }

    .grid-container-flex {
        padding-bottom: 40px !important;
    }

    .footer__bottom {
        padding-top: 30px;
    }

    .footer__bottom {
        gap: 10px;
        font-size: 12px;
    }

    .breadcrumbs-list {
        margin-top: -11px;
        margin-bottom: 59px;

    }

    .breadcrumb-back {
        color: #8E877E;
        font-size: 12px;
    }

    .yoast-breadcrumb a {
        font-size: 12px;
    }

    .yoast-breadcrumb span {
        font-size: 12px;
    }

    body.home .header__subtext {
        width: 80%;
    }

    .header__subtext {
        width: 90%;
        margin: 0 auto;
    }

    .header__subtext-page {
        font-size: 14px;
        width: 100%;
    }

    .nashi-master-cards-brovisty {
        grid-template-columns: repeat(1, 1fr);

    }

    .nashi-master-cards-brovisty .card-img img {
        width: 320px !important;
        height: 317px !important;
        display: block;
    }

    .flex-link-img-about-desctop {
        display: none;
    }

    .flex-link-img-about-mobile {
        display: block;
    }

    .prais-card-title {
        font-size: 18px;
        font-weight: 600;
        line-height: 130%;
    }

    .top-table-flex {
        padding: 0px 1px 0px 0px;
    }

    .nashi-uslugi-prais .titleh2 {
        width: 67%;
    }

    .top-table {
        margin-top: 34px;
        margin-bottom: 10px;
    }

    .title-price-line {
        padding: 0px 6px !important;
    }

    .title-price-line {
        padding: 0 11px !important;
    }

    .top-table-title-price:nth-child(3) p {
        padding-right: 0 !important;
    }

    .prais-card-content {
        padding: 20px 20px 20px 20px;
        flex-direction: column;
        align-items: baseline;
    }

    .prais-card-content-item {

        flex-wrap: wrap;
    }

    .prais-card-text {
        font-size: 18px;
    }

    .prais-card-content-item-sum {
        margin-top: 16px;
        width: 80%;
    }

    .prais-card-btn {
        margin-top: 20px;
    }

    .prais-card-text:nth-child(2) {
        padding: 0px 0px;
    }

    .prais-card-btn .card-btn {
        padding: 12px 19px;
        font-size: 12px;
    }

    .prais-card-text:nth-child(1) {
        padding-right: 9px;
        padding-left: 10px;
    }

    .dlya-kogo .title-text-desk {
        width: 100%;
        margin-left: 0px;
    }

    .flex-text-img-content-about .title-h3 {
        width: 100%;
    }

    .flex-text-img-content-about .flex-text-img-bottom-title {
        width: 100%;
        margin-top: 20px;
    }

    .dlya-kogo-card-title {
        font-size: 18px;
        margin-bottom: 4px;

    }

    .dlya-kogo-card-content {
        padding: 20px;

    }

    .dlya-kogo-card-text {
        font-size: 13px;
        line-height: 140%;
        width: 95%;
    }

    .dlya-kogo-card-img-images {
        width: 100%;
        height: 145px;
    }

    .dlya-kogo-cards {
        grid-gap: 12px;
        margin-top: 35px;
    }

    .dlya-kogo-card {
        gap: 12px;
    }

    .dlya-kogo-card:nth-child(2) .dlya-kogo-card-img-images {
        height: 127px;
        width: 132px;
    }

    .dlya-kogo-card:nth-child(4) .dlya-kogo-card-img-images {
        height: 127px;
        width: 132px;
    }

    .tabs {
        display: flex;
        flex-wrap: nowrap;
        /* не переносим табы */
        overflow-x: auto;
        /* горизонтальный скролл */
        overflow-y: hidden;
        /* убираем вертикальный */
        margin-top: 40px;
        margin-bottom: 20px;
        margin-left: 0;
        padding: 0;
        list-style: none;
        gap: 10px;

        -webkit-overflow-scrolling: touch;
        /* плавный скролл на iOS */
        scrollbar-width: none;
        /* скрыть скроллбар (Firefox) */
    }

    .tabs::-webkit-scrollbar {
        display: none;
        /* скрыть скроллбар (Chrome, Safari) */
    }

    .tabs li {
        flex: 0 0 auto;
        /* запретить сжатие, чтобы элементы шли в одну строку */
        padding: 7px 14px;
        font-size: 14px;
        border-radius: 10px;
        white-space: nowrap;
        /* не переносить текст внутри */
    }

    .contact-inner {
        gap: 22px;
        flex-direction: column;
    }

    .contact-text {
        padding: 20px;
        height: 387px;
    }

    .contact-text-block {
        margin-top: 30px;
    }

    .contact-text-tel-link {
        font-size: 24px;
        margin: 10px 0 10px 0;
    }

    .contact-text-adress {
        font-size: 16px;
    }

    .otziv-cards {
        grid-template-columns: repeat(1, 1fr);
        gap: 12px;
        margin-top: 40px;
    }

    .otziv-card.narrow {
        grid-column: span 3;
    }

    .otziv-card:has(video) {

        height: 356px;
    }

    .otziv-card-content {
        padding: 20px;
    }

    .otziv-card-text {
        font-size: 12px;
    }

    .otziv-card-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .otziv-card:has(video) .otziv-card-text {
        bottom: 0;
        bottom: 40px;
        left: 32px;
        font-size: 12px;
        letter-spacing: 2px;
    }

    .otziv-card:has(video) .otziv-card-title {

        left: 30px;
        font-size: 24px;
    }

    .otziv-popup-content .titleh2 {
        font-size: 20px;
    }

    .otziv-popup-content .popup-text {
        margin: 10px 0 0px 0;
        font-family: "Inter Tight", sans-serif;
    }

    .otziv-popup-content .popup-text p {
        font-size: 14px;
        line-height: 150%;
    }

    .otziv-popup-content .master-popup-close {

        top: 23px;
        right: 23px;
        font-size: 47px;
    }

    .nashi-master-card .card-img img {

        object-fit: cover !important;
    }

    .nashi-master-cards .slick-list {
        height: 555px;
    }

    .nashi-master-card .card-img img {
        width: 323px !important;
        height: 317px !important;
        display: block;
    }

    .nav-float-right #site-navigation {
        padding-top: 0px;
        margin-top: -60px;
        z-index: -1;
    }

    #site-navigation .inside-navigation {
        color: #fff;
    }

    /* Когда открыто меню */
    html.mobile-menu-open {
        overflow: hidden;
        /* убираем скролл у страницы */
    }

    /* Подложка */
    html.mobile-menu-open::before {
        content: "";
        position: fixed;
        inset: 0;
        background: #27271F80;
        /* тёмный фон */
        z-index: 99;
        /* ниже меню */
    }
    .prais-card-title-text {
    font-size: 13px;
    }
    /* Сама навигация */
    html.mobile-menu-open #site-navigation {
        background-image: url(/wp-content/uploads/2025/10/Rectangle-6.svg);
        border-radius: 30px;
        position: fixed;
        background-size: contain;
        top: -12px;
        right: 0;
        left: 0;
        margin: 0 auto;
        height: auto;
        max-width: 560px;
        margin: 0 15px;
        z-index: 99;
        overflow-y: auto;
        padding: 35px;
        transition: transform 0.3s ease-in-out;
        transform: translateY(0);
        /* чтобы появлялось при открытии */
    }

    body.mobile-open-home #site-navigation #primary-menu {
        position: relative;
    }

    body.mobile-open-home #site-navigation #primary-menu:after {
        content: '';
        position: absolute;
        top: -94px;
        left: 0;
        background: url(/wp-content/uploads/2025/09/лого.svg) no-repeat center / contain !important;
        width: 135px;
        height: 51px;
    }

    /* Сдвигаем картинку только когда меню открыто */
    html.mobile-menu-open .header-top-img-images {
        position: relative;
        /* если не задано */
        transform: translate(-30px, 98px);
    }

    html.mobile-menu-open button.menu-toggle {
        margin-right: 0px;
        margin-top: 0px;
        right: 20px;
        z-index: 9999999999;
        position: absolute;
        top: 20px;
    }

    html.mobile-menu-open .site-header .header-image {
        z-index: 99999999;
        position: relative;
        margin-left: 23px;
        top: 22px;
    }

    /* Когда меню закрыто — сдвигаем его */
    #site-navigation {
        transform: translateY(0);
    }

    .main-nav {
        margin-top: 100px;
    }

    .site-logo {
        margin-right: 0px;
        padding-top: 17px;
    }

    .page-id-219 .header__subtext {
        width: 50%;
    }

    #menu-item-221 {
        padding-bottom: 20px;
    }

    .main-navigation .inside-navigation {
        display: block;
    }

    .header-text-soci.icon-telega:hover {
        width: 50px;
        height: 50px;
        background-size: contain;
    }

    .header-text-soci.icon-vk:hover {
        width: 50px;
        height: 50px;
        background-size: contain;
    }
    .service-popup__content {
    padding: 40px 20px;
    }
    .popuptitle {
    font-size: 30px;
    }
    .text-popup {
    font-size: 14px;
    margin-top: 10px;
    }
    .service-popup__form .form-quest-flex p {
    margin-top: 30px;
}
.service-popup__close {
    top: 15px;
    right: 15px;
}
.service-popup__form .reklama-link{
    margin-top: 10px;
}
    .form__block:after {
        right: 0;
        max-width: 100%;
        height: 175px;
        background-position: center;
    }
}

@media (max-width:430px) {
    .interer-slider .slick-prev {
        left: 190px;
    }

    .interer-slider .slick-next {

        margin-right: 58px;
        margin-top: 12px;

    }

    .title-text-desk-abut {
        width: 82%;
    }

    .sertifikat__flex:after {

        left: 30px;
    }

    .prais-card-content-item-sum {
        margin-top: 16px;
        flex-direction: column;
        text-align: center;
        width: 100%;
        gap: 0px;
    }
        .prais-card-text:nth-child(1) {
        margin: 0 auto;
    }
    #menu-item-709 {
        display: block;
    }

    #menu-item-710 {
        display: block;
    }
    .sertifikat__block:after {
        height: 220px;
    }
    .main-navigation .main-nav ul li a {
        margin-bottom: 20px;
        letter-spacing: 0.4px;
    }

    .mobile__block {
        border-top: 2px solid #47483A;
        padding-top: 40px;
    }

    .mobile__block-tel {
        font-size: 18px !important;
        font-weight: 500 !important;
        margin-bottom: 20px;
    }

    .mobile__block-adress {
        font-size: 14px;
        color: #8E877E;
        width: 60%;
        line-height: 144%;
        margin-bottom: 20px;
    }

    .mobile__block-adress span {
        font-weight: 600;
    }

    .header-text-soci {
        background-size: contain;
        width: 50px;
        height: 50px;
        transition: 0.3s;
    }

    .header-text-soci-inner {
        display: flex;
        gap: 12px;
    }

    .header-text-soci-inner .btn-zapis {
        padding: 17px 32px;
    }

    .header-text-soci-inner .icon-telega {
        margin-right: 0px;
    }

    .nashi-master-card-slider .card-content-child {

        height: 550px;
    }

    .nashi-master-card-slider .card-content-child-top-text {

        margin-top: 125px;
    }
}

@media (max-width:414px) {
    .prais-card-content-item-sum {
        margin-top: 16px;
        width: 75%;
    }
}

@media (max-width:390px) {
    .interer-slider .slick-prev {
        left: 168px;
    }

    .interer-slider .slick-next {

        margin-right: 58px;
        margin-top: 12px;

    }

    .title-text-desk-abut {
        width: 68%;
    }

    .sertifikat__flex:after {

        left: -8px;
    }

    .prais-card-content-item-sum {
        margin-top: 16px;
        width: 80%;
    }

    .nashi-master-card-slider .card-content-child {
        height: 608px;
    }
}

@media (max-width:380px) {
    .nashi-master-card .card-btn {
        padding: 18px 21px;
    }

    .nashi-master-card .card-btn {
        padding: 18px 19px;
    }

    .dlya-kogo-card:nth-child(2) .dlya-kogo-card-img-images {
        height: 144px;
        width: 132px;
    }

    .dlya-kogo-card:nth-child(4) .dlya-kogo-card-img-images {
        height: 144px;
        width: 132px;
    }

    .nashi-master-card-slider .card-content-child {
        height: 547px;
    }

    .gallery-sizer,
    .gallery-item {
        width: 45%;
    }
}

@media (max-width:360px) {
    .about-img-small {
        height: 85px;
    }
}