/* ===== КОНТЕЙНЕР ===== */
.widget-container {
    position: relative;
    max-width: 1000px;
    margin: -170px auto 10px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 15px;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 1;
}

/* ===== БЕЛЫЙ БЛОК ===== */
.floating-widget {
    flex: 0 1 700px;
    max-width: 670px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
    padding: 58px 28px 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    position: relative;
}

/* ===== КОНТЕНТ ===== */
.widget-content h2 {
    margin: 0 0 25px;
    font-size: 34px;
    font-weight: 500;
    color: #333;
}

.widget-content p {
    position: relative;
    max-width: 500px;
    margin: 40px auto 0;
    padding-left: 15px;
    font-size: 16px;
    line-height: 1.2;
    color: #555;
    text-align: left;
}

.widget-content p::before {
    content: "\f071";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: -15px;
    top: 0;
    font-size: 18px;
    color: #f00;
}

/* ===== КНОПКА ===== */
.btn-booking {
    display: inline-block;
    width: 220px;
    height: 50px;
    margin-top: 10px;
    background: #c7de4c;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    line-height: 51px;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
    transition: background-color .3s ease;
}

.btn-booking:hover {
    background: rgb(106, 206, 57);
}

/* ===== ИЗОБРАЖЕНИЯ ===== */
.widget-balls-layer,
.widget-image {
    position: absolute;
}

.widget-balls-layer {
    top: 100px;
    left: calc(50% - 200px);
    pointer-events: none;
    z-index: 5;
}

.widget-balls-layer img {
    width: 650px;
}

.widget-image {
    z-index: 2;
}

.widget-image img {
    width: 280px;
}



/* ===== POWER-БЛОК ===== */
.power-widget {
    position: relative;
    margin: 0 auto 20px;
    width: 710px;
    max-width: calc(100% - 40px);
    background: #f5f5f5;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-sizing: border-box;
    z-index: 1;
    transform: translateX(-140px);
}

.power-widget img {
    width: 90px;
}

.power-widget p {
    flex: 1;
    margin: 0;
    text-align: center;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
    color: #000;
}

.power-widget a.power-qr-link {
    display: inline-block;
}

.power-widget a.power-qr-link img {
    width: 90px;
}

/* ===== DESKTOP ===== */
@media (min-width: 1025px) {
    .floating-widget {
        margin-left: -280px;
    }

    .widget-image {
        right: -360px;
        bottom: -30px;
    }
}

/* ===== TABLET ===== */
@media (max-width: 1024px) {
    .widget-container {
        flex-direction: column;
        align-items: center;
        margin: -160px auto 20px;
    }

    .floating-widget {
        width: 100%;
        max-width: 700px;
        padding: 0px 16px 0px;
        flex-direction: column;
    }

    .widget-balls-layer {
        display: none;
    }

    .widget-image {
        position: static;
        order: -1;
        margin-bottom: 2px;
        text-align: center;
    }

    .widget-image img {
        width: 400px;
        max-width: 60%;
        margin: 0 auto;
    }

    .widget-content h2 {
        margin-top: 2px;
        font-size: 28px;
    }

    .widget-content p {
        margin-top: 10px;
        font-size: 15px;
        line-height: 1.4;
    }

    .power-widget {
        width: 100%;
        max-width: 700px;
        margin: 8px auto 24px;
        gap: 12px;
        transform: none;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .widget-container {
        padding: 0 16px;
    }

    .floating-widget {
        padding: 0px 40px;
    }

    .widget-image img {
        width: 250px;
        max-width: 70%;
        margin-bottom: 30px;
    }

    .widget-content h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .widget-content p {
        font-size: 14px;
        margin-top: 20px;
    }

    .btn-booking {
        width: 200px;
        height: 46px;
        line-height: 46px;
        font-size: 13px;
        margin-bottom: 30px;
    }
}