/* ============================================================
   MARRC PREMIUM FOOTER V3
   Dedicated cache-busted public footer stylesheet
   ============================================================ */

html body footer.footer.marrc-global-footer,
body footer.marrc-global-footer {
    position: relative !important;

    display: grid !important;

    grid-template-columns:
        minmax(310px, 0.95fr)
        minmax(500px, 1.65fr)
        minmax(240px, 0.70fr) !important;

    grid-template-areas:
        "company navigation language"
        "company navigation language" !important;

    align-items: start !important;

    column-gap: 52px !important;
    row-gap: 20px !important;

    width: calc(100% - 32px) !important;
    max-width: 1600px !important;

    min-height: 0 !important;
    height: auto !important;

    margin: 42px 16px 16px !important;
    padding: 44px 50px 34px !important;

    box-sizing: border-box !important;

    background:
        radial-gradient(
            circle at 8% 0%,
            rgba(212,175,55,0.12),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 18%,
            rgba(62,110,168,0.13),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #0a162b 0%,
            #111d32 50%,
            #182436 100%
        ) !important;

    color: #ffffff !important;

    border: 1px solid rgba(255,255,255,0.10) !important;
    border-top: 1px solid rgba(220,184,77,0.62) !important;

    border-radius: 22px !important;

    box-shadow:
        0 20px 55px rgba(3,10,24,0.25),
        inset 0 1px 0 rgba(255,255,255,0.045) !important;

    overflow: hidden !important;

    font-family:
        Inter,
        Poppins,
        "Segoe UI",
        Arial,
        sans-serif !important;
}

/* Gold top line */
html body footer.footer.marrc-global-footer::before,
body footer.marrc-global-footer::before {
    content: "" !important;

    position: absolute !important;

    left: 0 !important;
    right: 0 !important;
    top: 0 !important;

    height: 2px !important;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(212,175,55,0.55) 12%,
            #e6c765 50%,
            rgba(212,175,55,0.55) 88%,
            transparent 100%
        ) !important;

    pointer-events: none !important;
}

/* Decorative glow */
html body footer.footer.marrc-global-footer::after,
body footer.marrc-global-footer::after {
    content: "" !important;

    position: absolute !important;

    width: 420px !important;
    height: 420px !important;

    right: -210px !important;
    bottom: -240px !important;

    border-radius: 50% !important;

    background:
        radial-gradient(
            circle,
            rgba(212,175,55,0.075) 0%,
            rgba(212,175,55,0) 70%
        ) !important;

    pointer-events: none !important;
}

/* ============================================================
   COMPANY AREA
   ============================================================ */

html body footer.footer.marrc-global-footer > div:first-child,
body footer.marrc-global-footer > div:first-child {
    grid-area: company !important;

    position: relative !important;
    z-index: 2 !important;

    width: 100% !important;
    max-width: 380px !important;

    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;
}

html body footer.footer.marrc-global-footer > div:first-child strong,
body footer.marrc-global-footer > div:first-child strong {
    display: block !important;

    width: auto !important;
    max-width: 380px !important;

    margin: 0 0 17px !important;
    padding: 0 !important;

    color: #ffffff !important;
    opacity: 1 !important;

    font-family:
        Inter,
        Poppins,
        "Segoe UI",
        Arial,
        sans-serif !important;

    font-size: 1.38rem !important;
    font-weight: 800 !important;

    line-height: 1.35 !important;
    letter-spacing: -0.018em !important;

    text-shadow:
        0 2px 14px rgba(0,0,0,0.20) !important;
}

html body footer.footer.marrc-global-footer > div:first-child strong::after,
body footer.marrc-global-footer > div:first-child strong::after {
    content: "" !important;

    display: block !important;

    width: 60px !important;
    height: 3px !important;

    margin-top: 14px !important;

    border-radius: 999px !important;

    background:
        linear-gradient(
            90deg,
            #cfae3a,
            #f3d776
        ) !important;
}

html body footer.footer.marrc-global-footer #footerInfo,
body footer.marrc-global-footer #footerInfo {
    display: block !important;

    width: 100% !important;
    max-width: 370px !important;

    margin: 0 !important;
    padding: 0 !important;

    color: rgba(255,255,255,0.88) !important;
    opacity: 1 !important;

    font-family:
        Inter,
        Poppins,
        "Segoe UI",
        Arial,
        sans-serif !important;

    font-size: 0.95rem !important;
    font-weight: 500 !important;

    line-height: 1.85 !important;
    letter-spacing: 0.005em !important;

    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

