/* =========================================================
   UDB INDEN – ELEMENTOR HERO
========================================================= */

.udbew-hero{
    --udb-orange:#E97B12;
    --udb-orange-dark:#CC690B;
    --udb-white:#FFFFFF;
    --udb-dark:#171717;

    position:relative;

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

    margin:0;
    padding:0;

    overflow:hidden;

    isolation:isolate;

    background:#171717;

    font-family:"Inter","Arial",sans-serif;
}

.udbew-hero *,
.udbew-hero *::before,
.udbew-hero *::after{
    box-sizing:border-box;
}


/* =========================================================
   SLIDER
========================================================= */

.udbew-hero-slider{
    position:absolute;
    inset:0;

    z-index:1;

    width:100%;
    height:100%;

    overflow:hidden;
}


.udbew-hero-slide{
    position:absolute;
    inset:0;

    width:100%;
    height:100%;

    overflow:hidden;

    opacity:0;
    visibility:hidden;

    transition:
        opacity 1.15s ease,
        visibility 1.15s ease;
}


.udbew-hero-slide.is-active{
    z-index:2;

    opacity:1;
    visibility:visible;
}


/* =========================================================
   BACKGROUND
========================================================= */

.udbew-hero-bg{
    position:absolute;

    inset:-4%;

    width:108%;
    height:108%;

    background-repeat:no-repeat;
    background-size:cover;
    background-position:center center;

    transform:scale(1.075);

    will-change:transform;
}


.udbew-hero-slide.is-active
.udbew-hero-bg{
    animation:
        udbewHeroZoomOut
        7.4s
        cubic-bezier(.18,.62,.28,1)
        forwards;
}


@keyframes udbewHeroZoomOut{

    0%{
        transform:scale(1.075);
    }

    100%{
        transform:scale(1);
    }
}


/* =========================================================
   OVERLAYS
========================================================= */

.udbew-hero::before{
    content:"";

    position:absolute;
    inset:0;

    z-index:3;

    pointer-events:none;

    background:
        linear-gradient(
            90deg,
            rgba(12,12,12,.84) 0%,
            rgba(12,12,12,.73) 30%,
            rgba(12,12,12,.46) 53%,
            rgba(12,12,12,.17) 76%,
            rgba(12,12,12,.05) 100%
        );
}


.udbew-hero::after{
    content:"";

    position:absolute;
    inset:0;

    z-index:4;

    pointer-events:none;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.04) 0%,
            rgba(0,0,0,.03) 45%,
            rgba(0,0,0,.26) 100%
        );
}


/* =========================================================
   INNER
========================================================= */

.udbew-hero-inner{
    position:relative;

    z-index:6;

    display:flex;
    align-items:center;

    width:100%;
    max-width:1360px;

    height:100%;

    margin:0 auto;

    padding:
        82px
        30px;
}


.udbew-hero-content{
    width:100%;
    max-width:760px;
}


/* =========================================================
   EYEBROW
========================================================= */

.udbew-hero-eyebrow{
    margin:
        0
        0
        23px;

    color:var(--udb-orange);

    font-size:12px;
    line-height:1.2;

    font-weight:750;

    letter-spacing:2px;

    text-transform:uppercase;
}


/* =========================================================
   TITLE
========================================================= */

.udbew-hero-title{
    margin:
        0
        0
        14px !important;

    padding:0 !important;

    color:#FFFFFF !important;

    font-size:
        clamp(
            48px,
            5vw,
            72px
        );

    line-height:1.02;

    font-weight:600;

    letter-spacing:-2.2px;

    white-space:nowrap;
}


/* =========================================================
   SUBTITLE
========================================================= */

