@media(max-width: 1023px) {
    .about-cards__blocks {
        display: block !important;
    }

    .about-cards__blocks > div {
        padding: 30px 10px;
    }

    .about-cards__blocks img {
        height: 0;
    }
}

@media(max-width: 767px) {
    .logo {
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        margin-bottom: 15px;
    }

    .header__contact > * {
        margin-bottom: 15px;
    }

    .header__contact {
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        text-align: center;
    }

    .header__contact_city img,
    .header__contact_city h2 {
        display: none;
    }

    .about__content {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .callback-form input[type=tel] {
        width: 250px;
        margin: 10px;
        border-radius: 5px;
    }

    .custom-button {
        /* width: 250px;
        margin: 10px;
        border-radius: 5px; */
    }
}
@media screen and (max-width: 768px) {
  .about__content h1 {
    font-size: 22px;
    line-height: 1.4;
    color: #fff;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 15px;
    border-radius: 10px;
    margin-bottom: 15px;
  }

  .about__content {
    margin-top: 100px; /* чтобы не налезало на кабину */
    background: rgba(6, 6, 14, 0.4);
    border-radius: 12px;
    padding: 10px;
  }

  .custom-button.phone-button {
    display: block;
    margin: 0 auto;
  }
}
