.Book_a_Call {
    background: linear-gradient(to bottom, rgb(165, 164, 250), rgb(117, 132, 214));
    width: 100%;
    height: 700px;
    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    margin-top: 90px;
}
.Book_a_Call_Content {
    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;
}

.Book_a_Call_Content_pos {
    height: 217px;
}


.Book_a_Call_Header_CTA_Lockup{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 887px;
    height: 240px;
    margin-top: 31px;
    margin-bottom: 10px;

}
.Book_a_Call_h1{
    color: #FFFFFF;
    font-size: 80px;
    letter-spacing: -5px;
}
.Book_a_Call_h3{
    color: #FFFFFF;
    font-size: 20px;
    text-align: center;
}
.Book_a_Call_button{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 60px;
    height: 70px;
}

.button_Rocket_img{
    margin-right: 10px;
    margin-left: 10px;
    width: 16px;
    height: 16px;
}










.Book_a_Call_Illustration {
    width: 100%;
    height: 240px;
    position: relative;
    top: -18px;
}

.Book_a_Call_cart {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.Book_a_Call_ChatComponent1,
.Book_a_Call_ChatComponent2,
.Book_a_Call_ChatComponent3 {
    width: 200px;
    height: 80px;
    margin-bottom: 10px;
    position: relative;
    transition: transform 0.4s ease, z-index 0.4s ease;
    z-index: 1;
}

.Book_a_Call_ChatComponent1 { top: -55px; }
.Book_a_Call_ChatComponent2 { left: 4px; }
.Book_a_Call_ChatComponent3 {  top: 60px; }

/* Интеграции */
.Integration1, .Integration2, .Integration3 {
    width: 130px;
    height: 130px;
    position: absolute;
    left: 220px;
    top: 80px;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.3s ease, transform 0.3s ease;
}


/* Ракета */
.cart_Rocket_img {
    position: absolute;
    left: -60px;
    top: 10px;
    width: 120px;
    height: 120px;
    z-index: 2;
    transition: top 0.8s cubic-bezier(0.4, 2, 0.58, 1);
}

/* небольшая качалка вверх-вниз */
@keyframes bounceUpDown {
    0%   { transform: translateY(0); }
    25%  { transform: translateY(-35px); }
    50%  { transform: translateY(35px); }
    75%  { transform: translateY(-30px); }
    100% { transform: translateY(0); }
}

.cart_Rocket_img.bounce {
    animation: bounceUpDown 0.6s ease;
}

/* блок при фокусе */
.Book_a_Call_cart img.active {
    transform: scale(1.1);
    z-index: 5;
}
/* активное состояние */
.Integration1.active,
.Integration2.active,
.Integration3.active {
    opacity: 1;
    transform: scale(1);
    animation: shakeRotate 0.6s ease forwards; /* теперь фиксируем последний кадр */
}

/* тряска + вращение */
@keyframes shakeRotate {
    0%   { transform: translateX(0) scale(1) rotate(0deg); }
    25%  { transform: translateX(-15px) scale(1) rotate(15deg); }
    50%  { transform: translateX(20px) scale(1) rotate(30deg); }
    75%  { transform: translateX(-15px) scale(1) rotate(40deg); }
    100% { transform: translateX(0) scale(1) rotate(45deg); }
}


/* ========= Адаптация ========= */

/* Планшеты (до 1024px) */
@media (max-width: 1024px) {
    .Book_a_Call {
        height: auto;
        width: 100%;
    }

    .Book_a_Call_Header_CTA_Lockup {
        width: 100%;
        max-width: 700px;
        height: auto;
        margin-top: 20px;
        margin-bottom: 20px;
        padding: 0 ;
    }

    .Book_a_Call_h1 {
        font-size: 60px;
        letter-spacing: -3px;
        text-align: center;
    }

    .Book_a_Call_h3 {
        font-size: 18px;
        max-width: 90%;
    }

    .Book_a_Call_button {
        margin: 40px 0;
        height: 60px;
        width: 100%;
    }

    .Book_a_Call_Illustration {
        width: 420px;
        height: auto;
        margin-top: 20px;
    }

}

/* Телефоны (до 768px) */
@media (max-width: 768px) {


    .Book_a_Call_Header_CTA_Lockup {
        max-width: 100%;
        text-align: center;
    }

    .Book_a_Call_h1 {
        font-size: 40px;
        letter-spacing: -2px;
    }

    .Book_a_Call_h3 {
        font-size: 16px;
    }

    .Book_a_Call_button {
        margin: 30px 0;
        height: 55px;
        flex-direction: column;
    }

    .button_Rocket_img {
        width: 14px;
        height: 14px;
    }

    .Book_a_Call_Illustration {
        width: 280px;
        height: auto;
        top: 0;
    }

    .Book_a_Call_ChatComponent1,
    .Book_a_Call_ChatComponent2,
    .Book_a_Call_ChatComponent3 {
        width: 120px;
        height: 50px;
    }

    .Integration1,
    .Integration2,
    .Integration3 {
        width: 90px;
        height: 90px;
        left: 150px;
        top: 60px;
    }

    .cart_Rocket_img {
        width: 80px;
        height: 80px;
        left: -40px;
        top: 5px;
    }
    .Book_a_Call_ChatComponent1 { top: -40px; }
    .Book_a_Call_ChatComponent2 { left: 4px; }
    .Book_a_Call_ChatComponent3 {  top: 40px; }
}

/* Маленькие телефоны (до 480px) */
@media (max-width: 480px) {
    .Book_a_Call_h1 {
        font-size: 28px;
        letter-spacing: -1px;
    }

    .Book_a_Call_h3 {
        font-size: 14px;
    }

    .Book_a_Call_Illustration {
        width: 220px;
    }

    .Integration1,
    .Integration2,
    .Integration3 {
        width: 70px;
        height: 70px;
        left: 120px;
        top: 50px;
    }

    .cart_Rocket_img {
        width: 60px;
        height: 60px;
        left: -30px;
    }
}
