@media screen and (max-width: 1100px) {
    header {
        padding: 15px 20px 0;
    }
}

@media (max-width: 700px) {
    header {
        padding: 15px 20px;
    }

    header.scrolled {
        padding: 15px;
    }

    header .header .logo a img {
        width: 170px;
        height: 43px;
    }

    header .header .menu-header {
        display: none !important;
    }

    header .header .burger {
        display: flex !important;
    }
}

@media screen and (max-width: 1024px) {
    footer .block-footer .footer-one {
        padding: 40px 30px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    footer .block-footer .footer-one .block-one {
        grid-column: 1/-1;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
    }

    footer .block-footer .footer-one .block-one .block-btn {
        flex-direction: row;
        gap: 10px;
    }

    footer .block-footer .footer-one .block-one .block-btn .btn-basic {
        font-size: 14px;
        padding: 12px 16px;
    }

    footer .block-footer .footer-one .block-one .contacts {
        gap: 10px;
    }

    footer .block-footer .footer-one .block-two,
    footer .block-footer .footer-one .block-three,
    footer .block-footer .footer-one .block-four {
        grid-column: auto;
    }

    footer .block-footer .footer-one .block-two h3,
    footer .block-footer .footer-one .block-three h3,
    footer .block-footer .footer-one .block-four h3 {
        font-size: 15px;
    }

    footer .block-footer .footer-one .block-two p,
    footer .block-footer .footer-one .block-two a,
    footer .block-footer .footer-one .block-three p,
    footer .block-footer .footer-one .block-three a,
    footer .block-footer .footer-one .block-four p,
    footer .block-footer .footer-one .block-four a {
        font-size: 14px;
    }

    footer .block-footer .footer-one .block-four a {
        text-align: right;
    }
}

@media screen and (max-width: 700px) {
    footer .block-footer .footer-one {
        display: flex;
        flex-direction: column;
        padding: 40px 20px;
    }

    footer .block-footer .footer-one .block-one {
        order: 1;
    }

    footer .block-footer .footer-one .block-four {
        order: 2;
    }

    footer .block-footer .footer-one .block-three {
        order: 3;
    }

    footer .block-footer .footer-one .block-two {
        order: 4;
    }

    footer .block-footer .footer-one .block-one {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    footer .block-footer .footer-one .block-one .block-btn {
        display: flex;
        flex-direction: row;
        gap: 15px;
        width: 100%;
    }

    footer .block-footer .footer-one .block-one .block-btn .btn-basic {
        width: 100%;
        text-align: center;
    }

    footer .block-footer .footer-one .block-one .contacts {
        justify-content: center;
    }

    footer .block-footer .footer-one .block-four a {
        text-align: center;
    }

    footer .block-footer .footer-one .block-three {
        padding: 25px 0;
        border-bottom: 1px solid rgba(217, 217, 217, 0.2156862745);
        flex-direction: row;
        justify-content: space-between;
    }

    footer .block-footer .footer-one .block-three .tel h3,
    footer .block-footer .footer-one .block-three .tel p {
        text-align: left;
    }

    footer .block-footer .footer-one .block-three .email h3,
    footer .block-footer .footer-one .block-three .email a {
        text-align: right;
    }

    footer .block-footer .footer-one .block-two p {
        font-size: 0;
    }

    footer .block-footer .footer-one .block-two p::before {
        display: block;
        content: "г. Пермь ул. Героев Хасана 105  корпус 70 офис 205  (склад готовой продукции №5)";
        font-size: 16px;
        color: #ffffff;
        line-height: 120%;
    }

    footer .block-footer .footer-two {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    footer .block-footer .footer-two .one {
        order: 1;
    }

    footer .block-footer .footer-two a {
        order: 0;
    }

    footer .block-footer .footer-one .block-one .logoRow .contacts {
        display: flex;
    }

    footer .logoRow .logo {
        width: 170px;
    }

    footer .logoRow .logo img {
        width: 100%;
        height: auto;
    }

    footer .block-footer .footer-one .block-one>.contacts {
        display: none;
    }

    footer .block-footer .footer-one>.block-four {
        display: none;
    }

    footer .block-footer .footer-one .block-one .block-four {
        display: flex;
    }
    
    footer .logoRow {
        order: 1;
    }

    footer .block-footer .footer-one .block-one .block-btn {
        order: 3;
    }

    footer .block-footer .footer-two-container {
        padding: 20px;
    }
}

@media screen and (max-width: 1200px) {
    .main-1 {
        padding: 100px 30px 0 30px;
    }

    .main-1 .block-main-1 .inf-main-1 .heading {
        text-align: center;
    }

    .main-1 .block-main-1 .inf-main-1 .heading .heading-main-1 {
        font-size: 40px;
        margin-right: 0;
    }

    .main-1 .block-main-1 .inf-main-1 .inf {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }

    .main-1 .block-main-1 .inf-main-1 .inf .text {
        max-width: 700px;
    }

    .main-1 .block-main-1 .inf-main-1 .inf .contacts {
        position: relative;
        right: auto;
        bottom: auto;
        display: flex;
        justify-content: center;
        gap: 10px;
    }
}

@media(max-width: 1100px) {
    .main-1 .block-main-1 .img-font {
        top: -180px;
    }

    .main-1 .block-main-1 .inf-main-1 {
        padding-top: 20%;
    }
}

@media screen and (max-width: 700px) {
    .main-1 {
        padding: 20px 0 0;
        margin-bottom: 60px;
    }

    .main-1 .block-main-1 .img-mob {
        display: block;
        position: absolute;
        width: 200%;
        left: 50%;
        top: -10%;
        translate: -50% 0;
        text-align: center;
    }

    .main-1 .block-main-1 .img-mob img {
        width: 100%;
        height: auto;
    }

    .main-1 .block-main-1 .img-font {
        display: none;
    }

    .main-1 .block-main-1 .inf-main-1 {
        padding: 0 20px 0;
        padding-top: 90%;
        gap: 10px;
    }

    .main-1 .block-main-1 .inf-main-1 .heading {
        margin-top: 30px;
    }

    .main-1 .block-main-1 .inf-main-1 .heading .heading-main-1 {
        font-size: 28px;
        text-align: left;
    }

    .main-1 .block-main-1 .inf-main-1 .inf .text {
        text-align: left;
        font-size: 16px;
    }

    .main-1 .block-main-1 .inf-main-1 .inf .btn-basic {
        width: 100%;
        font-size: 16px;
    }

    .main-1 .block-main-1 .inf-main-1 .inf .contacts {
        display: none;
    }
}

@media (max-width: 1100px) {


    .main-2 .block-main-2 {
        gap: 30px;
    }

    .main-2 .block-main-2 .block-text {
        padding: 50px 0 50px 30px;
        gap: 20px;
    }

    .main-2 .block-main-2 .block-text .block-one,
    .main-2 .block-main-2 .block-text .block-two {
        gap: 20px;
    }

    .main-2 .block-main-2 .block-text .block-one .inf .heading,
    .main-2 .block-main-2 .block-text .block-two .inf .heading {
        gap: 10px;
    }

    .main-2 .block-main-2 .block-text .block-one .inf .heading .heading-main-2,
    .main-2 .block-main-2 .block-text .block-two .inf .heading .heading-main-2 {
        font-size: 18px;
    }

    .main-2 .block-main-2 .block-text .block-one .inf p,
    .main-2 .block-main-2 .block-text .block-two .inf p {
        font-size: 14px;
    }

    .main-2 .block-main-2 .img img {
        max-width: 350px;
        height: 100%;
    }
}

@media screen and (max-width: 700px) {
    .main-2 {
        padding: 0;
    }

    .main-2 .block-main-2 {
        flex-direction: column;
        gap: 20px;
    }

    .main2MobileImage {
        display: block;
    }

    .main-2 .block-main-2 .img {
        display: none;
    }

    .main-2 .block-main-2 .block-text {
        padding: 0 20px 70px;
        gap: 30px;
    }

    .main-2 .block-main-2 .block-text .block-one,
    .main-2 .block-main-2 .block-text .block-two {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .main-2 .block-main-2 .block-text .block-one .inf .heading .heading-main-2,
    .main-2 .block-main-2 .block-text .block-two .inf .heading .heading-main-2 {
        font-size: 20px;
    }

    .main-2 .block-main-2 .block-text .block-one .inf p,
    .main-2 .block-main-2 .block-text .block-two .inf p {
        font-size: 16px;
    }
}

@media screen and (max-width: 700px) {
    .popap .popap__content {
        max-width: 90%;
        height: auto;
        padding: 40px 20px;
        padding-top: 50px;
    }

    .popap .popap__content .popap-heading {
        text-align: left;
        font-size: 30px;
        line-height: 100%;
        padding-bottom: 40px;
    }
}

@media screen and (max-width: 500px) {
    .about-1 {
        display: none;
    }
}

@media screen and (max-width: 700px) {
    .glass-2 .block-glass-2 .two {
        max-height: 250px;
        margin-top: 0;
    }

    .about-2__content {
        order: 1;
    }

    .about-2 {
        padding: 20px 20px 0;
        margin-bottom: 60px;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-2 h2 {
        font-size: 28px;
    }

    .about-2 .text {
        gap: 10px;
    }

    .about-2 .text p {
        font-size: 14px;
    }

    .about-2 .about-2__image {
        min-height: 220px;
    }

    .about-2 img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 1034px) {
    .about-3 .block-menu-about {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .about-3 {
        padding: 40px 20px 0;
        margin-bottom: 60px;
    }

    .about-3 .heading-about-3 {
        font-size: 22px;
        padding-bottom: 30px;
    }

    .about-3 .block-menu-about {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .about-3 .block-menu-about .block {
        height: 180px;
        padding: 10px;
        border-radius: 10px;
    }

    .about-3 .block-menu-about .block p {
        font-size: 14px;
    }

    .about-3 .block-menu-about .block::after {
        border-radius: 0 0 10px 10px;
    }
}

@media (max-width: 1320px) {
    .form .block .img {
        max-width: 40%;
    }
}

@media screen and (max-width: 1050px) {
    .form .block {
        padding: 0 30px;
    }

    .form .block .img {
        right: 20px;
        bottom: 0;
        max-width: 40%;
    }
}

@media (max-width: 700px) {
    .form {
        margin-bottom: 60px;
    }

    .form .block {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 10px;
        flex-direction: column;
        align-items: center;
    }

    .form .block .form-block {
        width: 100%;
        max-width: none;
        padding-bottom: 0;
    }

    .form .block .img {
        position: relative;
        right: 0;
        margin-top: 80px;
        max-width: 100%;
        width: 100%;
    }

    .form .block .img .text-img {
        bottom: -1px;
        width: 100%;
        box-sizing: border-box;
        left: 50%;
        translate: -50%;
    }

    .form .block .img img {
        width: 100%;
        display: block;
    }
}

@media screen and (max-width: 700px) {
    .glass-2 h1 {
        font-size: 32px;
        margin-bottom: -10px;
    }

    .contacts-2 {
        padding: 0 20px;
        margin-bottom: 60px;
    }

    .contacts-2 .contacts-2-heading {
        font-size: 0;
        position: relative;
        padding-bottom: 30px;
    }

    .contacts-2 .contacts-2-heading::before {
        content: "КОНТАКТЫ";
        font-size: 32px;
        font-weight: 400;
        margin: 0;
    }

    .contacts-2 .contacts {
        flex-direction: column;
        gap: 30px;
    }

    .contacts-2 .contacts .block-four .contacts {
        justify-content: normal;
    }

    .contacts-2 .map {
        height: 150px;
    }

    .contacts-2 .map iframe {
        height: 150px;
    }
}

@media screen and (max-width: 500px) {
    .productiob-1 {
        display: none;
    }
}

@media (max-width: 1024px) {
    .production-2 {
        padding: 50px 30px 0;
        margin-bottom: 80px;
    }
}

@media (max-width: 700px) {
    .production-2 {
        padding: 30px 20px 0;
        margin-bottom: 60px;
    }

    .production-2 h1 {
        font-size: 32px;
        padding-bottom: 30px;
    }

    .production-2 .block-catalog-container,
    .production-2 .block-catalog-two-row {
        grid-template-columns: 1fr;
    }

    .block-catalog-item {
        height: 100%;
        padding: 20px;
    }

    .block-catalog-two>.block-catalog-item {
        height: auto;
        max-height: 100%;
        min-height: 350px;
    }

    .text .flex-block.special-gap {
        justify-content: space-between;

    }

    .text p {
        font-size: 16px;
        padding-top: 5px;
    }

    .text .flex-block h3 {
        font-size: 20px;
    }

    .btn-circle img {
        width: 30px;
        height: 30px;
    }

    .production-2 .bg-glass {
        background-image: url('/wp-content/themes/kristall/assets/img/services/mobile/Frame 1948754397.webp');
    }

    .production-2 .bg-triplex {
        background-image: url('/wp-content/themes/kristall/assets/img/services/mobile/Frame 1948754398.webp');
    }

    .production-2 .bg-mirror {
        background-image: url('/wp-content/themes/kristall/assets/img/services/mobile/Frame 1948754399.webp');
    }

    .production-2 .bg-stemalit {
        background-image: url('/wp-content/themes/kristall/assets/img/services/mobile/Frame 1948754400 (1).webp');
    }
}

@media (max-width: 700px) {
    .block-image {
        background-image: attr(data-mobile-image url) !important;
    }
}

@media screen and (max-width: 1024px) {
    .production-3 {
        padding: 80px 20px 0;
    }

    .production-3 h2 {
        font-size: 40px;
    }

    .production-3 .block-production-3 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "group-two group-two"
            "group-1   group-2";
        gap: 20px;
        height: auto;
    }


    .production-3 .block-production-3 .group-two {
        grid-area: group-two;
        height: 400px;
    }

    .production-3 .block-production-3 .group:first-child {
        grid-area: group-1;
    }

    .production-3 .block-production-3 .group:last-child {
        grid-area: group-2;
    }

    .production-3 .block-production-3 .group .block {
        height: 250px;
    }
}

@media screen and (max-width: 700px) {
    .production-3 {
        padding: 0 20px;
        margin-bottom: 60px;
    }

    .production-3 h2 {
        font-size: 32px;
        padding-bottom: 20px;
    }

    .production-3 .block-production-3 {
        margin-bottom: 20px;
        display: flex;
        flex-direction: column;
    }

    .production-3 .block-production-3 .group .block {
        height: 250px;
        padding: 20px;
    }

    .production-3 .block-production-3 .group .block .inf h3 {
        font-size: 20px;
    }

    .production-3 .block-production-3 .group .block .inf img {
        width: 30px;
        height: 30px;
    }

    .production-3 .block-production-3 .group-two .block {
        height: 400px;
        padding: 20px;
    }

    .production-3 .block-production-3 .group-two .block h3 {
        font-size: 20px;
    }

    .production-3 .block-production-3 .group-two .block img {
        width: 30px;
        height: 30px;
    }

    .production-3 .btn {
        flex-direction: column;
        gap: 20px;
    }

    .production-3 .btn p {
        font-size: 20px;
        text-align: center;
        text-transform: none;
    }

    .production-3 .btn .btn-basic {
        width: 100%;
        padding: 15px;
    }

    .production-3 .block {
        background-image: var(--bg-mobile);
    }
}

@media screen and (max-width: 700px) {
    .glass-2 {
        padding: 30px 20px 0;
        margin-bottom: 60px;
    }

    .glass-2 h2 {
        font-size: 32px;
        padding-bottom: 20px;
    }

    .glass-2 .block-glass-2 {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .glass-2 .block-glass-2 .one {
        order: 1;
    }

    .glass-2 .block-glass-2 .one {
        gap: 30px;
    }

    .glass-2 .block-glass-2 .one .text {
        gap: 10px;
    }

    .glass-2 .block-glass-2 .one .text p {
        font-size: 16px;
    }

    .glass-2 .block-glass-2 .one .inf-block h3 {
        font-size: 24px;
        padding-bottom: 20px;
    }

    .glass-2 .block-glass-2 .one .inf-block .block .inf {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .glass-2 .block-glass-2 .one .inf-block .block .inf h4 {
        font-size: 16px;
    }

    .glass-2 .block-glass-2 .one .inf-block .block .inf p {
        font-size: 16px;
    }
}