/* ========================= */
/* CONTROL HERO */
/* ========================= */

/*
    CAMBIA ESTOS VALORES
    PARA MOVER TODO EL BLOQUE
*/

:root{

    /* mueve el texto izquierda/derecha */
    --hero-left: 120px;

    /* mueve el bloque arriba/abajo */
    --hero-top: -40px;

    /* tamaño del h1 */
    --hero-title-size: 110px;

    /* posición de puntitos */
    --dots-bottom: 45px;

}

/* ========================= */
/* RESET */
/* ========================= */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Montserrat', sans-serif;
    background: #000;
    overflow-x: hidden;
}

/* ========================= */
/* HEADER */
/* ========================= */

.header{
    width: 100%;
    height: 90px;

    position: absolute;
    top: 0;
    left: 0;

    z-index: 100;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 120px;
}

.logo{
    color: #fff;
    font-size: 32px;
    font-weight: 800;
}

.logo span{
    color: #ff8800;
}

.btn-header{
    background: #ff8800;
    color: #fff;

    text-decoration: none;

    padding: 14px 30px;
    border-radius: 12px;

    font-weight: 600;

    transition: 0.3s;
}

.btn-header:hover{
    background: #ff9d2e;
}

/* ========================= */
/* HERO */
/* ========================= */

.hero{
    width: 100%;
    height: 85vh;

    position: relative;
    overflow: hidden;
}

/* ========================= */
/* SLIDER */
/* ========================= */

.hero-slider{
    width: 100%;
    height: 85vh;

    position: absolute;
    top: 0;
    left: 0;
}

.slide{
    width: 100%;
    height: 85vh;

    position: absolute;

    opacity: 0;
    transition: 1s;
}

.slide.active{
    opacity: 1;
}

.slide img{
    width: 100%;
    height: 85vh;

    object-fit: cover;
}

/* ========================= */
/* OVERLAY */
/* ========================= */

.overlay{
    width: 100%;
    height: 100vh;

    position: absolute;
    top: 0;
    left: 0;

    background:
    linear-gradient(
        90deg,
        rgba(0,0,0,0.95) 15%,
        rgba(0,0,0,0.65) 45%,
        rgba(0,0,0,0.15) 100%
    );

    z-index: 2;
}

/* ========================= */
/* CONTENT */
/* ========================= */

.hero-content{

    position: relative;
    z-index: 10;

    width: 100%;
    height: 85vh;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding-left: var(--hero-left);

    /* CONTROL ARRIBA / ABAJO */
    transform: translateY(var(--hero-top));
}

.hero-content h1{
    color: #fff;

    font-size: var(--hero-title-size);
    font-weight: 800;

    line-height: 1;

    margin-bottom: 25px;
}

.hero-content h1 span{
    color: #ff9900;
}

.hero-content p{
    color: #d8d8d8;

    font-size: 17px;
    line-height: 1.8;

    width: 550px;

    margin-bottom: 35px;
}

.btn-wsp{

    width: fit-content;

    background: #ff8800;
    color: #fff;

    text-decoration: none;

    padding: 17px 42px;
    border-radius: 14px;

    font-weight: 600;

    transition: 0.3s;
}

.btn-wsp:hover{
    background: #ff9d2e;
    transform: translateY(-3px);
}

/* ========================= */
/* DOTS */
/* ========================= */

.dots{

    position: absolute;

    left: 50%;
    bottom: var(--dots-bottom);

    transform: translateX(-50%);

    display: flex;
    gap: 14px;

    z-index: 999;
}

.dot{

    width: 15px;
    height: 15px;

    border-radius: 50%;

    background: rgba(255,255,255,0.4);

    transition: 0.3s;
}

.dot.active{
    background: #ff8800;
    transform: scale(1.15);
}

@media(max-width: 768px){

    :root{
        --hero-left: 0px;
        --hero-title-size: 52px;
        --hero-top: -20px;
    }

    .header{
        padding: 0 25px;
    }

    .hero-content{

        padding-left: 25px;
        padding-right: 25px;

        /* CENTRAR CONTENIDO */
        align-items: center;
        text-align: center;
    }

    .hero-content p{
        width: 100%;
        max-width: 500px;
        font-size: 15px;
    }

    .btn-header{
        padding: 12px 20px;
        font-size: 14px;
    }

}

@media(max-width: 480px){

    :root{
        --hero-title-size: 42px;
    }

    .logo{
        font-size: 24px;
    }

    .btn-wsp{
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

}