/* =====================================================
   CONSTRUCCIONES E INVERSIONES L&S E.I.R.L.
   STYLE PRINCIPAL WEB
===================================================== */


:root{

    --orange:#f58220;
    --dark:#020617;
    --dark2:#111827;
    --line:#334155;
    --white:#f8fafc;
    --gray:#cbd5e1;

}




*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}



html{

    scroll-behavior:smooth;

}



body{

    font-family:
    "Segoe UI",
    Arial,
    sans-serif;


    background:

    radial-gradient(
        circle at top,
        #374151,
        #020617 60%,
        #000
    );


    color:white;

    line-height:1.6;

}







/* =========================
        HEADER
========================= */


header{


    position:fixed;


    top:0;


    left:0;


    width:100%;


    height:70px;


    display:flex;


    justify-content:space-between;


    align-items:center;



    padding:0 45px;



    background:

    rgba(0,0,0,.88);



    backdrop-filter:blur(10px);



    border-bottom:

    1px solid rgba(245,130,32,.35);



    z-index:1000;



}





/* LOGO PEQUEÑO */

.logo img{


    width:55px;


    height:auto;


    object-fit:contain;


}







/* MENU */


nav{


    display:flex;


    gap:28px;


}



nav a{


    color:white;


    text-decoration:none;


    font-weight:600;


    font-size:15px;



    transition:.3s;



}



nav a:hover{


    color:var(--orange);



}







/* HAMBURGUESA */


.hamburger{


    display:none;


    cursor:pointer;


}



.hamburger span{


    display:block;


    width:30px;


    height:3px;


    margin:6px;


    background:white;


}







/* =========================
        SLIDER
========================= */


.hero{


    height:100vh;


    position:relative;


    overflow:hidden;


}



.slide{


    position:absolute;


    width:100%;


    height:100%;


    opacity:0;


    transition:1s;


}



.slide.active{


    opacity:1;


}




.slide img{


    width:100%;


    height:100%;


    object-fit:cover;



    filter:

    brightness(.45);



}







.texto{


    position:absolute;


    top:50%;


    left:10%;



    transform:

    translateY(-50%);



}




.texto h1{


    font-size:


    clamp(35px,6vw,70px);



    font-weight:900;


    letter-spacing:3px;


}




.texto p{


    font-size:22px;


    margin:20px 0;


    color:#e5e7eb;



}



.texto a{


    display:inline-block;


    padding:14px 35px;



    background:

    var(--orange);



    color:white;


    text-decoration:none;


    border-radius:30px;


    font-weight:bold;



}







/* =========================
       SECCIONES
========================= */


section{


    max-width:1200px;


    margin:auto;



    padding:

    100px 40px;



}




section h2{


    text-align:center;


    color:var(--orange);


    font-size:38px;


    letter-spacing:3px;


    margin-bottom:45px;



}



section p{


    color:var(--gray);


    font-size:18px;



}







/* =========================
        TARJETAS
========================= */


.cards{


    display:grid;



    grid-template-columns:


    repeat(auto-fit,minmax(280px,1fr));



    gap:30px;


    margin-top:40px;



}




.cards div{


    background:


    linear-gradient(

        145deg,

        #111827,

        #020617

    );



    padding:35px;



    border-radius:20px;



    border:


    1px solid var(--line);



    transition:.4s;



}



.cards div:hover{


    transform:


    translateY(-10px);



    border-color:


    var(--orange);



}




.cards h3{


    color:var(--orange);


    margin-bottom:15px;


    font-size:24px;



}







/* =========================
        CONTACTO
========================= */


#contacto{


    text-align:center;


}








/* =========================
        FOOTER
========================= */


footer{


    background:#020617;


    text-align:center;



    padding:30px;



    color:#94a3b8;



    border-top:


    1px solid var(--line);



}








/* =========================
      TABLET Y CELULAR
========================= */



@media(max-width:900px){



header{


    padding:0 20px;


}



nav{


    position:absolute;


    top:70px;


    left:0;


    width:100%;


    background:#020617;



    display:none;



    flex-direction:column;


    text-align:center;



    padding:30px;



}



nav.active{


    display:flex;


}




.hamburger{


    display:block;


}



}








@media(max-width:600px){



.logo img{


    width:45px;


}





section{


    padding:

    80px 20px;


}




.texto{


    left:5%;


}



.texto h1{


    font-size:38px;


}



.texto p{


    font-size:16px;


}



section h2{


    font-size:28px;


}



}