/*.hero {*/
/*    height: 100vh;*/
/*    background: url('../img/hero.jpg') center/cover no-repeat;*/
/*    display: flex;*/
/*    align-items: center;*/
/*}*/

/*.hero-content {*/
/*    margin-left: 10%;*/
/*    max-width: 600px;*/
/*}*/

.hero h1 {
    color: #fff;
    font-size: 39.2px;
}

.hero p {
    color: #fff;
    margin: 20px 0;
}

.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}


/*<!-- Carrusel*/
/* ===================================================
   HERO CARRUSEL
   =================================================== */

.hero-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Carrusel */
.carousel {
    position: relative;
    width: 100%;
    height: 75vh;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Texto inferior */
.hero-caption {
    background: #e6e6e6;
    text-align: center;
    padding: 30px 20px;
}

.hero-caption p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 20px;
    font-weight: 500;
    color: #222;
}

@media (max-width: 768px) {

    .carousel {
        height: 55vh;
    }

    .hero-caption p {
        font-size: 16px;
    }
}
/* ===================================================
   FLECHAS DEL CARRUSEL
   =================================================== */

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0,0,0,.45);
    color: #fff;
    border: none;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s ease, transform .25s ease;
}

.carousel-arrow:hover {
    background: rgba(0,0,0,.65);
    transform: translateY(-50%) scale(1.08);
}

/* Posición */
.carousel-arrow.prev {
    left: 20px;
}

.carousel-arrow.next {
    right: 20px;
}

/* Mobile: un poco más chicas */
@media (max-width: 768px) {
    .carousel-arrow {
        width: 38px;
        height: 38px;
        font-size: 26px;
    }
}


