@media (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }

    .case-card {
        padding-right: 25px;
    }

    .case-card__data-item {
        margin-left: 35px;
    }
}

@media (max-width: 991.98px) {
    body {
        font-size: 12px;
        background-size: 1500px auto;
    }

    .form-control {
        font-size: 12px;
        line-height: 22px;
        padding: 12px 15px;
        height: 48px;
    }

    .btn {
        font-size: 16px;
        line-height: 22px;
        padding: 12px 29px;
        height: 48px;
    }

    .popup-window__inner {
        padding: 25px;
    }

    .popup-window__title {
        margin-right: 30px;
    }

    .container {
        max-width: 720px;
    }

    .header__inner {
        height: 80px;
    }

    .header__btn {
        margin-left: 20px;
    }

    .main {
        padding-top: 70px;
        height: 433px;
        margin-bottom: 80px;
    }

    .main__image {
        right: -10px;
        top: 40px;
    }

    .main__image img {
        width: 36em;
        height: auto;
    }

    .benefits-section {
        margin-bottom: 80px;
    }

    .benefits__item {
        flex: 0 0 33.33%;
        max-width: 33.33%
    }

    .budget-form {
        padding: 20px;
        background-size: 140px auto;
    }

    .budget-form__inner {
        padding: 25px;
    }

    .budget-section__content {
        flex: 0 0 54%;
        max-width: 54%;
        margin-right: 4%;
    }

    .budget-section__aside {
        padding-top: 20px;
    }

    .budget__title {
        margin-bottom: 27px;
    }

    .budget__item {
        padding-left: 72px;
        min-height: 55px;
        margin-bottom: 25px;
    }

    .budget__item-num {
        width: 55px;
        height: 55px;
    }

    .budget__item-num img {
        width: 20px;
        height: auto;
    }

    .budget__item-title {
        margin-bottom: 10px;
    }

    .budget__item-text {
        font-size: 16px;
        line-height: 18px;
    }

    .budget-section {
        margin-bottom: 70px;
    }

    .price-list__header {
        flex: 0 0 200px;
        max-width: 200px;
        margin-right: 10px;
    }

    .price-list__description-wrapper {
        padding: 10px;
        padding-left: 210px;
    }

    .price-list__item-text {
        font-size: 1em;
        margin-bottom: 4px;
    }

    .services-section__bg {
        width: 1100px;
    }

    .price-section {
        margin-bottom: 72px;
    }

    .service-card-inner {
        min-height: 250px;
        padding: 15px 15px 55px;
    }

    .services-section {
        padding-top: 170px;
        margin-bottom: 80px;
    }

    .services__item:nth-child(4) .service-card__num,
    .services__item:nth-child(5) .service-card__num {
        color: #E1EAFF;
    }

    .campaigns-price-section__content {
        max-width: 550px;
    }

    .campaigns-price-section {
        margin-bottom: 80px;
    }

    .cases-section__header {
        max-width: 46.875em;
    }

    .case-card {
        padding: 20px;
        min-height: 260px;
    }

    .case-card__image {
        left: -20px;
        bottom: -20px;
        width: 130px;
    }

    .case-card__data-item {
        margin-left: 38px;
        min-width: 76px;
    }

    .cases-section {
        margin-bottom: 60px;
    }

    .consultation__inner {
        padding: 24px 24px 20px;
    }

    .copyright-icon {
        width: 18px;
        height: 18px;
        position: relative;
        top: -1px;
    }

    .footer__logo img {
        width: 150px;
        height: auto;
    }

    .footer__contacts-list img {
        width: auto;
        height: 40px;
    }

    .footer__contacts-list a:not(:last-child) {
        margin-right: 15px;
    }

    .footer__contacts-title {
        margin-top: 20px;
    }

    .footer {
        padding: 120px 0 50px;
    }
}

