/* =====================================================
   SECTION MOUSE CTA
===================================================== */

#sectionMouseCta {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;
    will-change: transform;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

#sectionMouseCta.is-visible {
    opacity: 1;
    visibility: visible;
}

#sectionMouseCta .section-mouse-cta-inner {
    min-width: 220px;
    min-height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    padding: 13px 25px;

    border: 1px solid rgba(25, 25, 25, 0.7);
    border-radius: 100px;

    background: rgba(255, 255, 255, 0.84);
    color: #171717;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transform: scale(0.78);
    transform-origin: center;

    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease;
}

#sectionMouseCta.is-visible .section-mouse-cta-inner {
    transform: scale(1);
}

.section-mouse-cta-text {
    font-family: "Inter", Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.section-mouse-cta-icon {
    width: 27px;
    height: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(25, 25, 25, 0.08);

    font-size: 14px;
    line-height: 1;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

/* Light theme */
#sectionMouseCta[data-theme="light"] .section-mouse-cta-inner {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(30, 30, 30, 0.7);
    color: #171717;
}

/* Dark theme */
#sectionMouseCta[data-theme="dark"] .section-mouse-cta-inner {
    background: rgba(23, 23, 23, 0.88);
    border-color: rgba(255, 255, 255, 0.65);
    color: #ffffff;
}

#sectionMouseCta[data-theme="dark"] .section-mouse-cta-icon {
    background: rgba(255, 255, 255, 0.14);
}

/* Glass theme */
#sectionMouseCta[data-theme="glass"] .section-mouse-cta-inner {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.65);
    color: #ffffff;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

#sectionMouseCta[data-theme="glass"] .section-mouse-cta-icon {
    background: rgba(255, 255, 255, 0.2);
}

/* Show that the section is clickable */
.mouse-cta-section[data-mouse-url] {
    cursor: pointer;
}

/* Do not show the mouse CTA on tablets and mobile */
@media (hover: none), (pointer: coarse), (max-width: 767px) {
    #sectionMouseCta {
        display: none !important;
    }

    .mouse-cta-section[data-mouse-url] {
        cursor: auto;
    }
}

/* Smaller desktop button */
@media (min-width: 768px) and (max-width: 1100px) {
    #sectionMouseCta .section-mouse-cta-inner {
        min-width: 190px;
        min-height: 50px;
        padding: 11px 21px;
    }

    .section-mouse-cta-text {
        font-size: 14px;
    }
}
/* =====================================================
   MOUSE CTA ELEMENTOR AND HYBRID-LAPTOP FIX
===================================================== */

html body > #sectionMouseCta {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;

    z-index: 2147483100 !important;

    margin: 0 !important;
    isolation: isolate;
}

/*
 * Override the old pointer:coarse rule on touch-enabled
 * laptops when a real mouse is also available.
 */
@media (min-width: 768px) and (any-hover: hover) and (any-pointer: fine) {
    html body > #sectionMouseCta {
        display: block !important;
    }
}

@media (max-width: 767px),
       (any-hover: none) and (any-pointer: coarse) {
    html body > #sectionMouseCta {
        display: none !important;
    }
}