html body footer.footer.marrc-global-footer .footer-copyright,
body footer.marrc-global-footer .footer-copyright {
    display: block !important;

    margin: 19px 0 0 !important;
    padding: 0 !important;

    color: rgba(255,255,255,0.55) !important;
    opacity: 1 !important;

    font-family:
        Inter,
        Poppins,
        "Segoe UI",
        Arial,
        sans-serif !important;

    font-size: 0.80rem !important;
    font-weight: 500 !important;

    line-height: 1.6 !important;
}

/* ============================================================
   NAVIGATION AREA
   ============================================================ */

html body footer.footer.marrc-global-footer .footer-links,
body footer.marrc-global-footer .footer-links {
    grid-area: navigation !important;

    position: relative !important;
    z-index: 2 !important;

    display: grid !important;

    grid-template-columns:
        repeat(4, minmax(115px, 1fr)) !important;

    align-content: start !important;

    width: 100% !important;
    max-width: none !important;

    min-width: 0 !important;

    gap: 10px 22px !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;
}

html body footer.footer.marrc-global-footer .footer-links::before,
body footer.marrc-global-footer .footer-links::before {
    content: "SITE NAVIGATION" !important;

    grid-column: 1 / -1 !important;

    display: block !important;

    margin: 0 0 8px !important;
    padding: 0 !important;

    color: #dfbd58 !important;
    opacity: 1 !important;

    font-family:
        Inter,
        Poppins,
        "Segoe UI",
        Arial,
        sans-serif !important;

    font-size: 0.68rem !important;
    font-weight: 800 !important;

    line-height: 1.2 !important;

    letter-spacing: 0.17em !important;
}

html body footer.footer.marrc-global-footer .footer-links a,
body footer.marrc-global-footer .footer-links a {
    position: relative !important;

    display: flex !important;
    align-items: center !important;

    min-width: 0 !important;
    min-height: 34px !important;

    margin: 0 !important;
    padding: 6px 0 6px 14px !important;

    box-sizing: border-box !important;

    color: rgba(255,255,255,0.90) !important;
    opacity: 1 !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    font-family:
        Inter,
        Poppins,
        "Segoe UI",
        Arial,
        sans-serif !important;

    font-size: 0.90rem !important;
    font-weight: 650 !important;

    line-height: 1.35 !important;

    text-decoration: none !important;

    white-space: normal !important;

    transition:
        color .18s ease,
        transform .18s ease !important;
}

html body footer.footer.marrc-global-footer .footer-links a::before,
body footer.marrc-global-footer .footer-links a::before {
    content: "" !important;

    position: absolute !important;

    left: 0 !important;
    top: 50% !important;

    width: 3px !important;
    height: 0 !important;

    transform: translateY(-50%) !important;

    border-radius: 999px !important;

    background: #d7b442 !important;

    transition: height .18s ease !important;
}

html body footer.footer.marrc-global-footer .footer-links a:hover,
body footer.marrc-global-footer .footer-links a:hover {
    color: #ffffff !important;
    opacity: 1 !important;

    transform: translateX(4px) !important;
}

html body footer.footer.marrc-global-footer .footer-links a:hover::before,
body footer.marrc-global-footer .footer-links a:hover::before {
    height: 19px !important;
}

/* ============================================================
   LANGUAGE AREA
   ============================================================ */

html body footer.footer.marrc-global-footer .marrc-site-language-footer,
body footer.marrc-global-footer .marrc-site-language-footer {
    grid-area: language !important;

    position: relative !important;
    z-index: 2 !important;

    display: flex !important;

    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;

    width: 100% !important;
    max-width: 270px !important;

    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;
}

html body footer.footer.marrc-global-footer .marrc-site-language-footer::before,
body footer.marrc-global-footer .marrc-site-language-footer::before {
    content: "LANGUAGE" !important;

    display: block !important;

    margin: 0 0 11px !important;
    padding: 0 !important;

    color: #dfbd58 !important;
    opacity: 1 !important;

    font-family:
        Inter,
        Poppins,
        "Segoe UI",
        Arial,
        sans-serif !important;

    font-size: 0.68rem !important;
    font-weight: 800 !important;

    line-height: 1.2 !important;

    letter-spacing: 0.17em !important;
}

