.hero-video {
    position: relative;
    height: 75vh;
    width: 100%;
    overflow: hidden;
}

/* Video de fondo */
.hero-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

/* Capa oscura */
.hero-video .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
}

/* Contenido */
.hero-video .content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 0px 20px;
}

.hero-video h1 {
    font-family: 'Raleway', sans-serif;
    font-size: 3rem;
    color:#fff;
    margin-bottom: 10px;
    text-align: left;
    text-shadow: 0px 2px 5px #000000;
}

.hero-video p {
    font-family: 'Raleway', sans-serif;

    color:#fff;
    font-size: 1.2rem;
    max-width: 600px;
}
.descripcion-contenedor p, .descripcion-contenedor div{
    text-align: left;
}

/* Wrapper */
.autoComplete_wrapper {
    padding: 2px; /* grosor del borde */
    border-radius: 25px;
    background: linear-gradient(90deg, #7b1fc3 0%, #ff4d58 100%);
}

/* Input */
.autoComplete_wrapper input {
    width: 100%;
    border: none;
    outline: none;
    border-radius: 20px; /* 2px menos que el wrapper */
    padding: 12px 14px;
    color: #000!important;
    font-size: 16px;
    background: #fff;
}

#autoComplete{
    width: 500px;
    max-width: 100%;
}

/* Lista */
#autoComplete_list {
    margin-top: 6px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}


    #autoComplete::placeholder {
        color: #000000;
        opacity: 1;
    }

    .cf-wrapper {
        width: 100%;
        padding: 80px 0;
    }

    .swiper {
        width: 100%;
        height: 500px;
        overflow: visible;
    }

    .cf-swiper .swiper-slide {
        width: 300px!important;
        height: 100%!important;
        border-radius: 22px;
        overflow: hidden;
        transition: transform 0.45s ease, opacity 0.45s ease;
    }
    .ts-card{
        width: 100%;
        height: 100%;
    }
    .ts-title{
        position: absolute;
        bottom: 20px;
        left: 20px;
        color: #fff;
        font-size: 24px;
        font-weight: bold;
    }

    .swiper-slide img {
        height: 100%;
        object-fit: cover;
    }
    .swiperSocio{
        height: auto!important;
    }



    /* Slide activo */
    .cf-swiper .swiper-slide-active {
        transform: scale(1.05);
        z-index: 10;
        opacity: 1;
    }

    /* Slides ANTES del activo (más pequeños) */
    .cf-swiper .swiper-slide-prev {
        transform: translateX(-80px) scale(0.70);
        opacity: 1;
    }

    /* Slides DOS lugares antes */
    .cf-swiper .swiper-slide-prev ~ .swiper-slide-prev {
        transform: translateX(-100px) scale(0.5);
        opacity: 1;
    }


    /* Slides DESPUÉS del activo (normales) */
    .cf-swiper .swiper-slide-next,
    .cf-swiper .swiper-slide-next + .swiper-slide {
        transform: scale(0.7);
        opacity: 1;
    }

    .autoComplete_wrapper>input {
        background-image: none!important;
    }

    .autoComplete_wrapper {
        position: relative;
    }

    .autoComplete_wrapper::before {
        content: "";
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        width: 25px;
        height: 25px;
        background: url('/search.svg') no-repeat center;
        background-size: contain;
        pointer-events: none;
    }

    @media (max-width: 768px) {

        .hero-video {
            height: auto;
            padding: 40px 0 200px 0;
        }
        .hero-video h1 {
            margin-top: 1.2rem;
            font-size: 2rem;
            text-align: center;
            font-family: 'Raleway', sans-serif;
        }

        .hero-video p {
            font-size: 1.3rem;
            font-family: 'Raleway', sans-serif;
        }
        .descripcion-contenedor p, .descripcion-contenedor div{
           font-size: 1.3rem;
           font-family: 'Raleway', sans-serif;
        }
        #autoComplete{
            width: auto;
            max-width: 100%;
        }

    .hero-video .overlay{
        z-index: 0;
    }

    .cf-swiper{
        position: absolute;
        top: -250px;
    }

    .swiper {
        height: 350px;
    }

    .cf-swiper .swiper-slide {
        width: 200px!important;
    }
    .fondoMovilCarrusel{
        height: 170px;
    }
}
