/* =========================================================
   HERO PREMIUM - CRYSTAL GLASS
   Mobile First
========================================================= */


/* =========================
   VARIABLES
========================= */

:root{

    --bg-dark:#060b16;

    --glass:
    rgba(255,255,255,.10);

    --glass-light:
    rgba(255,255,255,.16);

    --border:
    rgba(255,255,255,.18);

    --white:#ffffff;

    --text-soft:
    rgba(255,255,255,.78);

    --blue:
    #58b7ff;

    --blue-dark:
    #246bff;

    --shadow:
    0 30px 80px rgba(0,0,0,.35);

    --radius:
    28px;

}


*{

    box-sizing:border-box;

}


html{

    scroll-behavior:smooth;

}


body{

    margin:0;

    background:
    var(--bg-dark);

    font-family:
    "Inter",
    system-ui,
    sans-serif;

    color:white;

}



/* =========================
   HERO BASE
========================= */


.hero{

    position:relative;

    min-height:100svh;

    display:flex;

    align-items:center;

    overflow:hidden;

    padding:

    120px 20px 80px;

    isolation:isolate;

}



/* =========================
   BACKGROUND IMAGE
========================= */


.hero-bg{

    position:absolute;

    inset:-10%;

    background-image:

    url("hero-cerrajeria.jpg");

    background-size:cover;

    background-position:center;

    z-index:-5;

    animation:

    heroZoom 25s ease-in-out infinite alternate;

}



.hero-overlay{

    position:absolute;

    inset:0;

    z-index:-4;


    background:

    linear-gradient(

        180deg,

        rgba(5,10,20,.45),

        rgba(5,10,20,.92)

    );


}




.hero-overlay::after{

    content:"";

    position:absolute;

    inset:0;


    background:

    radial-gradient(

        circle at 80% 20%,

        rgba(90,190,255,.25),

        transparent 45%

    );


}




/* =========================
   ORB LIGHTS
========================= */


.orb{

    position:absolute;

    border-radius:50%;

    filter:blur(90px);

    opacity:.35;

    z-index:-2;

}



.orb-1{

    width:260px;

    height:260px;

    background:#198cff;

    top:10%;

    right:-80px;

    animation:

    floatOrb 10s infinite alternate;

}



.orb-2{

    width:220px;

    height:220px;

    background:#7be1ff;

    bottom:10%;

    left:-90px;

    animation:

    floatOrb 12s infinite alternate-reverse;

}



.orb-3{

    width:180px;

    height:180px;

    background:#ffffff;

    top:50%;

    left:50%;

    opacity:.12;

}



/* =========================
   CONTAINER
========================= */


.container{

    width:100%;

    max-width:1200px;

    margin:auto;

    display:grid;

    gap:35px;

}



/* =========================
   CONTENT
========================= */


.hero-content{

    position:relative;

}



.hero-badge{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:
    10px 16px;
    border-radius:50px;
    background:
    rgba(255,255,255,.08);
    border:
    1px solid rgba(255,255,255,.16);
    backdrop-filter:
    blur(18px);
    font-size:1.2rem;
    color:white;
    margin-bottom:25px;
}



.badge-dot{

    width:9px;

    height:9px;

    background:#42ff8a;

    border-radius:50%;

    box-shadow:

    0 0 15px #42ff8a;

    animation:pulse 2s infinite;

}



/* =========================
   TITLE
========================= */


.hero h1{

    margin:0 0 22px;

    font-size:

    clamp(2.4rem,8vw,4.5rem);

    line-height:

    1.05;

    letter-spacing:-2px;

    font-weight:800;

}



.hero h1 span{

    display:block;


    background:

    linear-gradient(

        90deg,

        white,

        #74cfff,

        white

    );


    background-size:200%;


    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;


    animation:

    shimmer 7s linear infinite;

}



.hero p{

    max-width:650px;

    color:var(--text-soft);

    line-height:1.8;

    font-size:1.1rem;

}



/* =========================
   BUTTONS
========================= */


.hero-buttons{

    margin-top:35px;

    display:flex;

    flex-direction:column;

    gap:15px;

}



.btn{

    height:56px;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    border-radius:50px;

    text-decoration:none;

    font-weight:700;

    transition:

    .45s cubic-bezier(.2,.8,.2,1);

}



.btn svg{

    width:20px;

    fill:currentColor;

}



