@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1400px;
    }
    .portfolio-content ul {
        min-height: 140px;
    }
}
@media all and (max-width: 1400px) {
    body {
        font-size: 16px;
    }
    .branding {
        max-width: 270px;
    }
    .worktime {
        display: none;
    }
    .why-text p:first-child {
        font-size: 20px;
    }
    .navbar-expand-xl .navbar-nav .nav-link {
        padding: 0px 10px;
    }
    #footer-blocks h2.form-callback {
        font-size: 16px;
    }
    .form-block_wrapper::after {
        width: 300px;
        height: 340px;
        bottom: 0px;
        right: 20px;
    }
    .form-block_wrapper .wpcf7 {
        max-width: 700px;
    }
    .category-anons {
        display: none !important;
    }
}

@media all and (max-width: 1200px) {
    #header-wrapper {
        height: 180px;
    }
    #page {
        padding-top: 130px;
    }
    #menu-wrapper.fixed {
        margin-top: 0px;
    }
    .worktime {
        display: none;
    }
    .navbar-expand-xl .navbar-nav li:not(:first-child) .nav-link {
        min-width: unset;
    }
    #menu-wrapper.fixed .header-contacts {
        display: none;
    }
    .navbar-expand-xl {
        width: 100%;
    }
    #menu-wrapper.fixed .navbar-expand-xl .navbar-nav li:not(:first-child) .nav-link  {
        padding: 14px 20px;
    }
    #menu-wrapper.fixed .navbar-expand-xl .navbar-nav {
        gap: unset;
    }
    #footer-blocks h2.form-callback {
        font-size: 17px;
    }
    .footer-left .form-policy {
        padding-right: 10px;
    }
    .news-foto {
        width: 200px;
        min-width: 200px;
    }
    .news-title {
        font-size: 18px;
    }
    .team-right img {
        max-width: 100%;
    }
    .team-left strong {
        font-size: 20px;
    }
    .team-stag_inner {
        font-size: 20px;
    }
    h1,
    h2 {
        font-size: 32px;
    }
    .intro-form {
        max-width: 90%;
        padding: 20px;
    }
    .team-carousel {
        margin: 0px;
        padding: 0px 30px;
    }
    .team-carousel .slick-arrow {
        left: 10px;
    }
    .team-carousel .slick-arrow.slick-next {
        left: auto;
        right: 10px;
    }
    .services-more {
        display: none !important;
    }
    .services-title {
        display: block !important;
    }
    .services-price {
        gap: 5px;
        padding-top: 5px;
        flex-direction: column;
    }
    .navbar-expand-xl .navbar-nav .nav-link {
        padding: 14px 20px;
    }
    #menu-wrapper .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .location {
        font-size: 14px;
    }
    .header-contacts a {
        color: #fff;
    }
    .fs-text h1 {
        font-size: 32px;
        line-height: 1.2;
    }
    .fs-text p {
        font-size: 26px;
    }
    .services-price_inner {
        flex-direction: row;
    }
    .why-row_inner .why-item p:first-child {
        font-size: 20px;
    }
    .serv-about_text > p:nth-child(2) {
        font-size: 32px;
    }
    .serv-about_text > p:first-child {
        flex-direction: column;
        gap: 15px;
    }
    .why-row_inner .why-item {
        width: 200px;
        padding: 0px 5px;
    }
    .form-subtitle {
        font-size: 28px;
    }
    .about-wrapper {
        padding: 20px;
    }
    .navbar-expand-xl .navbar-nav .nav-link {
        padding: 14px 20px;
    }
    .navbar-toggler {
        margin-left: auto;
        border: 0px;
        box-shadow: unset !important;
        outline: none !important;
    }
    .navbar-toggler-icon {
        background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center center;
    }
    #navbarNavOffcanvas {
        background: rgba(36, 28, 102, 1);
        backdrop-filter: blur(5px);
        position: fixed;
        top: 0px;
        right: 0px;
        z-index: 1000000000000000;
        height: 100vh;
        transform: unset;
    }
    .navbar-expand-xl {
        width: auto;
        order: 2;
    }
    .partners-carousel,
    .category-carousel {
        padding: 0px 30px;
    }
    .category-carousel .slick-arrow,
    .slick-arrow {
        left: 0px;
    }
    .category-carousel .slick-arrow.slick-next,
    .slick-arrow.slick-next {
        left: auto;
        right: 0px;
    }
    .form-block_wrapper {
        padding-bottom: 370px;
    }
    .form-block_wrapper .wpcf7 {
        max-width: 100%;
    }
    .form-block_wrapper::after {
        width: 300px;
        height: 340px;
        bottom: 0px;
        right: 50%;
        transform: translateX(50%);
    }
    .contact-wrapper {
        padding: 15px;
    }
}

