/* ── Hamburger Button ─────────────────────────────── */
.mob-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10001;
}

.mob-hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: #181C32;
    border-radius: 3px;
    transition: transform 0.35s ease, opacity 0.25s ease;
    transform-origin: center;
}

.mob-hamburger.is-open {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10002;
}

.mob-hamburger.is-open span { background: #181C32; }
.mob-hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mob-hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mob-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }

/* ── Overlay ──────────────────────────────────────── */
.mob-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 10000;
    backdrop-filter: blur(2px);
    animation: fadeIn 0.25s ease;
}

.mob-overlay.is-open { display: block; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── Drawer ───────────────────────────────────────── */
.mob-drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100dvh;
    width: min(300px, 80vw);
    background: #03AC49;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    padding: 55px 0 30px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.25);
}

.mob-drawer.is-open { transform: translateX(0); }

/* ── Close Button ─────────────────────────────────── */
.mob-close {
    align-self: flex-end;
    margin-right: 16px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    opacity: 0.85;
}

.mob-close:hover { opacity: 1; }

/* ── Menu List ────────────────────────────────────── */
.mob-menu {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    flex: 1;
}

.mob-menu li { border-bottom: 1px solid rgba(255,255,255,0.15); }

.mob-menu > li:first-child { border-top: 1px solid rgba(255,255,255,0.15); }

.mob-menu a,
.mob-sub-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 13px 20px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    letter-spacing: 0.3px;
    transition: background 0.2s ease;
}

.mob-menu a:hover,
.mob-sub-toggle:hover { background: rgba(255,255,255,0.12); }

/* ── Arrow Icon ───────────────────────────────────── */
.mob-arrow {
    margin-left: auto;
    font-size: 11px;
    transition: transform 0.3s ease;
}

.mob-has-sub.is-open > .mob-sub-toggle .mob-arrow { transform: rotate(180deg); }

/* ── Submenu ──────────────────────────────────────── */
.mob-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    background: rgba(0,0,0,0.15);
    transition: max-height 0.35s ease;
}

.mob-has-sub.is-open > .mob-submenu { max-height: 400px; }

.mob-submenu li { border-bottom: 1px solid rgba(255,255,255,0.08); }
.mob-submenu li:last-child { border-bottom: none; }

.mob-submenu a,
.mob-submenu .mob-sub-toggle {
    padding: 11px 20px 11px 36px;
    font-size: 14px;
    font-weight: 400;
}

.mob-submenu .mob-submenu a { padding-left: 52px; }

/* ── Visibility ───────────────────────────────────── */
.menuHeaderMobile {
    display: none;
    position: relative;
    z-index: 10001;
}

@media (max-width: 767px) {
    .menuHeaderMobile {
        display: block;
        position: absolute;
        top: 12px;
        left: 12px;
        z-index: 10001;
    }
    .mob-hamburger { display: flex; }
    .navbar-brand_ {
        float: none !important;
        width: 100% !important;
        text-align: center !important;
    }
}
