/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, sans-serif;
    overflow-x:hidden;
}

header{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    z-index:999;

    padding:20px 50px;

    display:flex;
    justify-content:flex-start;
    align-items:center;
}

.logo img{
    height:80px;
    width:auto;
}

@media(max-width:768px){

    header{
        padding:15px 20px;
    }

    .logo img{
        height:55px;
    }

}


.logo img{
    height:80px;
    transition:.3s;
}

.logo img:hover{
    opacity:.8;
    transform:scale(1.03);
}

/* HERO VIDEO */

.hero-video{
    position:relative;
    width:100%;
    height:100vh;
    overflow:hidden;
}

.video-container{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    overflow:hidden;
    z-index:-2;
}

.video-container iframe{
    position:absolute;
    top:50%;
    left:50%;
    width:177.77777778vh;
    height:56.25vw;
    min-width:100%;
    min-height:100%;
    transform:translate(-50%,-50%);
    pointer-events:none;
}

.overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.60);

    display:flex;
    justify-content:center;
    align-items:center;

    text-align:center;
}

.hero-content{
    color:#fff;
    max-width:900px;
    padding:20px;
}

.hero-content h1{
    font-size:4rem;
    margin-bottom:20px;
    text-transform:uppercase;
}

.hero-content p{
    font-size:1.4rem;
    margin-bottom:30px;
    line-height:1.6;
}

/* BOTON */

.btn{
    display:inline-block;
    padding:15px 40px;
    background:#fff;
    color:#111;
    text-decoration:none;
    border-radius:50px;
    font-weight:700;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-5px);
}

/* EMPRESAS */

.about{
    padding:80px 40px;
    text-align:center;
}

.about h1{
    margin-bottom:15px;
}

.about h2{
    margin-bottom:50px;
    color:#666;
}

.grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.card{
    border:1px solid #ddd;
    padding:30px;
    transition:.3s;
}

.card:hover{
    box-shadow:0 10px 30px rgba(0,0,0,.10);
}

.card img{
    width:100%;
    max-width:250px;
    transition:.3s;
}

.card img:hover{
    filter:grayscale(100%);
    opacity:.6;
}

.card h3{
    margin:20px 0;
}

.card a{
    text-decoration:none;
}

/* WHATSAPP */

.whatsapp{
    position:fixed;
    right:20px;
    bottom:20px;
    background:#25D366;
    color:#fff;
    padding:15px 20px;
    border-radius:50px;
    text-decoration:none;
    z-index:9999;
}

/* FOOTER */

footer{
    text-align:center;
    padding:20px;
    background:#111;
    color:#fff;
}

/* TABLET */

@media(max-width:992px){

    .grid{
        grid-template-columns:1fr 1fr;
    }

    .hero-content h1{
        font-size:3rem;
    }

}

/* MOVIL */

@media(max-width:768px){

    .hero-video{
        height:90vh;
    }

    .hero-content h1{
        font-size:2rem;
    }

    .hero-content p{
        font-size:1rem;
    }

    .grid{
        grid-template-columns:1fr;
    }

    .about{
        padding:50px 20px;
    }

    .whatsapp{
        right:15px;
        bottom:15px;
        padding:12px 18px;
    }

}

/* MOVILES PEQUEÑOS */

@media(max-width:480px){

    .hero-content h1{
        font-size:1.6rem;
    }

    .hero-content p{
        font-size:.95rem;
    }

}