﻿/* CARRUSEL DE BANNERS - KINETIK VOLT */

.kv-carousel,
.kv-carousel * {
    box-sizing: border-box;
}

.kv-carousel {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #080b0c;
}

/* PISTA HORIZONTAL UNICA */

.kv-carousel__track {
    display: flex;
    width: 100%;
    transform: translateX(0);
    transition: transform 0.8s ease-in-out;
    will-change: transform;
}

.kv-carousel__slide {
    display: block;
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

@media (prefers-reduced-motion: reduce) {
    .kv-carousel__track {
        transition: none;
    }
}
/* FLECHAS DE NAVEGACION */

.kv-carousel__arrow {
    position: absolute;
    z-index: 10;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;
    font-size: 23px;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s ease;
}

.kv-carousel__arrow:hover {
    background: rgba(34, 197, 94, 0.85);
}

.kv-carousel__arrow--prev {
    left: 16px;
}

.kv-carousel__arrow--next {
    right: 16px;
}

/* INDICADORES INFERIORES */

.kv-carousel__indicators {
    position: absolute;
    z-index: 10;
    bottom: 20px;
    left: 50%;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.kv-carousel__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.kv-carousel__dot--active {
    width: 28px;
    border-radius: 10px;
    background: #22c55e;
}

/* ADAPTACION A CELULARES */

@media (max-width: 600px) {
    .kv-carousel__arrow {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }

    .kv-carousel__arrow--prev {
        left: 8px;
    }

    .kv-carousel__arrow--next {
        right: 8px;
    }

    .kv-carousel__indicators {
        bottom: 12px;
    }
}

/* ACCESIBILIDAD */

@media (prefers-reduced-motion: reduce) {
    .kv-carousel__slide--active {
        animation: none;
    }

    .kv-carousel__arrow {
        transition: none;
    }
}


/* CONTROL DE CAPAS DEL CARRUSEL */

.kv-carousel__slide {
    position: relative;
    z-index: 0;
}

.kv-carousel__slide--active {
    z-index: 2;
}

.kv-carousel__slide--leaving {
    z-index: 1;
}

/* FIN CONTROL DE CAPAS DEL CARRUSEL */


/* ALTURA UNIFICADA DE BANNERS DEL CARRUSEL */

.kv-carousel__track {
    align-items: stretch;
}

.kv-carousel__slide {
    display: flex;
    flex-direction: column;
}

.kv-carousel__slide > .kv-hero {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.kv-carousel__slide > .kv-hero > .kv-hero__slide {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.kv-carousel__slide .kv-hero__content {
    flex: 1 1 auto;
}