html body footer.footer.marrc-global-footer .marrc-site-language-footer select,
body footer.marrc-global-footer .marrc-site-language-footer select {
    display: block !important;

    width: 100% !important;
    max-width: 260px !important;
    min-height: 50px !important;

    margin: 0 !important;

    padding:
        0 44px 0 16px !important;

    box-sizing: border-box !important;

    color: #11213a !important;
    background: #ffffff !important;

    border:
        1px solid rgba(219,184,76,0.90) !important;

    border-radius: 13px !important;

    font-family:
        Inter,
        Poppins,
        "Segoe UI",
        Arial,
        sans-serif !important;

    font-size: 0.94rem !important;
    font-weight: 650 !important;

    line-height: 1.2 !important;

    box-shadow:
        0 10px 25px rgba(0,0,0,0.18) !important;

    outline: none !important;
}

html body footer.footer.marrc-global-footer .marrc-site-language-footer select:focus,
body footer.marrc-global-footer .marrc-site-language-footer select:focus {
    border-color: #f0d370 !important;

    box-shadow:
        0 0 0 3px rgba(219,184,76,0.20),
        0 10px 25px rgba(0,0,0,0.18) !important;
}

/* Selector wrapper itself must stay visible */
html body footer.footer.marrc-global-footer .marrc-site-language-footer *,
body footer.marrc-global-footer .marrc-site-language-footer * {
    opacity: 1 !important;
}

/* ============================================================
   HARD OVERRIDE — eliminates old horizontal footer behavior
   ============================================================ */

html body footer.footer.marrc-global-footer .footer-links {
    flex-direction: unset !important;
    flex-wrap: unset !important;
    justify-content: unset !important;
    align-items: unset !important;
}

/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1100px) {

    html body footer.footer.marrc-global-footer,
    body footer.marrc-global-footer {
        grid-template-columns:
            minmax(270px, 0.9fr)
            minmax(380px, 1.5fr)
            minmax(210px, 0.7fr) !important;

        column-gap: 32px !important;

        padding: 40px 34px 30px !important;
    }

    html body footer.footer.marrc-global-footer .footer-links,
    body footer.marrc-global-footer .footer-links {
        grid-template-columns:
            repeat(3, minmax(110px, 1fr)) !important;

        column-gap: 18px !important;
    }
}

/* ============================================================
   MOBILE / TABLET
   ============================================================ */

@media (max-width: 820px) {

    html body footer.footer.marrc-global-footer,
    body footer.marrc-global-footer {
        grid-template-columns:
            1fr 1fr !important;

        grid-template-areas:
            "company company"
            "navigation language" !important;

        column-gap: 28px !important;

        padding: 38px 28px 28px !important;
    }

    html body footer.footer.marrc-global-footer .footer-links,
    body footer.marrc-global-footer .footer-links {
        grid-template-columns:
            repeat(2, minmax(125px, 1fr)) !important;
    }

    html body footer.footer.marrc-global-footer .marrc-site-language-footer,
    body footer.marrc-global-footer .marrc-site-language-footer {
        max-width: 100% !important;
    }
}

@media (max-width: 560px) {

    html body footer.footer.marrc-global-footer,
    body footer.marrc-global-footer {
        grid-template-columns: 1fr !important;

        grid-template-areas:
            "company"
            "navigation"
            "language" !important;

        width: calc(100% - 20px) !important;

        margin: 30px 10px 10px !important;

        padding: 32px 22px 25px !important;

        border-radius: 20px !important;
    }

    html body footer.footer.marrc-global-footer > div:first-child,
    body footer.marrc-global-footer > div:first-child {
        max-width: none !important;
    }

    html body footer.footer.marrc-global-footer .footer-links,
    body footer.marrc-global-footer .footer-links {
        grid-template-columns:
            repeat(2, minmax(120px, 1fr)) !important;

        column-gap: 16px !important;
    }

    html body footer.footer.marrc-global-footer .marrc-site-language-footer,
    body footer.marrc-global-footer .marrc-site-language-footer {
        width: 100% !important;
        max-width: none !important;
    }

    html body footer.footer.marrc-global-footer .marrc-site-language-footer select,
    body footer.marrc-global-footer .marrc-site-language-footer select {
        width: 100% !important;
        max-width: none !important;
    }
}

@media (max-width: 390px) {

    html body footer.footer.marrc-global-footer .footer-links,
    body footer.marrc-global-footer .footer-links {
        grid-template-columns: 1fr !important;
    }
}