@media all and (max-width: 960px) {
    .is-form-style {
        display: none;
    }
    
    .why-text p:first-child {
        font-size: 20px;
    }
    .services-wrapper {
        width: 33.333%;
    }
    .help-form_wrapper .form-title {
        font-size: 20px;
    }
    #menu-wrapper.fixed .header-contacts {
        display: block;
    }
    .slide-item {
        height: auto;
        padding-top: 250px;
    }
    .form-title {
        font-size: 24px;
    }
    .form-subtitle {
        font-size: 20px;
    }
    .intro-form .wpcf7 input[type="submit"] {
        width: auto;
    }
    .footer-right {
        padding-left: 15px;
    }
    #footer .container {
        flex-direction: column;
        gap: 10px;
    }
    .footer-left .form-policy {
        padding-right: 0px;
    }
    .footer-left .form-action {
        display: flex;
        justify-content: flex-end;
        flex-direction: column;
        gap: 15px;
        align-content: center;
        justify-content: center;
    }
    #header {
        padding-bottom: 20px;
    }
    .about-left,
    .ag-left {
        padding-bottom: 30px;
    }
    .book-right h3 {
        font-size: 20px;
    }
    .sert-carousel {
        margin: 0px 0px 20px 0px;
    }
    .works-carousel {
        margin: 0px 0px 20px 0px;
        padding: 0px 40px;
    }
    #serv-about .container {
        flex-direction: column;
        gap: 20px;
    }
    .page-template-page-works .help-form_2 img {
        width: 220px;
        height: auto;
    }
    .help-form_wrapper {
        padding: 40px;
    }
    .help-form_wrapper::after {
        display: none;
    }
    .about-pic {
        padding-top: 60px;
    }
    #about-inner .about-pic {
        padding-bottom: 30px;
        padding-top: 0px;
    }
    .form-block_wrapper {
        padding-top: 20px;
        padding-right: 20px;
        padding-left: 20px;
    }
    .form-block_wrapper .wpcf7 input[type="submit"], .intro-form .wpcf7 input[type="submit"] {
        width: auto;
    }
    #footer-blocks .form-flex {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    #footer-blocks .form-flex .form-item {
        padding-right: 0px;
    }
}