@media (max-width: 767.98px) {
    body {
        background-image: url('../images/bg-header-mob.svg');
        background-size: 768px auto;
    }

    .popup-window__inner {
        padding: 20px;
    }

    .container {
        max-width: 540px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .header__logo {
        position: relative;
        top: 3px;
    }

    .logo img {
        width: 98px;
        height: auto;
    }

    .header__content {
        display: block;
        text-align: center;
        position: relative;
        top: 6px;
        width: 14em;
    }

    .header__phone {
        font-size: 17px;
    }

    .header__social-btn img {
        height: 32px;
        width: auto;
        margin: 5px 8px 0;
    }

    .header__btn {
        margin-left: 0;
        font-size: 14px;
        height: auto;
        padding: 6px 16px;
        display: block;
        margin-top: 2px;
        display: none;
    }

    .main {
        padding-top: 20px;
        height: 480px;
        margin-bottom: 70px;
    }

    .main__content {
        max-width: 320px;
        margin-bottom: 18px;
    }

    .main__content h1 {
        margin-bottom: 7px;
        font-size: 2em;
    }

    .main__content p {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .main__image {
        position: static;
        width: 312px;
        margin: 0 auto;
    }

    .main__image img {
        width: 100%;
    }

    .benefits-section__title {
        margin-bottom: 25px;
    }

    .benefits {
        margin: 0 -5px;
    }

    .benefits__item {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 5px;
        margin-bottom: 10px;
    }

    .benefits-card:before {
        border-radius: 13px;
    }

    .benefits-card__inner {
        padding: 32px 10px 25px;
        min-height: 157px;
    }

    .benefits-card__icon {
        width: 32px;
        height: 32px;
        margin: 0 auto 16px;
    }

    .benefits-card__title {
        font-size: 16px;
    }

    .benefits-card__text {
        font-size: 11px;
        margin: 0 auto;
        max-width: 11em;
    }

    .benefits-section {
        margin-bottom: 60px;
    }

    .budget-section {
        display: block;
        margin-bottom: 71px;
    }

    .budget-section__aside {
        padding-top: 0;
        margin-bottom: 62px;
    }

    .budget-section__content {
        max-width: none;
        margin: 0 -16px;
    }

    .budget-form {
        padding: 16px;
        background-size: 154px auto;
    }

    .budget-form__inner {
        padding: 34px 24px 40px;
    }

    .budget-form__title {
        margin-bottom: 18px;
        font-size: 16px;
        line-height: 19px;
        max-width: 14em;
    }

    .price-section__title {
        margin-bottom: 25px;
    }

    .price-list__content {
        display: block;
    }

    .price-list__header {
        max-width: none;
        margin-right: 0;
        height: 87px;
        margin-bottom: 5px;
    }

    .price-list__info {
        width: 50px;
        height: 46px;
    }

    .price-list__title {
        font-size: 16px;
        line-height: 20px;
        margin: 0 auto;
        max-width: 13.5em;
    }

    .price-list__inner {
        column-gap: 2px;
    }

    .price-list__item-text {
        font-size: 10px;
        margin-bottom: 5px;
        line-height: 1.2;
    }

    .price-list__item-price {
        font-size: 12px;
    }

    .price-list__item {
        height: 81px;
        padding: 0 10px;
    }

    .price-list__description-wrapper {
        padding: 10px;
        padding-top: 80px;
    }

    .price-section__footer {
        font-size: 14px;
        margin-top: 16px;
        max-width: 21em;
    }

    .price-section__footer strong {
        margin-bottom: 8px;
        font-size: 16px;
    }

    .services-section__bg {
        display: none;
    }

    .services-section {
        padding-top: 0;
        margin-bottom: 62px;
    }

    .services-section__title {
        margin-bottom: 11px;
    }

    .services-section__subtitle {
        margin-bottom: 25px;
        font-size: 18px;
    }

    .services {
        margin: 0 -5px;
        justify-content: center;
    }

    .services__item {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 5px;
        margin-bottom: 10px;
    }

    .service-card__num {
        color: #E1EAFF;
        right: 15px;
        bottom: 10px;
        font-size: 32px;
    }

    .service-card__text {
        font-size: 12px;
        line-height: 14px;
        word-break: break-word;
    }

    .service-card__title {
        font-size: 14px;
        margin-bottom: 6px;
        line-height: 16px;
    }

    .service-card-inner {
        min-height: 0;
        padding: 15px 12px 45px;
    }

    .campaigns-price-section__title {
        margin-bottom: 25px;
    }

    .campaigns-price-section__content:before,
    .campaigns-price-section__content:after {
        display: none;
    }

    .campaigns-price {
        margin: 0 -5px;
    }

    .campaigns-price__col {
        padding: 0 5px;
    }

    .campaigns-price__col-title {
        font-size: 11px;
        line-height: 1.3;
    }

    .campaigns-price__col-header {
        height: 70px;
        border-radius: 10px;
        margin-bottom: 10px;
    }

    .campaigns-price__col-content:before {
        border-radius: 10px;
    }

    .campaigns-price__list {
        font-size: 10px;
        line-height: 1.23;
        padding: 27px 10px 32px;
    }

    .campaigns-price__list-item {
        margin-bottom: 22px;
    }

    .campaigns-price__list-price {
        margin-top: 9px;
        font-size: 13px;
    }

    .campaigns-price-section__content:before {
        width: 104px;
        height: 84px;
        left: -47px;
        bottom: 22px;
    }

    .campaigns-price-section__content:after {
        width: 106px;
        height: 157px;
        right: -58px;
        top: 75px;
    }

    .campaigns-price-section__footer {
        margin-top: 11px;
        font-size: 11px;
    }

    .campaigns-price-section {
        margin-bottom: 70px;
    }

    .cases-section__title {
        margin-bottom: 11px;
    }

    .cases-section__subtitle {
        font-size: 18px;
        margin: 0 auto 24px;
        max-width: 16em;
    }

    .cases {
        margin: 0 -5px;
    }

    .cases__item {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 5px;
        margin-bottom: 20px;
    }

    .cases__item:nth-child(3) {
        order: 1;
    }

    .case-card {
        padding: 25px 20px 28px;
        min-height: 0;
        border-radius: 10px;
    }

    .case-card__title {
        font-size: 1.3em;
        margin-bottom: 8px;
    }

    .case-card__text {
        font-size: 1.1em;
        line-height: 1.3;
    }

    .case-card__text p {
        margin-bottom: 6px;
    }

    .case-card__content {
        margin-bottom: 21px;
        min-height: 105px;
    }

    .case-card__data {
        
    }

    .case-card__data-item {
        
    }

    .case-card__data-value {
        font-size: 2.3em;
    }

    .case-card__data-text {
        line-height: 1.2;
        font-size: 11px;
    }

    .cases-section {
        margin-bottom: 56px;
    }

    .consultation__title {
        font-size: 16px;
        line-height: 19px;
        margin-bottom: 15px;
    }

    .consultation__row {
        display: block;
    }

    .consultation__col {
        width: auto !important;
    }

    .footer {
        padding: 125px 0 72px;
        font-size: 16px;
        line-height: 23px;
    }

    .footer__logo {
        margin-bottom: 23px;
    }

    .footer__logo img {
        width: 200px;
    }

    .footer__content p {
        margin-bottom: 6px;
    }

    .footer__content .row > * {
        margin-bottom: 18px;
    }

    .footer__contacts-title {
        margin-top: 10px;
        font-size: 14px;
    }
}

@media (max-width: 575.98px) {
    .container {
        max-width: none;
    }
}