/* ============================================================
   Hero XL - Elementor Widget Styles
   ============================================================ */

/* ── Container utilities (self-contained) ───────────────── */

.c-hero-xl .hero-xl--container {
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    max-width: 1524px;
    width: 100%;
}

.c-hero-xl .hero-xl--pad {
    padding-left: 60px;
    padding-right: 60px;
}

/* ── Base section ────────────────────────────────────────── */

.c-hero-xl {
    background-color: transparent;
    display: block;
    font-size: 0;
    overflow: clip;
    position: relative;
    width: 100%;
    height: auto;
    z-index: 1;
}

.c-hero-xl a {
    text-decoration: none;
}

.c-hero-xl h1,
.c-hero-xl h2,
.c-hero-xl h3,
.c-hero-xl h4,
.c-hero-xl h5,
.c-hero-xl h6 {
    margin: 0;
    padding: 0;
}

.c-hero-xl p {
    margin: 0;
    padding: 0;
    display: block;
}

/* ── Line mask (SplitText) ──────────────────────────────── */

.c-hero-xl .line-mask {
    clip-path: inset(-.1em);
    overflow: visible !important;
    overflow: initial !important;
}

/* ── Hero Main ──────────────────────────────────────────── */

.c-hero-xl .hero_main {
    background-color: transparent;
    color: #fff;
    position: relative;
    z-index: 1;
}

.c-hero-xl .hero_main .main_inner {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100lvh;
    padding-bottom: max(32px, min(calc(32px + .012 * (100vw - 440px)), 44px));
    padding-top: max(112px, min(calc(112px + (148 - 112) * ((100vw - 440px) / (1440 - 440))), 148px));
    row-gap: 100px;
}

.c-hero-xl .hero_main .main_top {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1 1 auto;
    justify-content: center;
}

.c-hero-xl .hero_main .main_heading {
    line-height: 1em;
    text-wrap: pretty;
    font-size: 3.3vw;
    font-weight: 600;
    text-transform: uppercase;
}

.c-hero-xl .hero_main .main_text {
    line-height: 1.2em;
    text-wrap: pretty;
    font-size: 2vw;
    font-weight: 300;
    text-transform: uppercase;
}

.c-hero-xl .hero_main .main_bottom {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px 20px;
    width: 100%;
    margin-top: auto;
}

.c-hero-xl .icons__wrapper img {
    height: 35px;
    width: auto;
}

/* ── Scroller ────────────────────────────────────────────── */

.c-hero-xl .hero_scroller {
    background: transparent;
    color: #fff;
    height: 100lvh;
    position: relative;
    z-index: 1;
}

@media (min-width: 1025px) and (min-height: 730px),
(max-width: 1024px) and (min-height: 500px) {
    .c-hero-xl .hero_scroller {
        padding-top: 70px;
    }
}

.c-hero-xl .hero_scroller .scroller_head {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    justify-content: space-between;
    padding-bottom: 44px;
    padding-top: 48px;
}

.c-hero-xl .hero_scroller .scroller_body {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    width: 100%;
}

.c-hero-xl .hero_scroller .scroller_progress {
    background-color: rgba(255, 255, 255, 0.2);
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 1px;
}

.c-hero-xl .hero_scroller .progress_bar {
    background-color: #fff;
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: 0% 50%;
    z-index: 1;
}

.c-hero-xl .hero_scroller .scroller_content {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 44px 20px;
    padding-top: 32px;
    width: 100%;
}

@media (min-width: 1025px) {
    .c-hero-xl .hero_scroller .scroller_content {
        align-items: flex-start;
        display: grid;
        /* grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); */
        grid-template-columns: minmax(0, 1fr);
    }
}

.c-hero-xl .hero_scroller .content_index {
    width: 100%;
    display: none;
}

.c-hero-xl .hero_scroller .index_inner {
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 20px;
    display: inline-flex;
    font-family: "Roboto Mono", Menlo, Consolas, Monaco, monospace;
    font-size: max(.75rem, min(calc(.75rem + .002 * (100vw - 27.5rem)), .875rem));
    line-height: 1em;
    justify-content: flex-start;
    padding: 12px 17px;
    width: fit-content;
}

