/* ==========================================
   HEADER V2
========================================== */

.header-v2{
    position:sticky;
    top:0;
    z-index:1000;
    width:100%;
    background:#0b2f57;
    box-shadow:0 4px 12px rgba(0,0,0,.15);
}

/*==============================
HEADER SUPERIORE
==============================*/

.header-top{

    max-width:1200px;
    margin:0 auto;

    padding:16px 25px;

    display:flex;
    justify-content:space-between;
    align-items:center;

}

.brand{

    display:flex;
    align-items:center;
    gap:18px;

    text-decoration:none;

}

.brand-logo{

    width:58px;
    height:auto;

}

.brand-text h1{

    margin:0;

    color:#fff;

    font-size:30px;

    font-weight:800;

    letter-spacing:1px;

}

.brand-text span{

    display:block;

    margin-top:4px;

    color:#d6b36b;

    font-size:15px;

}

/*==============================
MENU
==============================*/

.navbar-v2{

    background:#082442;

    border-top:1px solid rgba(255,255,255,.08);

}

.nav-menu{

    max-width:1200px;

    margin:0 auto;

    padding:0;

    list-style:none;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.nav-menu>li{

    position:relative;

}

.nav-menu>li>a{

    display:flex;

    align-items:center;

    gap:8px;

    padding:16px 22px;

    color:#fff;

    text-decoration:none;

    font-weight:700;

    transition:.25s;

}

.nav-menu>li>a:hover{

    background:#11467c;

}
/*==============================
DROPDOWN
==============================*/

.dropdown{

    display:none;

    position:absolute;

    top:100%;
    left:0;

    width:280px;

    margin:0;

    padding:8px 0;

    background:#fff;

    border-radius:12px;

    box-shadow:0 15px 35px rgba(0,0,0,.18);

    list-style:none;

    z-index:9999;

}

.has-dropdown:hover > .dropdown{

    display:block;

}


.dropdown li{

    width:100%;

}

.dropdown li + li{

    border-top:1px solid #ececec;

}

.dropdown a{

    display:flex;

    align-items:center;

    gap:12px;

    width:100%;

    padding:14px 18px;

    color:inherit;

    text-decoration:none;

    font-weight:600;

    white-space:nowrap;

}

.dropdown a:hover{

    background:#edf5ff;

    color:#0b2f57;

}
/* ==================================================
   MENU MOBILE V2
================================================== */

.menu-toggle{

    display:none;
    background:none;
    border:none;
    color:#fff;
    font-size:30px;
    cursor:pointer;

}

@media (max-width:900px){

    /* HEADER */

    .header-top{

        padding:14px 18px;

    }

    .brand{

        flex:1;

    }

    .brand-text h1{

        font-size:21px;

    }

    .brand-text span{

        font-size:13px;

    }

    .menu-toggle{

        display:block;

    }

    /* MENU */

.navbar-v2{

    display:none;

    position:absolute;

    top:100%;

    left:0;

    right:0;

    background:#082442;

    z-index:9999;

    opacity:0;

    transform:translateY(-15px);

    transition:opacity .25s ease, transform .25s ease;

}

    .nav-menu{

        display:flex;

        flex-direction:column;

        max-width:100%;

    }

    .nav-menu>li{

        width:100%;

    }

    .nav-menu>li>a{

        display:flex;

        justify-content:space-between;

        align-items:center;

        padding:18px 20px;

        color:#fff;

        border-bottom:1px solid rgba(255,255,255,.08);

    }
    .menu-link span{

    display:flex;

    align-items:center;

    gap:10px;

}

.menu-arrow{

    transition:.25s;

}

.has-dropdown.open .menu-arrow{

    transform:rotate(180deg);

}
.has-dropdown > .dropdown{

    display:none;

    position:static !important;

    width:100% !important;

    margin:0 !important;

    padding:0 !important;

    list-style:none;

    background:#163a63 !important;

    border-radius:0 !important;

    box-shadow:none !important;

}

.has-dropdown.open > .dropdown{

    display:block;

}

.has-dropdown.open > .dropdown a{

    display:flex !important;

    align-items:center;

    gap:12px;

    padding:15px 20px 15px 55px;

    color:#ffffff !important;

    fill:#ffffff;

    background:#163a63 !important;

    text-decoration:none;

}
.has-dropdown.open > .dropdown a i,
.has-dropdown.open > .dropdown a span{

    color:#ffffff !important;

}

.has-dropdown.open > .dropdown a:hover{

    background:#204b78;

}

/* FORZA COLORE MENU MOBILE */

.navbar-v2,
.navbar-v2 ul,
.navbar-v2 li{

    color:#fff;

}

.navbar-v2 .dropdown a{

    color:#fff !important;

}

.navbar-v2 .dropdown a i{

    color:#fff !important;

}

}