/* =========================================================
   SSP RESPONSIVE V2 PREMIUM ENTERPRISE
   Security Sales Perú
========================================================= */

/* =========================================================
   LARGE DESKTOP
========================================================= */

@media(max-width:1400px){

    .container{
        width:min(92%, 1320px);
    }

}

/* =========================================================
   DESKTOP
========================================================= */

@media(max-width:1200px){

    /* HERO */

    .ssp-hero{
        min-height:760px;
    }

    .ssp-hero-title{
        font-size:
            clamp(2.8rem, 5vw, 4.8rem);
    }

    /* PROJECTS */

    .ssp-projects-grid{
        gap:26px;
    }

    /* ABOUT */

    .ssp-about-wrapper{
        gap:40px;
    }

    .ssp-about-image{
        height:620px;
    }

    /* FOOTER */

    .ssp-footer-wrapper{
        grid-template-columns:
            repeat(2, 1fr);
    }

}

/* =========================================================
   TABLET LANDSCAPE
========================================================= */

@media(max-width:992px){

    /* =====================================================
       GLOBAL
    ===================================================== */

    section{
        padding:90px 0 !important;
    }

    .ssp-section-title{
        font-size:
            clamp(2.2rem, 6vw, 4rem);
        line-height:1.1;
        letter-spacing:-2px;
    }

    .ssp-section-description{
        font-size:1rem;
        line-height:1.8;
    }

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

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

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

    .ssp-navbar{
        gap:18px;
    }

    /* MOBILE MENU */

    .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);
        display:flex;
        flex-direction:column;
        gap:24px;
        transition:0.45s ease;
        z-index:9999;
        border-left:
            1px solid rgba(255,255,255,0.06);
    }

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

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

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

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

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

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

    /* =====================================================
       HERO
    ===================================================== */

    .ssp-hero{
        min-height:auto;
        padding:
            140px 0 90px !important;
        text-align:center;
    }

    .ssp-hero-wrapper{
        justify-content:center;
    }

    .ssp-hero-content{
        max-width:760px;
        margin:auto;
    }

    .ssp-hero-subtitle{
        justify-content:center;
    }

    .ssp-hero-description{
        margin-left:auto;
        margin-right:auto;
    }

    .ssp-hero-buttons{
        justify-content:center;
    }

    .ssp-hero-tags{
        justify-content:center;
    }

    .ssp-hero-title{
        font-size:
            clamp(2.5rem, 8vw, 4.2rem);
    }

    /* =====================================================
       TECHNOLOGIES
    ===================================================== */

    .ssp-tech-grid{
        grid-template-columns:
            repeat(2, 1fr);
    }

    .ssp-tech-card{
        height:150px;
    }

    /* =====================================================
       PROJECTS
    ===================================================== */

    .ssp-projects-grid{
        grid-template-columns:1fr;
    }

    .ssp-project-card.large{
        grid-column:auto;
    }

    .ssp-project-card,
    .ssp-project-card.large{
        min-height:480px;
    }

    .ssp-project-content{
        padding:34px;
    }

    .ssp-project-content h3{
        font-size:
            clamp(2rem, 5vw, 3rem);
    }

    /* =====================================================
       ABOUT
    ===================================================== */

    .ssp-about-wrapper{
        grid-template-columns:1fr;
    }

    .ssp-about-image{
        height:520px;
    }

    .ssp-about-stats{
        grid-template-columns:
            repeat(2, 1fr);
    }

    /* =====================================================
       FOOTER
    ===================================================== */

    .ssp-footer-bottom{
        flex-direction:column;
        text-align:center;
    }

}

/* =========================================================
   TABLET PORTRAIT
========================================================= */

