*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

:root{
    --green:#1ea84b;
    --dark:#0f1115;
    --dark2:#171b22;
    --gray:#a5a5a5;
    --white:#ffffff;
    --yellow:#d8b33d;
}

body{
    font-family:'Montserrat',sans-serif;
    background:var(--dark);
    color:white;
    overflow-x:hidden;
}

/* HEADER */

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:85px;
    background:rgba(15,17,21,.95);
    backdrop-filter:blur(10px);
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 5%;
    z-index:9999;
    border-bottom:1px solid rgba(255,255,255,.05);
}

.logo-container img{
    height:115px;
}

.navbar{
    display:flex;
    gap:35px;
}

.navbar a{
    text-decoration:none;
    color:white;
    font-weight:600;
    transition:.3s;
}

.navbar a:hover{
    color:var(--green);
}

/* HERO */

.hero{
    min-height:100vh;

    background:
    linear-gradient(rgba(0,0,0,.70),
    rgba(0,0,0,.70)),
    url("/img/perforadorados.jpg");

    background-size:cover;
    background-position:center;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:0 10%;
}

.hero-content h1{
    font-size:5rem;
    color:var(--green);
    margin-bottom:20px;
}

.hero-content h2{
    font-size:2.5rem;
    margin-bottom:25px;
    line-height:1.2;
}

.hero-content p{
    max-width:850px;
    margin:auto;
    color:#d5d5d5;
    line-height:1.7;
    font-size:1.1rem;
}

.hero-buttons{
    margin-top:40px;
}

.btn-primary,
.btn-secondary{
    padding:15px 35px;
    border-radius:50px;
    text-decoration:none;
    font-weight:700;
    margin:10px;
    display:inline-block;
}

.btn-primary{
    background:var(--green);
    color:white;
}

.btn-secondary{
    border:2px solid white;
    color:white;
}

/* SECTIONS */

section{
    padding:110px 8%;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:3rem;
    color:white;
}

.section-title p{
    margin-top:15px;
    color:#bbb;
}

/* STATS */

.stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
    background:var(--dark2);
}

.stat-card{
    text-align:center;
    padding:40px;
}

.stat-card span{
    display:block;
    font-size:3rem;
    color:var(--green);
    font-weight:800;
}

.stat-card h3{
    margin-top:15px;
}

/* SERVICES */

.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.service-card{
    background:var(--dark2);
    border-radius:15px;
    padding:35px;
    transition:.4s;
    
}

.service-card:hover{
    transform:translateY(-10px);
}

.service-card h3{
    color:var(--green);
    margin-bottom:20px;
}

.service-card ul{
    list-style:none;
}

.service-card li{
    margin-bottom:12px;
    color:#d7d7d7;
}

/* EQUIPOS */

.equipos-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.equipo-card{
    background:var(--dark2);
    padding:40px;
    text-align:center;
    border-radius:15px;
    font-size:1.1rem;
    font-weight:700;
    transition:.4s;
}

.equipo-card:hover{
    background:var(--green);
}

/* MARCAS */

.brands{
    overflow:hidden;
    background:#12151b;
}

.brand-track{
    display:flex;
    gap:70px;
    width:max-content;
    animation:slide 25s linear infinite;
}

.brand-track span{
    font-size:2rem;
    color:#ccc;
    font-weight:800;
}

@keyframes slide{

    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(-50%);
    }

}

/* ABOUT */

.about-content{
    max-width:1000px;
    margin:auto;
    text-align:center;
}

.about-content p{
    margin-bottom:25px;
    color:#d5d5d5;
    line-height:1.8;
}

/* GALERIA */

.gallery-placeholder{
    text-align:center;
    background:var(--dark2);
    border-radius:15px;
    padding:80px 30px;
}

.gallery-placeholder h3{
    color:var(--green);
    margin-bottom:15px;
}

/* CONTACTO */

.contact-content{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    
}

.contact-card{
    background:var(--dark2);
    border-radius:15px;
    padding:35px;
}

.contact-card h3{
    color:var(--green);
    margin-bottom:15px;
}

/* FOOTER */

footer{
    text-align:center;
    padding:30px;
    background:black;
    color:#999;
}

/* WHATSAPP */

.whatsapp{
    position:fixed;
    right:20px;
    bottom:20px;
    background:#25D366;
    color:white;
    text-decoration:none;
    padding:15px 20px;
    border-radius:50px;
    font-weight:700;
    z-index:999;
    
}

/* ANIMACION */

.hidden{
    opacity:0;
    transform:translateY(40px);
    transition:all .8s ease;
}

.show{
    opacity:1;
    transform:translateY(0);
}

/* TABLET */

@media(max-width:992px){

    .stats{
        grid-template-columns:repeat(2,1fr);
    }

    .hero-content h1{
        font-size:4rem;
    }

    .hero-content h2{
        font-size:2rem;
    }

}

/* MOVIL */

@media(max-width:768px){

    .header{
        flex-direction:column;
        height:auto;
        padding:15px;
    }

    .navbar{
        margin-top:15px;
        flex-wrap:wrap;
        justify-content:center;
        gap:15px;
    }

    .hero{
        padding-top:140px;
    }

    .hero-content h1{
        font-size:3rem;
    }

    .hero-content h2{
        font-size:1.6rem;
    }

    .stats{
        grid-template-columns:1fr;
    }

    .section-title h2{
        font-size:2rem;
    }

}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:20px;
}

.gallery-grid img{
    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:15px;
    transition:.4s;
}

.gallery-grid img:hover{
    transform:scale(1.05);
}