.c-hero-xl .hero_scroller .index_inner>* {
    align-items: center;
    display: inline-flex;
    min-width: 20px;
    justify-content: center;
}

.c-hero-xl .hero_scroller .index_divider,
.c-hero-xl .hero_scroller .index_total {
    color: rgba(255, 255, 255, 0.3);
}

.c-hero-xl .hero_scroller .content_main {
    position: relative;
    width: 100%;
    height: 100%;
}

.c-hero-xl .hero_scroller .main_item {
    display: flex;
    top: 0;
    left: 0;
    position: absolute;
    flex-direction: column;
    width: 100%;
    opacity: 0;
    transition: opacity .3s ease;
}

.c-hero-xl .hero_scroller .main_item .item_text {
    font-size: max(1.875rem, min(calc(1.875rem + .028 * (100vw - 27.5rem)), 3.625rem));
    /* letter-spacing: -.02em; */
    letter-spacing: -.02em;
    line-height: 1.1em;
    text-wrap: pretty;
    text-transform: uppercase;
}

.c-hero-xl .hero_scroller .char {
    display: inline-block;
    opacity: .5;
}

.c-hero-xl .hero_scroller .line {
    display: block;
}

/* Scroller Item Heading */
.c-hero-xl .hero_scroller .main_item .item_heading {
    font-size: max(1.25rem, min(calc(1.25rem + .015 * (100vw - 27.5rem)), 2rem));
    font-weight: 600;
    letter-spacing: -.01em;
    line-height: 1.2;
    margin-bottom: 16px;
    text-transform: uppercase;
}

/* Rich Text Formatting */
.c-hero-xl .hero_scroller .main_item .item_text a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.c-hero-xl .hero_scroller .main_item .item_text strong,
.c-hero-xl .hero_scroller .main_item .item_text b {
    font-weight: 600;
}

.c-hero-xl .hero_scroller .main_item .item_text em,
.c-hero-xl .hero_scroller .main_item .item_text i {
    font-style: italic;
}

/* Font Inheritance */
.c-hero-xl,
.c-hero-xl .main_heading,
.c-hero-xl .main_text,
.c-hero-xl .hero_scroller .main_item {
    font-family: inherit;
}

/* ── Background ──────────────────────────────────────────── */

.c-hero-xl .hero_background {
    height: 100lvh;
    margin: 0;
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    z-index: 0;
}

.c-hero-xl .background_frame {
    background-color: transparent;
    border-radius: 20px;
    height: calc(100lvh - 16px);
    overflow: hidden;
    inset: 8px;
    position: absolute;
    width: calc(100% - 16px);
}

@media (min-width: 1025px) {
    .c-hero-xl .background_frame {
        height: calc(100lvh - 24px);
        inset: 12px;
        position: absolute;
        width: calc(100% - 24px);
    }
}

.c-hero-xl .background_canvas {
    background-color: #000;
    clip-path: inset(50% 50% 50% 50% round 100px);
    opacity: 1;
    top: 50%;
    left: 50%;
    position: absolute;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
}

@media (min-width: 1025px) {
    .c-hero-xl .background_canvas {
        clip-path: inset(50% 50% 50% 50% round 200px);
    }
}

.c-hero-xl .background_canvas * {
    margin: auto;
    object-fit: cover;
    object-position: center;
    opacity: .875;
    top: 0;
    left: 0;
    position: absolute;
    width: 100% !important;
    height: 100% !important;
    transform: scale(1);
}

.c-hero-xl .background_canvas video {
    object-fit: cover;
    object-position: center;
}

/* ── Elementor Editor Preview ───────────────────────────── */

.c-hero-xl.is-preview .background_canvas {
    clip-path: inset(0% round 0) !important;
}

.elementor-editor-active .c-hero-xl .main_heading,
.elementor-editor-active .c-hero-xl .main_text {
    opacity: 1 !important;
}
