/* =========================================================
   ULTRAPC - HERO SLIDER HOME
   ========================================================= */

.upc-hero-slider {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.upc-hero-slider,
.upc-hero-slider * {
    box-sizing: border-box;
}


/* =========================================================
   VIEWPORT
   ========================================================= */

.upc-hero-slider__viewport {
    position: relative;
    width: 100%;
    min-height: 470px;
    overflow: hidden;

    border: 1px solid rgba(60, 145, 255, .30);
    border-radius: 22px;

    background:
        radial-gradient(
            circle at 68% 48%,
            rgba(19, 105, 230, .23) 0%,
            rgba(19, 105, 230, .08) 24%,
            transparent 49%
        ),
        radial-gradient(
            circle at 95% 10%,
            rgba(45, 137, 255, .12),
            transparent 30%
        ),
        linear-gradient(
            110deg,
            #041124 0%,
            #071a35 48%,
            #031023 100%
        );

    box-shadow:
        0 18px 46px rgba(0, 18, 48, .20),
        inset 0 1px 0 rgba(255, 255, 255, .035);
}


/* =========================================================
   DECORACIÓN
   ========================================================= */

.upc-hero-slider__viewport::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, .018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, .018) 1px,
            transparent 1px
        );

    background-size: 42px 42px;

    -webkit-mask-image:
        linear-gradient(
            90deg,
            transparent,
            rgba(0,0,0,.5),
            transparent
        );

    mask-image:
        linear-gradient(
            90deg,
            transparent,
            rgba(0,0,0,.5),
            transparent
        );
}

.upc-hero-slider__viewport::after {
    content: "";
    position: absolute;
    width: 470px;
    height: 470px;
    right: 150px;
    bottom: -355px;

    border: 1px solid rgba(63, 155, 255, .22);
    border-radius: 50%;

    box-shadow:
        0 0 55px rgba(30, 127, 255, .10),
        inset 0 0 45px rgba(30, 127, 255, .05);

    pointer-events: none;
}


/* =========================================================
   TRACK / SLIDE
   ========================================================= */

.upc-hero-slider__track {
    position: relative;
    width: 100%;
}

.upc-hero-slider__slide {
    position: relative;

    display: grid;
    grid-template-columns:
        minmax(420px, 1.08fr)
        minmax(360px, .92fr)
        220px;

    align-items: center;
    gap: 28px;

    width: 100%;
    min-height: 470px;

    padding: 55px 70px 58px 82px;

    color: #fff;
}


/* =========================================================
   TEXTO
   ========================================================= */

.upc-hero-slider__content {
    position: relative;
    z-index: 5;

    max-width: 570px;
}

.upc-hero-slider__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 17px;
    padding: 7px 12px;

    border: 1px solid rgba(75, 159, 255, .30);
    border-radius: 999px;

    background: rgba(28, 112, 218, .12);

    color: #68b4ff;

    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 1.25px;
}

.upc-hero-slider__eyebrow i {
    font-size: 12px;
}

.upc-hero-slider__title {
    margin: 0 0 17px;

    color: #fff;

    font-size: clamp(38px, 3.25vw, 54px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -1.7px;
}

.upc-hero-slider__title strong {
    color: #55a8ff;
    font-weight: 800;
}

.upc-hero-slider__description {
    max-width: 510px;

    margin: 0 0 25px;

    color: #aebfd4;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
}


/* =========================================================
   FEATURES
   ========================================================= */

.upc-hero-slider__features {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 27px;
}

.upc-hero-slider__features span {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    min-height: 34px;

    padding: 7px 11px;

    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;

    background: rgba(255, 255, 255, .038);

    color: #bfd0e4;

    font-size: 11.5px;
    font-weight: 600;
    line-height: 1;
}

.upc-hero-slider__features i {
    color: #3e98f5;
    font-size: 12px;
}


/* =========================================================
   BOTÓN
   ========================================================= */

.upc-hero-slider__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;

    min-height: 48px;

    padding: 0 21px;

    border: 1px solid rgba(100, 180, 255, .30);
    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #2387ef,
            #1766c7
        );

    color: #fff !important;

    font-size: 13px;
    font-weight: 750;
    line-height: 1;
    text-decoration: none !important;

    box-shadow:
        0 9px 25px rgba(16, 99, 207, .25),
        inset 0 1px 0 rgba(255, 255, 255, .18);

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        filter .18s ease;
}

.upc-hero-slider__button:hover {
    color: #fff !important;

    transform: translateY(-2px);

    filter: brightness(1.08);

    box-shadow:
        0 13px 30px rgba(16, 99, 207, .34),
        inset 0 1px 0 rgba(255, 255, 255, .20);
}

.upc-hero-slider__button i {
    font-size: 11px;
}


/* =========================================================
   PRODUCTO
   ========================================================= */

.upc-hero-slider__visual {
    position: relative;
    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;
    height: 100%;
}

.upc-hero-slider__glow {
    position: absolute;

    width: 410px;
    height: 250px;

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse,
            rgba(34, 132, 255, .33) 0%,
            rgba(20, 98, 210, .16) 34%,
            rgba(12, 54, 119, .05) 58%,
            transparent 74%
        );

    filter: blur(8px);

    transform: translateY(26px);
}

.upc-hero-slider__product {
    position: relative;
    z-index: 2;

    display: block;

    width: min(100%, 470px);
    max-height: 365px;

    object-fit: contain;

    border-radius: 9px;

    filter:
        drop-shadow(0 23px 30px rgba(0, 0, 0, .42));

    transform:
        perspective(1100px)
        rotateY(-4deg)
        rotateX(1deg);
}


