
/* ==========================================
   ABOUT US - INTELLIGENT GOLD CURSOR
========================================== */

.abu-cursor {
    position: fixed;
    top: 0;
    left: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 10px;
    height: 10px;

    background: #b59b6a;
    border: 1px solid transparent;
    border-radius: 50%;

    transform: translate(-50%, -50%);

    pointer-events: none;
    z-index: 2147483647;

    opacity: 0;

    box-shadow:
        0 0 12px rgba(181,155,106,0.30);

    transition:
        width 0.28s ease,
        height 0.28s ease,
        opacity 0.18s ease,
        background 0.28s ease,
        border-color 0.28s ease;
}

/* CURSOR VISIBLE */

.abu-cursor.is-visible {
    opacity: 1;
}

/* ==========================================
   GOLD RING ON LINKS AND BUTTONS
========================================== */

.abu-cursor.is-hovering {
    width: 44px;
    height: 44px;

    background: rgba(181,155,106,0.14);
    border-color: #b59b6a;

    box-shadow:
        0 0 18px rgba(181,155,106,0.20);
}

/* ==========================================
   PARTNERS IN SUCCESS
========================================== */

.abu-cursor.is-partner {
    width: 70px;
    height: 70px;

    background: #b59b6a;
    border-color: #dbc395;

    box-shadow:
        0 0 22px rgba(181,155,106,0.30);
}

/* ==========================================
   INSTAGRAM AND FACEBOOK
========================================== */

.abu-cursor.is-visit {
    width: 58px;
    height: 58px;

    background: #b59b6a;
    border-color: #dbc395;

    box-shadow:
        0 0 20px rgba(181,155,106,0.27);
}

/* ==========================================
   CURSOR TEXT
========================================== */

.abu-cursor-label {
    color: #101c2a;

    font-family: "DM Sans", sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;

    opacity: 0;
    transition: opacity 0.2s ease;
}

.abu-cursor.is-partner .abu-cursor-label,
.abu-cursor.is-visit .abu-cursor-label {
    opacity: 1;
}

/* ==========================================
   HIDE SYSTEM CURSOR ON DESKTOP
========================================== */

@media (hover: hover) and (pointer: fine)
       and (prefers-reduced-motion: no-preference) {

    body.abu-cursor-enabled,
    body.abu-cursor-enabled * {
        cursor: none !important;
    }

    /* Normal text cursor in form fields */

    body.abu-cursor-enabled input,
    body.abu-cursor-enabled textarea,
    body.abu-cursor-enabled select {
        cursor: text !important;
    }

    /* Preserve normal interactions inside map */

    body.abu-cursor-enabled .about-map-frame,
    body.abu-cursor-enabled .about-map-frame * {
        cursor: auto !important;
    }

    /* Native cursor while contact popup is open */

    body.abu-cursor-enabled:has(.ac-dialog[open]),
    body.abu-cursor-enabled:has(.ac-dialog[open]) * {
        cursor: auto !important;
    }

    body.abu-cursor-enabled:has(.ac-dialog[open]) input,
    body.abu-cursor-enabled:has(.ac-dialog[open]) textarea {
        cursor: text !important;
    }

    body.abu-cursor-enabled:has(.ac-dialog[open]) .abu-cursor {
        display: none !important;
    }
}

/* ==========================================
   MOBILE AND ACCESSIBILITY
========================================== */

@media (hover: none),
       (pointer: coarse),
       (prefers-reduced-motion: reduce) {

    .abu-cursor {
        display: none !important;
    }
}
