/* =========================
   COMMON — Shared Navbar & Footer
   Extracted from homepage.css
   ========================= */

/* Skip-to-main-content link (accessibility) */
.skip-to-main {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 99999;
}
.skip-to-main:focus {
    position: fixed;
    top: 10px;
    left: 10px;
    width: auto;
    height: auto;
    padding: 12px 24px;
    background: #004942;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@600;700;800;900&display=swap");

/* =========================================================
   NAV
   ========================================================= */

/* base nav */
.mp-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: background 0.3s, backdrop-filter 0.3s, -webkit-backdrop-filter 0.3s;
}
.mp-nav.scrolled {
    background: rgba(0, 41, 37, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.mp-nav-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 28px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.mp-nav-brand {
    font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0;
    text-decoration: none;
    color: #fff;
    font-size: 40px;
    line-height: 1;
}

.mp-nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.mp-nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    padding: 6px 8px;
    border-radius: 8px;
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: opacity 0.2s;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.mp-nav-link:hover,
.mp-nav-link:focus {
    opacity: 0.8;
    color: #fff;
    background: transparent;
    outline: none;
}

/* dropdown desktop */
.mp-nav-dd {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.mp-nav-dd-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.mp-nav-dd-btn svg {
    width: 14px;
    height: 10px;
    transition: transform 0.2s;
}
.mp-nav-dd:hover .mp-nav-dd-btn svg {
    transform: rotate(180deg);
}

.mp-nav-dd-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translate(-50%, 8px);
    opacity: 0;
    pointer-events: none;

    background: #002925;
    border-radius: 12px;
    padding: 8px;
    min-width: 180px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.18s ease;
}

.mp-nav-dd-item {
    display: block;
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    padding: 10px 14px;
    border-radius: 8px;
    white-space: nowrap;
    transition: background 0.15s;
}

.mp-nav-dd-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.mp-nav-dd:hover .mp-nav-dd-panel,
.mp-nav-dd:focus-within .mp-nav-dd-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

/* login */
.mp-nav-login {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 20px;
    padding: 4px 4px 4px 20px;
    border-radius: 999px;
    background: linear-gradient(180deg, #001f3d 0%, #000 100%);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    transition: opacity 0.2s;
}
.mp-nav-login:hover {
    opacity: 0.9;
    color: #fff;
}

.mp-nav-login-ic {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #fff;
    overflow: hidden;
}
.mp-nav-login-ic svg {
    width: 14px;
    height: 10px;
}

/* toggle */
.mp-nav-toggle {
    display: none;
    width: 42px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(8px);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-direction: column;
}
.mp-nav-toggle span {
    width: 18px;
    height: 2px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
}

/* =========================
   MOBILE MENU
   ========================= */
@media (max-width: 768px) {
    .mp-nav-inner {
        padding: 14px 16px;
    }
    .mp-nav-toggle {
        display: flex;
    }

    /* menu sheet */
    .mp-nav-menu {
        position: absolute;
        top: 62px;
        left: 14px;
        right: 14px;

        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;

        padding: 14px;
        border-radius: 16px;

        background: #002925;
        border: 1px solid rgba(255, 255, 255, 0.18);
    }

    #mpNav.is-open .mp-nav-menu {
        display: flex;
    }

    /* each row as full-width pill */
    .mp-nav-link {
        width: 100%;
        text-align: left;
        font-size: 18px;
        padding: 14px 14px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
    }

    .mp-nav-link:hover,
    .mp-nav-link:focus {
        background: rgba(255, 255, 255, 0.16);
        color: #fff;
        opacity: 1;
    }

    /* dropdown wrapper becomes a block */
    .mp-nav-dd {
        display: block;
        width: 100%;
    }

    /* hide submenu by default on mobile */
    .mp-nav-dd-panel {
        display: none !important;
        position: static !important;
        transform: none !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin-top: 10px !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    /* show submenu only when toggled open via JS */
    .mp-nav-dd.is-open .mp-nav-dd-panel {
        display: block !important;
    }

    /* submenu items: simple stacked pills */
    .mp-nav-dd-item {
        display: block;
        width: 100%;
        padding: 12px 14px;
        border-radius: 14px;
        margin-top: 10px;

        color: rgba(255, 255, 255, 0.92) !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.14) !important;
        font-size: 16px;
    }

    .mp-nav-dd-item:hover {
        background: rgba(255, 255, 255, 0.14) !important;
    }

    /* login full width */
    .mp-nav-login {
        width: 100%;
        justify-content: space-between;
        padding: 14px 14px;
        border-radius: 18px;
        font-size: 18px;
    }
}

/* extra-tight phones */
@media (max-width: 480px) {
    .mp-nav-menu {
        left: 12px;
        right: 12px;
        padding: 12px;
    }
    .mp-nav-link {
        padding: 13px 13px;
        border-radius: 13px;
    }
    .mp-nav-dd-item {
        padding: 12px 13px;
        border-radius: 13px;
    }
    .mp-nav-brand {
        font-size: 20px !important;
    }
}

/* =========================================================
   FOOTER
   ========================================================= */
/* Ensure footer renders consistently regardless of page-level box-sizing resets */
.mp-footer,
.mp-footer *,
.mp-footer *::before,
.mp-footer *::after {
    box-sizing: content-box;
}

.mp-footer {
    position: relative;
    padding: 7px 18px 10px;
    min-height: 640px;
    color: #fff;

    background-image: url("../images/mainpage/footer/full-bg-foooter.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* subtle dark overlay so text stays readable */
.mp-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            900px 420px at 18% 30%,
            rgba(0, 0, 0, 0.08),
            rgba(0, 0, 0, 0.55) 70%
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.25) 0%,
            rgba(0, 0, 0, 0.55) 100%
        );
    pointer-events: none;
}

.mp-footer-inner {
    position: relative;
    width: min(1180px, 100%);
    margin: 60px auto;
    min-height: 520px;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 28px;
    align-items: start;
}
/* LEFT */
.mp-footer-left {
    padding-top: 24px;
    max-width: 640px;
}

.mp-footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    background: #fff;
    color: #0b1a16;
    text-decoration: none;

    border-radius: 10px;
    padding: 10px 12px;
    font-weight: 800;
    font-size: 14px;

    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.25);
}