.btn-primary{
    background:
    linear-gradient(
        135deg,
        #087fd4,
        #350bdf
    );
    color:white;
    box-shadow:
    0 20px 50px rgba(45,130,255,.4);
}



.btn-primary:hover{

    transform:

    translateY(-5px);

}



.btn-secondary{

    color:white;


    background:

    rgba(255,255,255,.08);


    border:

    1px solid rgba(255,255,255,.15);


    backdrop-filter:

    blur(20px);

}



/* =========================
   STATS
========================= */


.hero-stats{

    display:flex;

    gap:25px;

    margin-top:40px;

}



.stat strong{

    display:block;

    font-size:1.8rem;

}



.stat span{

    font-size:.9rem;

    color:var(--text-soft);

}



/* =========================
   GLASS CARD
========================= */


.glass-card{

    position:relative;

    overflow:hidden;

    padding:25px;


    border-radius:var(--radius);


    background:

    var(--glass);


    backdrop-filter:

    blur(30px);


    border:

    1px solid var(--border);


    box-shadow:

    var(--shadow);


    transform-style:preserve-3d;


}



.glass-card::before{

    content:"";

    position:absolute;

    inset:0;


    background:

    linear-gradient(

    120deg,

    transparent,

    rgba(255,255,255,.22),

    transparent

    );


    transform:

    translateX(-120%);


    animation:

    glassShine 8s infinite;

}



.glass-reflection{

    position:absolute;

    inset:0;

    background:

    radial-gradient(

    circle at top right,

    rgba(255,255,255,.2),

    transparent 35%

    );

}



/* =========================
   SERVICES
========================= */


.card-header{

    margin-bottom:20px;

}


.status{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:
    8px 14px;
    border-radius:40px;
    background:
    rgba(0,255,130,.12);
    font-size:1rem;

}

.pulse{

    width:8px;

    height:8px;

    border-radius:50%;

    background:#00ff88;

}



.glass-card h3{

    font-size:1.5rem;

    margin-bottom:20px;

}



.service-list{

    display:grid;

    gap:12px;

}



.service{

    display:flex;

    align-items:center;

    gap:15px;

    padding:15px;


    border-radius:18px;


    background:

    rgba(255,255,255,.05);


    border:

    1px solid rgba(255,255,255,.08);


    transition:.35s;

}



.service:hover{

    background:

    rgba(255,255,255,.12);


    transform:

    translateX(8px);

}



.service-icon{

    width:45px;

    height:45px;

    display:grid;

    place-items:center;

    border-radius:15px;


    background:

    rgba(255,255,255,.12);

}



.service strong{

    display:block;

    font-size:1.15rem;

}



.service span{
    color:var(--text-soft);
    font-size:1rem;
}

.scroll-indicator{

    position:absolute;

    bottom:25px;

    left:50%;

    transform:translateX(-50%);

    display:none;

    flex-direction:column;

    align-items:center;

    gap:10px;

    color:white;

    font-size:.95rem;

}



.mouse{

    width:24px;

    height:40px;

    border:

    2px solid white;

    border-radius:20px;

}



.wheel{

    width:4px;

    height:8px;

    background:white;

    margin:7px auto;

    border-radius:10px;

    animation:

    wheel 2s infinite;

}



/* =========================
   ANIMATIONS
========================= */


@keyframes heroZoom{

    from{

        transform:scale(1);

    }

    to{

        transform:scale(1.15);

    }

}



@keyframes shimmer{

    to{

        background-position:200%;

    }

}



@keyframes floatOrb{

    to{

        transform:translateY(-50px);

    }

}



@keyframes pulse{

    50%{

        transform:scale(1.5);

    }

}



@keyframes glassShine{

    100%{

        transform:translateX(120%);

    }

}



@keyframes wheel{

    50%{

        transform:translateY(12px);

    }

}



/* =========================
   TABLET + DESKTOP
========================= */


@media(min-width:768px){


.hero{

    padding:140px 40px;

}


.container{

    grid-template-columns:

    1.15fr .85fr;

    align-items:center;

}



.hero-buttons{

    flex-direction:row;

}



.btn{

    padding:0 35px;

}



.scroll-indicator{

    display:flex;

}



}



@media(min-width:1200px){


.hero{

    padding-top:160px;

}


.glass-card{

    padding:35px;

}


.service{

    padding:18px;

}



}