/* Home page "call block" (Ready to find the right equipment?)
   - same background as the stats block
   - glass buttons, both the same size
   - buttons stacked, on the right in English and on the left in Arabic
     (browser zoom above ~80%, i.e. viewports narrower than 2400px);
     wider viewports keep the two buttons side by side */

.w3l-call-to-action-6.home-call,
[data-theme="dark"] .w3l-call-to-action-6.home-call,
html[data-theme="light"] .w3l-call-to-action-6.home-call {
    background: linear-gradient(135deg, #6b1220 0%, #111111 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
}

.home-call .right-content-call {
    flex: 0 0 auto;
    width: min(100%, 280px);
    margin-inline-start: auto;
}

.home-call .right-content-call .buttons {
    display: flex !important;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start !important;
    gap: 14px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.home-call .right-content-call .buttons li {
    display: block;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* the two glass buttons: identical size */
.home-call .right-content-call .phone-sec,
.home-call .right-content-call .btn.btn-style-2 {
    box-sizing: border-box;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100% !important;
    height: 56px;
    min-height: 56px;
    margin: 0 !important;
    padding: 0 22px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255, 255, 255, .34) !important;
    background: rgba(255, 255, 255, .12) !important;
    -webkit-backdrop-filter: blur(16px) saturate(170%);
    backdrop-filter: blur(16px) saturate(170%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 10px 28px rgba(0, 0, 0, .28) !important;
    color: #fff !important;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    text-transform: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.home-call .right-content-call .phone-sec:hover,
.home-call .right-content-call .phone-sec:focus-within,
.home-call .right-content-call .btn.btn-style-2:hover,
.home-call .right-content-call .btn.btn-style-2:focus-visible {
    background: rgba(255, 255, 255, .22) !important;
    border-color: rgba(255, 255, 255, .6) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 14px 34px rgba(0, 0, 0, .34) !important;
    transform: translateY(-2px);
    outline: none;
}

.home-call .right-content-call .phone-sec i {
    flex: 0 0 auto;
    font-size: 20px;
    color: #fff;
    transform: none;
}

.home-call .right-content-call .phone-sec a.call-style-w3,
.home-call .right-content-call .phone-sec a.call-style-w3:hover {
    color: #fff !important;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    direction: ltr;
    unicode-bidi: isolate;
}

/* the whole phone button is clickable, not only the number */
.home-call .right-content-call .phone-sec a.call-style-w3::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

/* Arabic: older RTL rules force a row; keep the stack */
html[dir="rtl"] .home-call .right-content-call .buttons {
    flex-direction: column;
    justify-content: flex-start;
}

/* very wide viewports (browser zoomed out below ~80%): two buttons side by side */
@media (min-width: 2400px) {
    .home-call .right-content-call {
        width: auto;
    }

    .home-call .right-content-call .buttons {
        flex-direction: row;
        flex-wrap: nowrap;
        width: auto;
    }

    html[dir="rtl"] .home-call .right-content-call .buttons,
    .home-call .right-content-call .buttons {
        flex-direction: row;
    }

    .home-call .right-content-call .buttons li {
        width: auto;
    }

    .home-call .right-content-call .phone-sec,
    .home-call .right-content-call .btn.btn-style-2 {
        width: 260px !important;
    }
}

/* tablets / phones: stacked, same size, aligned to the text side */
@media (max-width: 991px) {
    .home-call .right-content-call {
        width: min(100%, 320px);
        margin-inline-start: 0;
    }
}