@media all and (max-width: 767px) {
    .location {
        margin-bottom: 15px;
    }
    .a-item {
        padding-bottom: 30px;
        flex-direction: column;
        text-align: center;
    }
    #menu-wrapper .header-contacts {
        display: block;
    }
    #menu-wrapper .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    #header .container {
        gap: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #header .header-contacts {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    #header .container {
        justify-content: center;
    }
    #header div.contact-phone {
        font-size: 16px;
    }
    .navbar-expand-xl {
        order: 2;
    }
    .mb-search {
        min-width: 200px;
    }
    #menu-wrapper .is-form-style {
        display: block;
    }
    #menu-wrapper .header-contacts {
        display: none !important;
    }
    #menu-wrapper .header-contacts a {
        font-size: 14px;
    }
    #menu-wrapper .header-contacts .callback a {
        font-size: 12px;
    }
    #menu-wrapper .header-contacts svg {
        max-width: 20px;
        height: auto;
    }
    .breadcrumbs {
        font-size: 13px;
    }
    h1, h2 {
        font-size: 28px;
    }
    #footer-blocks h2 {
        text-align: center;
        font-size: 20px;
    }
    .footer-logo {
        padding-top: 30px;
    }
     #footer .container {
        font-size: 14px;
        text-align: center;
    }
    h1.entry-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    .services-price_inner {
        flex-direction: column;
    }
    .news-item {
        flex-direction: column;
    }
    .news-foto {
        width: 100%;
        min-width: unset;
    }
    .price-list_item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
        padding: 15px 0px;
        flex-direction: column;
        text-align: center;
    }
    .price-list_item > div:nth-child(2) {
        margin-left: 0px;
    }
    .team-left strong {
        font-size: 16px;
    }
     #menu-wrapper.fixed .header-contacts {
        display: block;
    }
    .services-wrapper {
        width: 100% !important;
    }
    .services-title {
        padding: 10px 5px;
        font-size: 14px;
    }
    .help-form_wrapper .form-flex,
    .intro-form .form-flex {
        display: flex;
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }
    .help-form_wrapper .form-flex .form-item,
    .intro-form .form-flex .form-item {
        padding-right: 0px;
    }
    #news .wrapper {
        padding: 60px 20px;
    }
    #news .slick-arrow {
        left: -10px;
    }
    #news .slick-arrow.slick-next {
        left: auto;
        right: -10px;
    }
     #news .news-foto {
        width: 100%;
        min-width: unset;
    }
    #why .wrapper {
        padding: 60px 20px;
    }
    .why-row {
        flex-wrap: wrap;
    }
    .why-item {
        width: 50%;
        text-align: center;
        margin: 10px 0px;
    }
    #reviews .wrapper {
        padding: 60px 20px;
    }
    #book .wrapper {
        padding: 20px;
    }
    .book-left {
        padding-bottom: 30px;
    }
    .help-form_wrapper {
        text-align: center;
    }
    .help-form_wrapper .form-title {
        font-size: 20px;
        text-align: center;
    }
    .help-form h2 {
        text-align: center;
    }
    .help-form {
        padding-top: 30px;
    }
    .article-title {
        padding-top: 25px;
    }
    .article-title a {
        font-size: 18px;
    }
    .dropdown-item {
        text-align: center;
    }
    #footer-blocks .form-flex {
        display: flex;
        justify-content: center;
        flex-direction: column;
        gap: 15px;
    }
    #footer-blocks .wpcf7 input[type="submit"] {
        width: 100%;
    }
    #footer-blocks .form-flex .form-item {
        padding: 0px;
    }
    #footer-blocks h2.form-callback {
        font-size: 18px;
    }
    .help-form_wrapper {
        padding: 30px 20px;
    }
    .book-right p:last-child {
        text-align: center;
    }
    .serv-btns {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    .news-more {
        padding-top: 20px;
        display: flex;
        justify-content: center;
    }
    #header .header-contacts {
        display: none;
    }
    #menu-wrapper .header-contacts {
        display: block !important;
    }
    .price-list_item > div:nth-child(2), .price-list_item > div:nth-child(3) {
        width: 100%;
        min-width: unset;
        text-align: center;
        font-weight: 700;
        display: flex !important;
        justify-content: center;
    }
    .price-list_item > div a {
        height: 50px;
    }
    .nav-pills .nav-link {
        width: auto;
        padding: 0px 15px;
        white-space: pre;
    }
    .nav-pills {
        flex-wrap: nowrap;
        overflow: auto;
        margin-bottom: 20px;
    }
    .help-form_2 .help-form_wrapper {
        padding-left: 20px;
    }
    .help-form h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .fs-text h1 {
        font-size: 26px;
    }
    .fs-text p {
        font-size: 18px;
    }
    .why-row {
        margin-top: 30px;
    }
    #how h2 {
        margin-bottom: 10px;
    }
    .how-item {
        flex-direction: row;
        width: 100%;
    }
    .how-num {
        min-width: 40px;
    }
    .how-pic {
        order: 2;
        max-width: 70px;
        width: 70px;
        display: flex;
        justify-content: center;
        min-width: 70px;
    }
    .how-pic svg {
        max-width: 100%;
        height: auto;
    }
    .how-text {
        order: 2;
        text-align: left;
        padding-left: 15px;
        font-size: 14px;
    }
    .news-carousel {
        padding: 0px 20px;
        margin: 0px;
    }
    #footer-blocks h2.form-callback {
        text-align: center;
    }
    .rev-author {
        font-size: 16px;
        margin-bottom: 10px;
    }
    .services-price_inner {
        font-size: 18px;
    }
    .serv-btns a {
        width: 100%;
        justify-content: center;
    }
    .serv-about_text > p:first-child strong {
        font-size: 16px;
    }
    .serv-about_text > p:first-child {
        align-items: flex-start;
    }
    .serv-about_text > p:first-child {
        font-size: 24px;
    }
     .serv-about_text > p:nth-child(2) {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .why-row_inner .why-item {
        width: 50%;
    }
    .char-wrapper h2 {
        margin-bottom: 20px;
        font-size: 28px;
    }
    .help-form_wrapper::after {
        display: none;
        position: relative;
        right: 0px;
        margin: 20px auto 0px auto;
        height: 300px;
    }
    .serv-about_btns {
        display: flex;
        gap: 20px;
        margin-bottom: 60px;
        flex-wrap: wrap;
    }
    .serv-about_btns .btn {
        width: 100%;
    }
    .serv-about_pic {
        width: 250px;
        min-width: unset;
        margin: 0px auto;
    }
    .modal-body {
        padding: 0px 20px 30px 20px;
    }
    .serv-btns a {
        font-size: 14px;
    }
    #price-inner h2 {
        margin-bottom: 20px;
    }
    #what h2 {
        font-size: 26px;
    }
    body:not(.home) #page {
        padding-top: 140px;
    }
     .price-list_item > div.price-form,
    .price-form {
        display: none !important;
    }
    .rev-text {
        font-size: 14px;
    }
    .fs-tg {
        font-size: 16px;
    }
    .why-item {
        width: 100%;
    }
    #team .show-more, #news .show-more {
        padding-top: 0px;
    }
    .how-item,
    .how-item_2 {
        margin: 0px !important
    }
    .how-text {
        width: 100%;
    }
    .info-text,
    .how-list {
        margin-bottom: 30px;
    }
    #header-wrapper {
        height: auto;
    }
    .branding {
        position: relative;
        top: 0px;
        left: 0px;
        transform: unset;
        width: 250px;
    }
    #menu-wrapper {
        margin-top: 0px;
    }
    .menu-contacts {
        display: flex;
        width: 100%;
        gap: 10px;
    }
    .works-wrapper,
    .contact-wrapper,
    .serv-left_wrapper {
        padding: 15px;
    }
    #header-wrapper {
        padding-bottom: 10px;
    }
    #header {
        padding-bottom: 0px;
    }
    .serv-left_wrapper ul li, .portfolio-content ul li {
        width: 100%;
    }
    .portfolio-title {
        font-size: 20px;
    }
    .form-flex {
        flex-direction: column;
        gap: 15px;
        justify-content: center;
        align-items: center;
    }
    .form-flex .form-item {
        padding-right: 0px;
    }
    .form-block_wrapper .form-subtitle br {
        display: none;
    }
    .scheme-item {
        margin-bottom: 30px;
    }
    .scheme-item p:first-child {
        font-size: 18px;
    }
    .waranty-text {
        width: 100%;
        padding: 15px;
        height: auto;
        margin-top: 30px;
    }
    .waranty-text:before,
    .waranty-text:after {
        display: none;
    }
    .waranty-text p:first-child {
        font-size: 20px;
    }
    .serv-advantages {
        padding: 0px;
    }
    .serv-text {
        padding-top: 30px;
    }
    .dropdown-item {
        text-align: left;
        font-size: 14px;
    }
    #menu-item-232 {
        margin-top: 40px;
    }
    h2 {
        margin-bottom: 25px;
    }
    .partners_carousel_item img {
        max-height: 150px;
        width: auto;
        display: block;
        margin: 0px auto;
    }
    :where(.wp-block-columns) {
        margin-bottom: 0px;
    }
    #about {
        padding-bottom: 50px;
    }
    #reviews {
        padding-bottom: 30px;
    }
    .modal-title {
        font-size: 24px;
    }
    .modal-subtitle {
        font-size: 15px;
    }
    #form-block {
        padding-top: 30px;
    }
    .category-carousel {
        padding: 0px;
    }
    .category-carousel .slick-arrow {
        top: 100px;
        left: 15px;
    }
    .category-carousel .slick-arrow.slick-next {
        left: auto;
        right: 15px;
    }
    .category-carousel .slick-arrow svg path {
        fill: #fff;
    }
    #form-block h2 {
        text-align: center;
        padding-left: 0px;
    }
    .form-block_wrapper .form-subtitle {
        text-align: center;
    }
    .form-block_wrapper {
        padding-bottom: 20px;
        margin-top: 360px;
    }
     .form-block_wrapper::after {
        bottom: auto;
        top: -340px;
        position: absolute;
    }
}