@keyframes aparecerDerecha {
    from {right: -200px; opacity: 0;}
    to {right: 0; opacity: 1;}
}

@keyframes aparecerAbajo {
    from { opacity: 0; transform: translateY(100px); -webkit-transform: translateY(100px); -moz-transform: translateY(100px); -ms-transform: translateY(100px); -o-transform: translateY(100px); }
    to { opacity: 1; transform: translateY(0); -webkit-transform: translateY(0); -moz-transform: translateY(0); -ms-transform: translateY(0); -o-transform: translateY(0); }
}

@keyframes aparecer {
    from {opacity: 0}
    to {opacity: 1}
}

@keyframes rebote {
    from { transform: translateY(0); -webkit-transform: translateY(0); -moz-transform: translateY(0); -ms-transform: translateY(0); -o-transform: translateY(0); }
    75% { transform: translateY(20px); -webkit-transform: translateY(20px); -moz-transform: translateY(20px); -ms-transform: translateY(20px); -o-transform: translateY(20px); }
    from { transform: translateY(0); -webkit-transform: translateY(0); -moz-transform: translateY(0); -ms-transform: translateY(0); -o-transform: translateY(0); }
}

.lightSlider {
    width: 100%;
    height: 100vh!important;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 40px 40px;
    -webkit-border-radius: 0 0 40px 40px;
    -moz-border-radius: 0 0 40px 40px;
    -ms-border-radius: 0 0 40px 40px;
    -o-border-radius: 0 0 40px 40px;
}

.lightSlider .imagen-fondo {
    width: 100%;
    height: 100%;
}

.lightSlider .imagen-fondo:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgb(0 0 0 / 35%);
}

.lightSlider .imagen-fondo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.lightSlider .slide {
    width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    animation: aparecer 1s forwards; 
}

.lightSlider .slide > img {
    object-fit: cover;
    width: 100%!important;
    height: 100%!important;
}

.lightSlider .text-wrap {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /*animation: aparecerDerecha 2s forwards;
    -webkit-animation: aparecerDerecha 2s forwards;
    animation-delay: .5s;*/
    text-align: center;
}

.lightSlider .text-wrap h1 {
    color: var(--blanco);
    font-size: 78px;
    line-height: 1.1;
    font-weight: 700;
    opacity: 0;
    animation: aparecerAbajo 1s forwards;
    -webkit-animation: aparecerAbajo 1s forwards;
    animation-delay: .5s;
}

.lightSlider .text-wrap img {
    opacity: 0;
    animation: aparecerAbajo 1s forwards;
    -webkit-animation: aparecerAbajo 1s forwards;
    animation-delay: 1s;
}

.lightSlider .text-wrap h2 {
    color: var(--blanco);
    font-size: 31px;
    line-height: 1;
    font-weight: 700;
    font-family: 'Inter';
    text-transform: uppercase;
    letter-spacing: .1em;
    opacity: 0;
    animation: aparecerAbajo 1s forwards;
    -webkit-animation: aparecerAbajo 1s forwards;
    animation-delay: 1.5s;
}

.lightSlider .video-wrap, 
.lightSlider .video-wrap .video iframe {
    width: 100%;
    height: 100%;
}

.lightSlider .video-wrap .video {
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
    margin-top: -100px;
}

.lightSlider .video-wrap .video iframe {
    position: absolute;
    left: 0;
    top: 0;
}

.lightSlider .video-wrap .video:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.lightSlider .arrow {
    display: block;
    position: absolute;
    width: 40px;
    height: 40px;
    top: 50%;
    margin-top: -20px;
    border-radius: 5px;
    background: black;
    opacity: .7;
    z-index: 200;
    cursor: pointer;
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
}

.lightSlider .arrow:before {
    content: "";
    display: block;
    position: absolute;
    width: 50%;
    height: 50%;
    top: 25%;
    left: 25%;
}

.lightSlider .arrow:hover {
    opacity: .9;
}

.lightSlider .arrow.arrowRight {
    right: 50px;
}

.lightSlider .arrow.arrowRight:before {
    background: url(./right-arrow.svg) center center/contain no-repeat;

}

.lightSlider .arrow.arrowLeft {
    left: 50px;
}

.lightSlider .arrow.arrowLeft:before {
    background: url(./left-arrow.svg) center center/contain no-repeat;
}

.lightSlider .moreInfo {
    display: block;
    position: absolute;
    z-index: 200;
    bottom: 80px;
    left: calc( 50% - 20px );
    text-transform: uppercase;
    animation: rebote 3s infinite both;
    -webkit-animation: rebote 3s infinite both;
}

.lightSlider .moreInfo > a {
    display: flex;
    align-items: center;
    color: white;
    line-height: 18px;
    font-size: 13px;
    letter-spacing: 5px;
}

.lightSlider .moreInfo > a i {
    display: none;
}

.lightSlider .moreInfo > a:before {
    content: "";
    width: 40px;
    height: 40px;
    display: inline-block;
    background: url(./moreInfo-arrow.svg) center center/contain no-repeat;
}

.lightSlider .point-nav {
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: 25%;
    z-index: 100;
}

.lightSlider .point-nav .point {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: white;
    display: inline-block;
    margin: 0 5px;
    opacity: .6;
    cursor: pointer;
    transition: all ease-in-out .3s;
    -webkit-transition: all ease-in-out .3s;
    -moz-transition: all ease-in-out .3s;
    -ms-transition: all ease-in-out .3s;
    -o-transition: all ease-in-out .3s;
}

.lightSlider .point-nav .point.active,
.lightSlider .point-nav .point:hover {
    opacity: 1;
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
}

.lightSlider .social {
    position: absolute;
    bottom: 80px;
    left: 40px;
    z-index: 10;
    display: flex;
    gap: 10px;
}

.lightSlider .social li a {
    display: flex;
    background: var(--verdeDestacado);
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    border-radius: 50px;
    font-size: 20px;
}

.lightSlider .phone {
    position: absolute;
    bottom: 80px;
    right: 40px;
    display: flex;
    background: var(--verdeDestacado);
    width: 65px;
    height: 65px;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    border-radius: 50px;
    font-size: 30px;
    z-index: 10;
}

.lightSlider .social li a:hover,
.lightSlider .phone:hover {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
}



@media only screen and (min-width: 768px) and (max-width: 959px) {
    .lightSlider {
        min-height: 540px;
    }

    .lightSlider .text-wrap h1 {
        font-size: 64px;
    }

    .lightSlider .text-wrap img {
        max-width: 60px;
    }

    .lightSlider .text-wrap h2 {
        font-size: 24px;
    }
}

@media only screen and (max-width: 767px) {
    .lightSlider {
        min-height: 460px;
    }

    .lightSlider .text-wrap h1 {
        font-size: 48px;
    }

    .lightSlider .text-wrap img {
        max-width: 60px;
    }

    .lightSlider .text-wrap h2 {
        font-size: 22px;
    }

    .lightSlider .phone {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }

    .lightSlider .social li a {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
}

@media only screen and (max-width: 560px) {
    .lightSlider {
        min-height: 400px;
    }

    .lightSlider .text-wrap h1 {
        font-size: 34px;
    }

    .lightSlider .text-wrap img {
        max-width: 45px;
    }

    .lightSlider .text-wrap h2 {
        font-size: 18px;
    }

    .lightSlider .moreInfo {
        left: calc( 50% - 13px );
    }

    .lightSlider .moreInfo > a:before {
        width: 26px;
        height: 26px;
    }
}