/* =========================================================
   PANEL DERECHO
   ========================================================= */

.upc-hero-slider__panel {
    position: relative;
    z-index: 5;

    display: flex;
    flex-direction: column;

    align-items: flex-start;

    width: 100%;

    padding: 22px 20px;

    border: 1px solid rgba(72, 157, 255, .22);
    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            rgba(8, 31, 65, .88),
            rgba(3, 18, 39, .88)
        );

    box-shadow:
        0 15px 35px rgba(0, 9, 25, .23),
        inset 0 1px 0 rgba(255, 255, 255, .035);
}

.upc-hero-slider__panel-label {
    margin-bottom: 8px;

    color: #468fdf;

    font-size: 9px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: 1.5px;
}

.upc-hero-slider__panel strong {
    margin-bottom: 6px;

    color: #fff;

    font-size: 27px;
    font-weight: 750;
    line-height: 1;
}

.upc-hero-slider__panel small {
    color: #8fa8c4;

    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
}


/* =========================================================
   FLECHAS
   ========================================================= */

.upc-hero-slider__arrow {
    position: absolute;
    z-index: 15;
    top: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    padding: 0;

    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 12px;

    background: rgba(2, 18, 39, .68);

    color: rgba(255, 255, 255, .78);

    font-size: 13px;

    cursor: pointer;

    transform: translateY(-50%);

    backdrop-filter: blur(9px);

    transition:
        background-color .18s ease,
        border-color .18s ease,
        color .18s ease,
        transform .18s ease;
}

.upc-hero-slider__arrow:hover {
    border-color: rgba(91, 171, 255, .38);

    background: rgba(27, 107, 210, .80);

    color: #fff;
}

.upc-hero-slider__arrow--prev {
    left: 18px;
}

.upc-hero-slider__arrow--next {
    right: 18px;
}


/* =========================================================
   DOTS
   ========================================================= */

.upc-hero-slider__dots {
    position: absolute;
    z-index: 15;

    left: 50%;
    bottom: 18px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    transform: translateX(-50%);
}

.upc-hero-slider__dots button {
    display: block;

    width: 6px;
    height: 6px;

    padding: 0;

    border: 0;
    border-radius: 999px;

    background: rgba(255, 255, 255, .30);

    cursor: pointer;

    transition:
        width .2s ease,
        background-color .2s ease;
}

.upc-hero-slider__dots button.is-active {
    width: 22px;

    background: #348ff0;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1199px) {

    .upc-hero-slider {
        padding: 0 16px;
    }

    .upc-hero-slider__viewport {
        min-height: 430px;
    }

    .upc-hero-slider__slide {
        grid-template-columns: 1fr 1fr;

        min-height: 430px;

        padding:
            42px 55px
            48px;
    }

    .upc-hero-slider__panel {
        display: none;
    }

    .upc-hero-slider__title {
        font-size: 39px;
    }

    .upc-hero-slider__product {
        max-height: 310px;
    }
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 767px) {

    .upc-hero-slider {
        padding: 0 12px;
    }

    .upc-hero-slider__viewport {
        min-height: auto;

        border-radius: 17px;
    }

    .upc-hero-slider__slide {
        display: flex;
        flex-direction: column;

        min-height: auto;

        padding:
            34px 24px
            52px;

        text-align: center;
    }

    .upc-hero-slider__content {
        max-width: 100%;
    }

    .upc-hero-slider__eyebrow {
        margin-bottom: 13px;
    }

    .upc-hero-slider__title {
        margin-bottom: 13px;

        font-size: 32px;
        letter-spacing: -1px;
    }

    .upc-hero-slider__description {
        margin-bottom: 19px;

        font-size: 14px;
    }

    .upc-hero-slider__features {
        justify-content: center;

        margin-bottom: 21px;
    }

    .upc-hero-slider__features span {
        font-size: 10.5px;
    }

    .upc-hero-slider__visual {
        width: 100%;

        margin-top: 4px;
    }

    .upc-hero-slider__product {
        width: min(85%, 330px);
        max-height: 245px;
    }

    .upc-hero-slider__glow {
        width: 300px;
        height: 170px;
    }

    .upc-hero-slider__arrow {
        width: 35px;
        height: 35px;

        border-radius: 10px;
    }

    .upc-hero-slider__arrow--prev {
        left: 8px;
    }

    .upc-hero-slider__arrow--next {
        right: 8px;
    }

}

/* =========================================================
   ULTRAPC HERO V2
   AJUSTE PARA ANCHO REAL DE HOME
   ========================================================= */

@media (min-width: 1200px) {

    .upc-hero-slider__slide {
        grid-template-columns:
            minmax(0, 1.12fr)
            minmax(0, .95fr)
            155px !important;

        gap: 20px !important;

        padding:
            44px 58px
            50px !important;
    }

    .upc-hero-slider__content {
        max-width: 500px !important;
    }

    .upc-hero-slider__title {
        font-size: clamp(38px, 3vw, 48px) !important;
    }

    .upc-hero-slider__visual {
        min-width: 0 !important;
        overflow: visible !important;
    }

    .upc-hero-slider__product {
        width: 100% !important;
        max-width: 390px !important;
        max-height: 340px !important;
    }

    .upc-hero-slider__panel {
        width: 155px !important;
        padding: 18px 15px !important;
    }

    .upc-hero-slider__panel strong {
        font-size: 22px !important;
    }

    .upc-hero-slider__panel small {
        font-size: 10px !important;
    }

}