@media(max-width:768px){

    /* GLOBAL */

    section{
        padding:80px 0 !important;
    }

    .ssp-section-title{
        font-size:
            clamp(2rem, 8vw, 3.5rem);
    }

    .ssp-section-description{
        font-size:0.96rem;
    }

    /* NAVBAR */

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

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

    /* HERO */

    .ssp-hero{
        padding:
            130px 0 80px !important;
    }

    .ssp-hero-title{
        font-size:
            clamp(2.2rem, 9vw, 3.6rem);
        line-height:1.08;
    }

    .ssp-hero-description{
        font-size:0.96rem;
        line-height:1.8;
    }

    .ssp-hero-buttons{
        flex-direction:column;
        align-items:center;
    }

    .ssp-btn-primary,
    .ssp-btn-secondary{
        width:100%;
        max-width:320px;
    }

    /* TECHNOLOGIES */

    .ssp-tech-grid{
        gap:20px;
    }

    .ssp-tech-card{
        border-radius:22px;
    }

    .ssp-tech-lightbox-content{
        width:92%;
        padding:26px;
        border-radius:28px;
    }

    /* PROJECTS */

    .ssp-project-card,
    .ssp-project-card.large{
        min-height:430px;
        border-radius:26px;
    }

    .ssp-project-content{
        padding:28px;
    }

    .ssp-project-content h3{
        font-size:2rem;
        line-height:1.1;
    }

    .ssp-project-content p{
        font-size:0.92rem;
    }

    /* ABOUT */

    .ssp-about-image{
        height:430px;
    }

    .ssp-about-feature{
        padding:22px;
    }

    /* FOOTER */

    .ssp-footer{
        padding:70px 0 25px;
    }

}

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

@media(max-width:576px){

    /* GLOBAL */

    .container{
        width:92%;
    }

    section{
        padding:70px 0 !important;
    }

    .ssp-section-title{
        font-size:
            clamp(1.8rem, 9vw, 3rem);
        line-height:1.1;
        letter-spacing:-1px;
    }

    .ssp-section-subtitle{
        font-size:0.74rem;
        letter-spacing:1.5px;
    }

    .ssp-section-description{
        font-size:0.92rem;
        line-height:1.75;
    }

    /* NAVBAR */

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

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

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

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

    /* HERO */

    .ssp-hero{
        min-height:auto;
        padding:
            120px 0 70px !important;
    }

    .ssp-hero-title{
        font-size:2rem;
    }

    .ssp-hero-description{
        font-size:0.90rem;
    }

    .ssp-hero-tags{
        gap:10px;
    }

    .ssp-hero-tags span{
        font-size:0.72rem;
        padding:
            10px 14px;
    }

    .ssp-scroll-indicator{
        display:none;
    }

    /* TECHNOLOGIES */

    .ssp-tech-grid{
        grid-template-columns:1fr;
    }

    .ssp-tech-card{
        height:130px;
        border-radius:20px;
    }

    .ssp-tech-card img{
        max-width:65%;
        max-height:65%;
    }

    .ssp-tech-lightbox-content{
        padding:20px;
        border-radius:22px;
    }

    .ssp-tech-lightbox-close{
        width:44px;
        height:44px;
    }

    /* PROJECTS */

    .ssp-project-card,
    .ssp-project-card.large{
        min-height:390px;
    }

    .ssp-project-content{
        padding:22px;
    }

    .ssp-project-tag{
        font-size:0.68rem;
        padding:
            8px 14px;
    }

    .ssp-project-content h3{
        font-size:1.6rem;
    }

    .ssp-project-content p{
        font-size:0.88rem;
        line-height:1.7;
    }

    .ssp-project-brands{
        gap:10px;
    }

    .ssp-project-brands span{
        font-size:0.68rem;
        padding:
            8px 12px;
    }

    /* ABOUT */

    .ssp-about-wrapper{
        gap:30px;
    }

    .ssp-about-feature{
        flex-direction:column;
        gap:18px;
    }

    .ssp-about-feature-icon{
        width:58px;
        height:58px;
        border-radius:18px;
    }

    .ssp-about-image{
        height:340px;
    }

    .ssp-about-stats{
        grid-template-columns:1fr;
        gap:18px;
    }

    .ssp-about-stat{
        padding:28px 20px;
    }

    .ssp-about-stat h3{
        font-size:2rem;
    }

    /* FOOTER */

    .ssp-footer-wrapper{
        grid-template-columns:1fr;
        gap:36px;
    }

    .ssp-footer-logo img{
        width:170px;
    }

    .ssp-footer-social{
        width:42px;
        height:42px;
        border-radius:14px;
    }

    .ssp-footer-bottom-links{
        flex-wrap:wrap;
        justify-content:center;
        gap:14px;
    }

}

/* =========================================================
   EXTRA SMALL
========================================================= */

@media(max-width:380px){

    .ssp-hero-title{
        font-size:1.8rem;
    }

    .ssp-project-content h3{
        font-size:1.4rem;
    }

    .ssp-about-image{
        height:300px;
    }

}