﻿/* ==========================================
   SLIDER HOME
========================================== */

.slider__home {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider__home .splide__track,
.slider__home .splide__list,
.slider__home .splide__slide {
    height: 100%;
}

/* ==========================================
   IMÁGENES
========================================== */

.slider__home-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider__home-image-bg {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: scale(1.15);

    filter: blur(25px);

    opacity: .35;
}

.slider__home-image-main {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 100%;

    object-fit: contain;
}

/* ==========================================
   FLECHAS
========================================== */

.slider__home .splide__arrow {

    width: 50px;
    height: 50px;

    background: rgba(255,255,255,.95);

    border-radius: 999px;

    border: none;

    opacity: 1;

    box-shadow:
        0 10px 25px rgba(0,0,0,.15);

    transition: all .3s ease;
}

.slider__home .splide__arrow:hover {
    transform: translateY(-50%) scale(1.08);
}

.slider__home .splide__arrow svg {

    fill: #125CA2;

    width: 18px;
    height: 18px;
}

.slider__home .splide__arrow--prev {
    left: 1rem;
}

.slider__home .splide__arrow--next {
    right: 1rem;
}

/* ==========================================
   PAGINACIÓN
========================================== */

.slider__home .splide__pagination {

    position: absolute !important;

    left: 50% !important;
    right: auto !important;

    bottom: 20px !important;

    transform: translateX(-50%) !important;

    display: flex !important;

    justify-content: center !important;

    align-items: center !important;

    gap: 8px;

    width: auto !important;

    padding: 0 !important;
    margin: 0 !important;

    z-index: 40;
}

.slider__home .splide__pagination li {
    margin: 0 !important;
}

.slider__home .splide__pagination__page {

    width: 12px;

    height: 12px;

    border-radius: 999px;

    background: #ffffff;

    opacity: .6;

    margin: 0 !important;

    transition: all .3s ease;
}

.slider__home .splide__pagination__page.is-active {

    background: #FCD116;

    opacity: 1;

    transform: scale(1.3);
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 768px) {

    .slider__home .splide__arrow {
        width: 40px;
        height: 40px;
    }

    .slider__home .splide__arrow svg {
        width: 14px;
        height: 14px;
    }

    .slider__home .splide__pagination {
        bottom: 12px !important;
    }

}