/* ==========================================================================
   Optivexa – fixes on top of the Framer design
   (loaded on every page after Framer's own styles)
   ========================================================================== */

/* 1. Mobile menu: all links white (some were Framer's default blue) -------- */
nav[data-framer-name="Mobile open"] a:not([data-framer-name="Basic"]),
nav[data-framer-name="Mobile open"] a:not([data-framer-name="Basic"]) * {
    --framer-link-text-color: #fff !important;
    --framer-link-hover-text-color: rgb(199, 254, 1) !important;
    color: #fff !important;
    text-decoration: none !important;
}

/* lime highlight on hover / tap */
nav[data-framer-name="Mobile open"] a:not([data-framer-name="Basic"]):hover * {
    color: rgb(199, 254, 1) !important;
}

/* hide the floating "Book a call" button while the mobile menu is open,
   so there aren't two "Book a call" buttons on screen */
body:has(nav[data-framer-name="Mobile open"]) .framer-yUHul {
    display: none !important;
}


/* 2. Footer on tablets: the Services / Socials columns were cut off -------- */
@media (min-width: 810px) and (max-width: 1199.98px) {
    footer [data-framer-name="Right section"] {
        gap: 28px !important;
        flex-wrap: wrap !important;
        row-gap: 30px !important;
    }
    footer [data-framer-name="Pages"],
    footer [data-framer-name="Links"],
    footer [data-framer-name="Socials"] {
        flex: 1 0 auto !important;
        min-width: max-content !important;
        width: auto !important;
    }
}