.udbew-hero-subtitle{
    margin:
        0
        0
        30px;

    color:var(--udb-orange);

    font-size:
        clamp(
            28px,
            3vw,
            41px
        );

    line-height:1.08;

    font-weight:600;

    letter-spacing:-1px;

    white-space:nowrap;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.udbew-hero-description{
    max-width:650px;

    margin:
        0
        0
        34px;

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

    font-size:17px;
    line-height:1.8;

    font-weight:400;
}


/* =========================================================
   BUTTONS
========================================================= */

.udbew-hero-actions{
    display:flex;

    align-items:center;
    flex-wrap:wrap;

    gap:14px;
}


.udbew-hero-btn{
    display:inline-flex;

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

    gap:11px;

    min-height:54px;

    padding:
        15px
        24px;

    border-radius:10px;

    font-size:14px;
    line-height:1;

    font-weight:650;

    text-decoration:none !important;

    transform:none !important;

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


.udbew-hero-btn svg{
    width:17px;
    height:17px;

    fill:none;
    stroke:currentColor;

    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;

    transition:
        transform .25s ease;
}


.udbew-hero-btn-primary{
    background:
        var(--udb-orange);

    border:
        1px solid
        var(--udb-orange);

    color:#FFFFFF !important;
}


.udbew-hero-btn-primary:hover{
    background:
        var(--udb-orange-dark);

    border-color:
        var(--udb-orange-dark);

    color:#FFFFFF !important;

    transform:none !important;
}


.udbew-hero-btn-primary:hover svg{
    transform:
        translateX(3px);
}


.udbew-hero-btn-secondary{
    background:
        rgba(255,255,255,.09);

    border:
        1px solid
        rgba(255,255,255,.48);

    color:#FFFFFF !important;

    backdrop-filter:
        blur(6px);
}


.udbew-hero-btn-secondary:hover{
    background:#FFFFFF;

    border-color:#FFFFFF;

    color:var(--udb-dark) !important;

    transform:none !important;
}


.udbew-hero-btn-secondary:hover svg{
    transform:
        translateX(3px);
}


/* =========================================================
   CAPTION
========================================================= */

.udbew-hero-caption{
    position:absolute;

    left:32px;
    bottom:27px;

    z-index:8;

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

    font-size:11px;
    line-height:1.2;

    font-weight:500;

    letter-spacing:.5px;
}


.udbew-hero-caption:empty{
    display:none;
}


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

.udbew-hero-dots{
    position:absolute;

    right:32px;
    bottom:28px;

    z-index:8;

    display:flex;

    align-items:center;

    gap:8px;
}


.udbew-hero-dot{
    width:9px;
    height:9px;

    margin:0;
    padding:0;

    border:0 !important;
    border-radius:50%;

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

    box-shadow:none !important;

    cursor:pointer;

    transform:none !important;

    transition:
        width .25s ease,
        border-radius .25s ease,
        background-color .25s ease;
}


.udbew-hero-dot:hover{
    background:
        rgba(255,255,255,.78);

    transform:none !important;
}


.udbew-hero-dot.is-active{
    width:30px;

    border-radius:999px;

    background:
        var(--udb-orange);
}


/* =========================================================
   ENTRANCE
========================================================= */

.udbew-hero-fade{
    opacity:0;

    transform:
        translateY(9px);

    transition:
        opacity .72s ease,
        transform .72s ease;
}


.udbew-hero.is-ready
.udbew-hero-fade{
    opacity:1;

    transform:
        translateY(0);
}


.udbew-hero.is-ready
.udbew-hero-fade-1{
    transition-delay:.06s;
}

.udbew-hero.is-ready
.udbew-hero-fade-2{
    transition-delay:.14s;
}

.udbew-hero.is-ready
.udbew-hero-fade-3{
    transition-delay:.22s;
}

.udbew-hero.is-ready
.udbew-hero-fade-4{
    transition-delay:.30s;
}

.udbew-hero.is-ready
.udbew-hero-fade-5{
    transition-delay:.38s;
}


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

@media(max-width:1024px){

    .udbew-hero-inner{
        padding:
            70px
            24px;
    }


    .udbew-hero-content{
        max-width:690px;
    }


    .udbew-hero-title{
        font-size:
            clamp(
                44px,
                5vw,
                60px
            );
    }


    .udbew-hero-subtitle{
        font-size:
            clamp(
                27px,
                3vw,
                35px
            );
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:767px){

    .udbew-hero-bg{
        inset:-5%;

        width:110%;
        height:110%;
    }


    .udbew-hero::before{
        background:
            linear-gradient(
                180deg,
                rgba(12,12,12,.12) 0%,
                rgba(12,12,12,.25) 28%,
                rgba(12,12,12,.66) 59%,
                rgba(12,12,12,.93) 100%
            );
    }


    .udbew-hero-inner{
        align-items:flex-end;

        padding:
            90px
            20px
            82px;
    }


    .udbew-hero-content{
        max-width:none;
    }


    .udbew-hero-eyebrow{
        margin-bottom:16px;

        font-size:11px;
    }


    .udbew-hero-title{
        margin-bottom:
            9px !important;

        font-size:
            clamp(
                32px,
                9vw,
                44px
            );

        letter-spacing:-1.2px;

        white-space:normal;
    }


    .udbew-hero-subtitle{
        margin-bottom:22px;

        font-size:
            clamp(
                22px,
                6.4vw,
                30px
            );

        letter-spacing:-.5px;

        white-space:normal;
    }


    .udbew-hero-description{
        margin-bottom:26px;

        font-size:15px;
        line-height:1.7;
    }


    .udbew-hero-actions{
        flex-direction:column;

        align-items:stretch;

        gap:11px;
    }


    .udbew-hero-btn{
        width:100%;
    }


    .udbew-hero-caption{
        left:20px;
        bottom:24px;

        max-width:160px;

        font-size:10px;
    }


    .udbew-hero-dots{
        right:20px;
        bottom:24px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media(max-width:420px){

    .udbew-hero-inner{
        padding:
            70px
            16px
            76px;
    }


    .udbew-hero-title{
        font-size:31px;
    }


    .udbew-hero-subtitle{
        font-size:22px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media(prefers-reduced-motion:reduce){

    .udbew-hero-slide{
        transition:none !important;
    }


    .udbew-hero-slide.is-active
    .udbew-hero-bg{
        animation:none !important;

        transform:scale(1) !important;
    }


    .udbew-hero-fade{
        opacity:1 !important;

        transform:none !important;

        transition:none !important;
    }

}
