/* ==========================================
   MOBILE MENU
========================================== */

.mobile-toggle{

    display:none;

    width:50px;
    height:50px;

    border:none;

    border-radius:18px;

    background:#fff;

    color:var(--primary);

    cursor:pointer;

    box-shadow:var(--shadow-sm);

    transition:.35s;

    align-items:center;

    justify-content:center;

    position:relative;

    z-index:10002;

}

.mobile-toggle:hover{

    transform:translateY(-2px);

    box-shadow:var(--shadow-md);

}

/* ==========================
   HAMBURGER
========================== */

.mobile-toggle span{

    position:absolute;

    width:22px;

    height:2px;

    background:var(--primary);

    border-radius:999px;

    transition:.35s;

}

.mobile-toggle span:nth-child(1){

    transform:translateY(-7px);

}

.mobile-toggle span:nth-child(2){

    transform:translateY(0);

}

.mobile-toggle span:nth-child(3){

    transform:translateY(7px);

}

.mobile-toggle.active span:nth-child(1){

    transform:rotate(45deg);

}

.mobile-toggle.active span:nth-child(2){

    opacity:0;

}

.mobile-toggle.active span:nth-child(3){

    transform:rotate(-45deg);

}

/* ==========================
   OVERLAY
========================== */

.mobile-overlay{

    position:fixed;

    inset:0;

    background:rgba(22,18,45,.28);

    backdrop-filter:blur(10px);

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:9998;

}

.mobile-overlay.active{

    opacity:1;

    visibility:visible;

}

/* ==========================
   DRAWER
========================== */

.mobile-menu{

    position:fixed;

    top:0;

    right:-100%;

    width:340px;

    max-width:90vw;

    height:100vh;

    background:#ffffff;

    transition:.45s cubic-bezier(.22,1,.36,1);

    z-index:9999;

    display:flex;

    flex-direction:column;

    padding:28px;

    overflow-y:auto;

    box-shadow:-20px 0 45px rgba(20,20,40,.08);

}

.mobile-menu.active{

    right:0;

}

/* ==========================
   HEADER
========================== */

.mobile-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:40px;

}

.mobile-logo img{

    width:80px;

}

.mobile-close{

    width:46px;

    height:46px;

    border:none;

    border-radius:50%;

    background:var(--primary-50);

    color:var(--primary);

    cursor:pointer;

    transition:.35s;

}

.mobile-close:hover{

    background:var(--primary);

    color:#fff;

    transform:rotate(90deg);

}

/* ==========================
   LINKS
========================== */

.mobile-links{

    display:flex;

    flex-direction:column;

    gap:10px;

}

.mobile-links a{

    padding:16px 18px;

    border-radius:18px;

    text-decoration:none;

    color:var(--text);

    font-weight:600;

    transition:.3s;

}

.mobile-links a:hover,

.mobile-links a.active{

    background:var(--primary-50);

    color:var(--primary);

    transform:translateX(6px);

}

/* ==========================
   ACTIONS
========================== */

.mobile-actions{

    margin-top:auto;

    padding-top:35px;

    display:flex;

    flex-direction:column;

    gap:16px;

}

.mobile-language{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    height:50px;

    border:1px solid var(--border);

    border-radius:999px;

    background:#fff;

    cursor:pointer;

    transition:.35s;

}

.mobile-language:hover{

    background:var(--primary-50);

}

.mobile-actions .btn{

    width:100%;

    justify-content:center;

}