.mp-footer-cta-ic {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #0b1a16;
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 1000;
    line-height: 1;
}

.mp-footer-title {
    margin: 18px 0 0;
    font-size: clamp(34px, 4.2vw, 54px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.2px;
}

.mp-footer-socials {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.mp-footer-social {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: black;
    border: 1px solid rgba(255, 255, 255, 0.28);
    display: grid;
    place-items: center;
    text-decoration: none;
}

.mp-footer-social img {
    width: 23px;
    height: 23px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
}

/* RIGHT CARD */
.mp-footer-card {
    border-radius: 32px;
    border: 1px solid #cdf5fd;
    background: linear-gradient(180deg, #004942 0%, #002925 100%);
    box-shadow: 0 0 17px 0 rgba(255, 255, 255, 0) inset;

    padding: 26px 26px 22px;

    min-height: 360px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    position: relative;
    right: -54px;
    top: 18px;
}

.mp-footer-card-brand {
    font-size: 22px;
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
}
.mp-footer-llc {
    font-weight: 700;
    opacity: 0.85;
    margin-left: 4px;
}

.mp-footer-links {
    margin-top: 16px;
    display: grid;
    gap: 12px;
}

.mp-footer-link {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    width: fit-content;
    line-height: 1.25;
    transition:
        opacity 0.15s ease,
        transform 0.15s ease;
}

.mp-footer-link:hover {
    opacity: 1;
    transform: translateX(1px);
}

/* active underline */
.mp-footer-link--active {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
}

/* optional: make only "Inside Accrivo" feel like a heading */
.mp-footer-links .mp-footer-link:first-child {
    font-size: 17.5px;
    font-weight: 500;
}

/* FOOTER CONTACT — bigger text */
.mp-footer-contact {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(205, 245, 253, 0.22);
    display: grid;
    gap: 14px;
}

.mp-footer-contact-row {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 12px;
    align-items: start;

    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.95);
}

/* icon bigger */
.mp-footer-contact-ic {
    font-size: 18px;
    line-height: 1;
    transform: translateY(2px);
    opacity: 1;
}

/* WATERMARK */
.mp-footer-watermark {
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);

    width: 100%;
    text-align: center;

    font-size: clamp(48px, 7.2vw, 110px);
    font-weight: 900;
    letter-spacing: 1px;

    color: #cdf5fd;
    opacity: 0.35;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

/* Responsive — Tablet landscape: reset card offsets */
@media (max-width: 1050px) {
    .mp-footer-card {
        right: 0 !important;
        top: 0 !important;
    }
}

/* Responsive — Tablet portrait: stack to single column */
@media (max-width: 900px) {
    .mp-footer {
        min-height: unset !important;
        padding: 30px 20px 70px !important;
        overflow: hidden !important;
    }

    .mp-footer-inner {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        min-height: unset !important;
        margin: 24px auto !important;
    }

    .mp-footer-left {
        max-width: 100% !important;
        padding-top: 12px;
    }

    .mp-footer-card {
        width: 100% !important;
        max-width: 100% !important;
        right: 0 !important;
        top: 0 !important;
        min-height: unset !important;
        position: relative !important;
        box-sizing: border-box !important;
    }

    .mp-footer-watermark {
        bottom: -14px;
        opacity: 0.28;
        white-space: normal;
        padding: 0 14px;
    }
}

/* Responsive — Small tablet */
@media (max-width: 768px) {
    .mp-footer {
        padding: 24px 16px 70px !important;
    }

    .mp-footer-inner {
        margin: 18px auto !important;
        gap: 20px !important;
    }

    .mp-footer-title {
        margin-top: 14px !important;
        font-size: 30px !important;
        line-height: 1.1 !important;
    }

    .mp-footer-card {
        border-radius: 24px !important;
        padding: 22px 22px 18px !important;
    }

    .mp-footer-card-brand {
        font-size: 20px !important;
    }

    .mp-footer-link {
        font-size: 15px !important;
    }

    .mp-footer-contact-row {
        font-size: 14px !important;
    }

    .mp-footer-watermark {
        font-size: 52px !important;
    }
}

/* Responsive — Mobile */
@media (max-width: 480px) {
    .mp-footer {
        padding: 22px 14px 78px !important;
        min-height: unset !important;
        overflow: hidden !important;
    }

    .mp-footer-inner {
        width: 100% !important;
        max-width: 390px !important;
        margin: 0 auto !important;

        min-height: unset !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        align-items: start !important;
    }

    .mp-footer-inner > * {
        position: relative !important;
        z-index: 2 !important;
    }

    .mp-footer-left {
        padding-top: 6px !important;
        max-width: 100% !important;
    }

    .mp-footer-cta {
        font-size: 13px !important;
        padding: 10px 12px !important;
        border-radius: 10px !important;
    }

    .mp-footer-title {
        margin-top: 14px !important;
        font-size: 28px !important;
        line-height: 1.1 !important;
    }

    .mp-footer-socials {
        margin-top: 12px !important;
        gap: 10px !important;
    }

    .mp-footer-social {
        width: 34px !important;
        height: 34px !important;
    }

    .mp-footer-social img {
        width: 20px !important;
        height: 20px !important;
    }

    .mp-footer-card {
        width: 100% !important;
        max-width: 100% !important;
        min-height: unset !important;

        position: relative !important;
        right: auto !important;
        top: auto !important;

        margin: 6px auto 0 !important;
        padding: 18px 18px 16px !important;
        border-radius: 22px !important;
    }

    .mp-footer-card-brand {
        font-size: 20px !important;
    }

    .mp-footer-links {
        margin-top: 12px !important;
        gap: 12px !important;
    }

    .mp-footer-link {
        font-size: 15px !important;
        font-weight: 700 !important;
    }

    .mp-footer-contact {
        margin-top: 14px !important;
        padding-top: 14px !important;
        gap: 12px !important;
    }

    .mp-footer-contact-row {
        grid-template-columns: 20px 1fr !important;
        gap: 10px !important;

        font-size: 14px !important;
        font-weight: 700 !important;
        line-height: 1.45 !important;
    }

    .mp-footer-contact-ic {
        font-size: 16px !important;
        transform: translateY(2px) !important;
    }

    .mp-footer-watermark {
        position: absolute !important;
        left: 50% !important;
        bottom: 12px !important;
        transform: translateX(-50%) !important;

        z-index: 1 !important;
        font-size: 46px !important;
        opacity: 0.2 !important;
        white-space: nowrap !important;
        pointer-events: none !important;
    }
}
