/* =========================================================
   SSP NAVBAR V3 PREMIUM ENTERPRISE
   Security Sales Perú
========================================================= */

.ssp-header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:9999;
    padding:22px 0;
    transition:
        background 0.45s ease,
        padding 0.45s ease,
        border-color 0.45s ease,
        box-shadow 0.45s ease,
        backdrop-filter 0.45s ease;
}

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

.ssp-header.scrolled{
    padding:14px 0;
    background:
        rgba(5,8,22,0.78);
    backdrop-filter:blur(18px);
    border-bottom:
        1px solid rgba(255,255,255,0.06);
    box-shadow:
        0 15px 40px rgba(0,0,0,0.28);
}

/* =========================================================
   CONTAINER
========================================================= */

.ssp-header .container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:40px;
}

/* =========================================================
   LOGO
========================================================= */

.ssp-logo{
    position:relative;
    z-index:9999;
    flex-shrink:0;
}

.ssp-logo img{
    width:210px;
    height:auto;
    object-fit:contain;
    transition:
        transform 0.4s ease,
        width 0.4s ease,
        filter 0.4s ease;
}

/* =========================================================
   LOGO HOVER
========================================================= */

.ssp-logo:hover img{
    transform:
        scale(1.03);
    filter:
        drop-shadow(
            0 0 20px rgba(255,107,0,0.18)
        );
}

/* =========================================================
   SCROLLED LOGO
========================================================= */

.ssp-header.scrolled
.ssp-logo img{
    width:185px;
}

/* =========================================================
   NAVBAR
========================================================= */

.ssp-navbar{
    display:flex;
    align-items:center;
    gap:34px;
}

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

.ssp-menu{
    display:flex;
    align-items:center;
    gap:34px;
}

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

.ssp-nav-link{
    position:relative;
    color:
        rgba(255,255,255,0.72);
    font-size:0.95rem;
    font-weight:600;
    letter-spacing:0.3px;
    transition:
        color 0.35s ease,
        transform 0.35s ease;
}

/* =========================================================
   UNDERLINE
========================================================= */

.ssp-nav-link::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-10px;
    width:0;
    height:2px;
    border-radius:20px;
    background:
        linear-gradient(
            90deg,
            #ff6b00,
            #ff8533
        );
    transition:0.35s ease;
}

/* =========================================================
   HOVER
========================================================= */

.ssp-nav-link:hover{
    color:#ffffff;
    transform:
        translateY(-2px);
}

.ssp-nav-link:hover::after{
    width:100%;
}

/* =========================================================
   ACTIVE
========================================================= */

.ssp-nav-link.active{
    color:#ffffff;
}

.ssp-nav-link.active::after{
    width:100%;
}

/* =========================================================
   LOGIN BUTTON
========================================================= */

.ssp-navbar-cta{
    position:relative;
    overflow:hidden;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    padding:
        15px 28px;
    border-radius:18px;
    background:
        linear-gradient(
            135deg,
            #ff6b00,
            #ff8533
        );
    color:#ffffff;
    font-size:0.92rem;
    font-weight:700;
    letter-spacing:0.3px;
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
    box-shadow:
        0 18px 40px rgba(255,107,0,0.22);
}

/* =========================================================
   CTA SHINE
========================================================= */

.ssp-navbar-cta::before{
    content:'';
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.30),
            transparent
        );
    transition:0.8s ease;
}

.ssp-navbar-cta:hover::before{
    left:100%;
}

/* =========================================================
   CTA HOVER
========================================================= */

.ssp-navbar-cta:hover{
    transform:
        translateY(-4px);
    box-shadow:
        0 24px 50px rgba(255,107,0,0.30);
}

/* =========================================================
   MOBILE TOGGLE
========================================================= */

.ssp-mobile-toggle{
    position:relative;
    z-index:10000;
    width:52px;
    height:52px;
    border-radius:16px;
    display:none;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    background:
        rgba(255,255,255,0.04);
    border:
        1px solid rgba(255,255,255,0.06);
    backdrop-filter:blur(12px);
    transition:
        background 0.35s ease,
        border-color 0.35s ease;
}

/* =========================================================
   TOGGLE HOVER
========================================================= */

.ssp-mobile-toggle:hover{
    background:
        rgba(255,107,0,0.10);
    border-color:
        rgba(255,107,0,0.20);
}

/* =========================================================
   TOGGLE ICON
========================================================= */

.ssp-mobile-toggle span{
    position:relative;
    width:22px;
    height:2px;
    border-radius:20px;
    background:#ffffff;
    transition:0.35s ease;
}

.ssp-mobile-toggle span::before,
.ssp-mobile-toggle span::after{
    content:'';
    position:absolute;
    left:0;
    width:22px;
    height:2px;
    border-radius:20px;
    background:#ffffff;
    transition:0.35s ease;
}

.ssp-mobile-toggle span::before{
    top:-7px;
}

.ssp-mobile-toggle span::after{
    top:7px;
}

/* =========================================================
   ACTIVE TOGGLE
========================================================= */

.ssp-mobile-toggle.active span{
    background:transparent;
}

.ssp-mobile-toggle.active span::before{
    top:0;
    transform:
        rotate(45deg);
}

.ssp-mobile-toggle.active span::after{
    top:0;
    transform:
        rotate(-45deg);
}

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

.ssp-mobile-overlay{
    position:fixed;
    inset:0;
    z-index:9990;
    opacity:0;
    visibility:hidden;
    background:
        rgba(0,0,0,0.65);
    backdrop-filter:blur(8px);
    transition:0.4s ease;
}

.ssp-mobile-overlay.active{
    opacity:1;
    visibility:visible;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:1200px){

    .ssp-menu{
        gap:26px;
    }

}

@media(max-width:992px){

    .ssp-header{
        padding:18px 0;
    }

    .ssp-logo img{
        width:185px;
    }

    .ssp-navbar-cta{
        display:none;
    }

    .ssp-mobile-toggle{
        display:flex;
    }

    .ssp-menu{
        position:fixed;
        top:0;
        right:-100%;
        width:340px;
        height:100vh;
        padding:
            120px 40px;
        background:
            rgba(5,8,22,0.96);
        backdrop-filter:blur(22px);
        border-left:
            1px solid rgba(255,255,255,0.06);
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        gap:28px;
        transition:0.45s ease;
        z-index:9995;
    }

    .ssp-menu.active{
        right:0;
    }

    .ssp-nav-link{
        font-size:1.08rem;
    }

}

@media(max-width:576px){

    .ssp-header{
        padding:15px 0;
    }

    .ssp-logo img{
        width:160px;
    }

    .ssp-menu{
        width:100%;
        padding:
            110px 30px;
    }

    .ssp-mobile-toggle{
        width:48px;
        height:48px;
        border-radius:14px;
    }

}