.footbody-root,
.footbody-root * {
    box-sizing: border-box;
}

.footbody-root {
    --footbody-bg: #02070d;
    --footbody-top-line: #543223;
    --footbody-stage-h: 334px;
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--footbody-bg);
    border-top-style: solid;
    border-top-color: var(--footbody-top-line);
    isolation: isolate;
    color: #fff;
}

.footbody-stage {
    position: relative;
    width: 100%;
    height: var(--footbody-stage-h);
    min-height: var(--footbody-stage-h);
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 42%, rgba(0, 113, 187, .11) 0%, rgba(0, 45, 77, .05) 34%, transparent 60%),
        linear-gradient(90deg, #02070d 0%, #02070d 48%, #030910 68%, #02070d 100%);
}

.footbody-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.footbody-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.footbody-effect-fade .footbody-slide {
    opacity: 0;
    visibility: hidden;
    transition-property: opacity, visibility;
    transition-timing-function: cubic-bezier(.22,.61,.36,1);
}

.footbody-effect-fade .footbody-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.footbody-effect-slide .footbody-slide {
    transform: translateX(100%);
    visibility: hidden;
    transition-property: transform, visibility;
    transition-timing-function: cubic-bezier(.22,.61,.36,1);
}

.footbody-effect-slide .footbody-slide.is-active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

.footbody-effect-slide .footbody-slide.is-before {
    transform: translateX(-100%);
}

.footbody-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg,
            rgba(2,7,13,1) 0%,
            rgba(2,7,13,.99) 38%,
            rgba(2,7,13,.94) 46%,
            rgba(2,7,13,.78) 53%,
            rgba(2,7,13,.52) 61%,
            rgba(2,7,13,.28) 69%,
            rgba(2,7,13,.10) 77%,
            rgba(2,7,13,0) 88%
        );
}

.footbody-media {
    --footbody-media-w: 58%;
    --footbody-fade-start: 8%;
    --footbody-fade-end: 30%;
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: var(--footbody-media-w);
    overflow: hidden;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg,
        transparent 0%,
        rgba(0,0,0,0) var(--footbody-fade-start),
        rgba(0,0,0,.16) calc(var(--footbody-fade-start) + 8%),
        rgba(0,0,0,.42) var(--footbody-fade-end),
        rgba(0,0,0,.72) calc(var(--footbody-fade-end) + 12%),
        #000 calc(var(--footbody-fade-end) + 24%),
        #000 100%
    );
    mask-image: linear-gradient(90deg,
        transparent 0%,
        rgba(0,0,0,0) var(--footbody-fade-start),
        rgba(0,0,0,.16) calc(var(--footbody-fade-start) + 8%),
        rgba(0,0,0,.42) var(--footbody-fade-end),
        rgba(0,0,0,.72) calc(var(--footbody-fade-end) + 12%),
        #000 calc(var(--footbody-fade-end) + 24%),
        #000 100%
    );
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.footbody-media::before,
.footbody-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

/* The media itself can have a slightly different black/navy background.
   This long overlay removes the visible rectangular edge and melts it into the widget floor. */
.footbody-media::before {
    background:
        linear-gradient(90deg,
            var(--footbody-bg) 0%,
            rgba(2,7,13,.96) 10%,
            rgba(2,7,13,.80) 22%,
            rgba(2,7,13,.54) 34%,
            rgba(2,7,13,.28) 46%,
            rgba(2,7,13,.10) 56%,
            rgba(2,7,13,0) 66%
        );
}

.footbody-media::after {
    background:
        linear-gradient(180deg, rgba(2,7,13,.38) 0%, rgba(2,7,13,.08) 12%, transparent 28%, transparent 72%, rgba(2,7,13,.10) 88%, rgba(2,7,13,.36) 100%),
        radial-gradient(circle at 60% 52%, transparent 20%, rgba(0,0,0,.06) 72%, rgba(0,0,0,.24) 100%);
}

.footbody-media-element,
.footbody-media img,
.footbody-media video {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 65% center;
}

.footbody-copy {
    --footbody-copy-w: 50%;
    position: relative;
    z-index: 3;
    width: var(--footbody-copy-w);
    max-width: 760px;
    height: 100%;
    padding: 18px 12px 17px 66px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footbody-eyebrow {
    margin: 0 0 7px;
    color: #f24742;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 2.1px;
    text-transform: uppercase;
}

.footbody-title {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
}

.footbody-title-line {
    display: block;
    margin: 0;
    color: #f3f4f6;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 31px;
    line-height: 1.03;
    font-weight: 700;
    letter-spacing: -.7px;
    white-space: nowrap;
    text-shadow: 0 1px 0 rgba(255,255,255,.04);
}

.footbody-description {
    max-width: 560px;
    margin-top: 7px;
    color: #9da3ad;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 400;
}

.footbody-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 9px;
    row-gap: 8px;
    width: 100%;
    max-width: 594px;
    margin-top: 8px;
}

.footbody-feature {
    position: relative;
    min-width: 0;
    min-height: 70px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    overflow: hidden;
    border: 1px solid #1d3447;
    border-radius: 8px;
    background: rgba(4,10,16,.70);
    box-shadow: inset 0 0 22px rgba(0, 101, 161, .025);
}

.footbody-feature-icon {
    flex: 0 0 auto;
    width: 37px;
    height: 37px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footbody-feature-icon img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
}

.footbody-icon-placeholder {
    display: none;
    width: 100%;
    height: 100%;
    border: 1px dashed rgba(64, 179, 236, .38);
    border-radius: 50%;
}

.elementor-editor-active .footbody-icon-placeholder {
    display: block;
}

.footbody-feature-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.footbody-feature-title {
    color: #eef1f5;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
}

.footbody-feature-description {
    margin-top: 3px;
    color: #9da5af;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    line-height: 1.35;
    font-weight: 400;
}

.footbody-arrow {
    position: absolute;
    z-index: 15;
    top: 50%;
    width: 34px;
    height: 48px;
    transform: translateY(-50%);
    border: 1px solid #31aeea;
    border-radius: 5px;
    background: rgba(0, 7, 12, .72);
    color: #31aeea;
    cursor: pointer;
}

.footbody-prev { left: 8px; }
.footbody-next { right: 8px; }

.footbody-dots {
    position: absolute;
    z-index: 15;
    left: 50%;
    bottom: 9px;
    display: flex;
    align-items: center;
    gap: 7px;
    transform: translateX(-50%);
}

.footbody-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.28);
    cursor: pointer;
}

.footbody-dot.is-active {
    background: #31aeea;
}

.footbody-logo-strip {
    position: relative;
    z-index: 5;
    width: 100%;
    min-height: 78px;
    overflow: hidden;
    background: #02070d;
}

.footbody-logo-strip::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 2.8%;
    right: 2.8%;
    height: 1px;
    background: #183047;
    opacity: .72;
}

.footbody-logo-title {
    position: relative;
    z-index: 2;
    width: max-content;
    max-width: calc(100% - 40px);
    margin: 9px auto 0;
    padding: 0 15px;
    background: #02070d;
    color: #c9cdd3;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    line-height: 16px;
    font-weight: 700;
    letter-spacing: 3.2px;
    text-transform: uppercase;
    white-space: nowrap;
}

.footbody-logo-title::before,
.footbody-logo-title::after {
    content: "";
    display: none;
}

.footbody-logo-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 5px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}

.footbody-logo-track {
    display: flex;
    align-items: center;
    gap: 28px;
    width: max-content;
    will-change: transform;
    transform: translate3d(0,0,0);
}

.footbody-logo-set {
    display: flex;
    align-items: center;
    gap: inherit;
    flex: 0 0 auto;
}

.footbody-logo-link {
    display: block;
    flex: 0 0 auto;
    text-decoration: none;
    line-height: 0;
}

.footbody-logo {
    flex: 0 0 auto;
    width: 135px;
    min-width: 0;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.footbody-logo img {
    display: block;
    max-width: 100%;
    width: auto;
    max-height: 29px;
    height: auto;
    object-fit: contain;
    opacity: .55;
    transition: opacity .2s ease, filter .2s ease;
}

.footbody-logo-placeholder {
    color: rgba(224, 229, 235, .34);
    font: 700 18px/1 Arial, Helvetica, sans-serif;
    letter-spacing: .4px;
    white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
    .footbody-logo-link:hover img,
    .footbody-logo:hover img {
        opacity: .95;
    }
}

@media (max-width: 1024px) {
    .footbody-stage {
        height: var(--footbody-stage-h, 420px);
        min-height: var(--footbody-stage-h, 420px);
    }

    .footbody-slide::before {
        background: linear-gradient(90deg, rgba(2,7,13,1) 0%, rgba(2,7,13,.98) 40%, rgba(2,7,13,.86) 50%, rgba(2,7,13,.60) 60%, rgba(2,7,13,.28) 70%, rgba(2,7,13,.08) 80%, transparent 91%);
    }

    .footbody-copy {
        --footbody-copy-w: 55%;
        padding: 24px 16px 22px 34px;
    }

    .footbody-title-line {
        white-space: normal;
    }

    .footbody-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .footbody-stage {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible;
    }

    .footbody-slides {
        height: auto;
    }

    .footbody-slide,
    .footbody-effect-fade .footbody-slide,
    .footbody-effect-slide .footbody-slide {
        position: relative;
        inset: auto;
        height: auto;
        min-height: 0;
        transform: none !important;
    }

    .footbody-slide:not(.is-active) {
        display: none;
    }

    .footbody-slide.is-active {
        display: flex;
        flex-direction: column;
        opacity: 1;
        visibility: visible;
    }

    .footbody-slide::before {
        display: none;
    }

    .footbody-copy {
        order: 1;
        width: 100% !important;
        max-width: none;
        height: auto;
        padding: 26px 18px 18px;
        background:
            radial-gradient(circle at 80% 115%, rgba(0, 86, 145, .13), transparent 42%),
            #02070d;
    }

    .footbody-eyebrow {
        font-size: 10px;
    }

    .footbody-title-line {
        font-size: 29px;
        line-height: 1.04;
        white-space: normal;
    }

    .footbody-description {
        max-width: none;
        font-size: 13px;
    }

    .footbody-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        max-width: none;
    }

    .footbody-feature {
        min-height: 96px;
        align-items: flex-start;
        padding: 10px 9px;
    }

    .footbody-feature-icon {
        width: 34px;
        height: 34px;
    }

    .footbody-media {
        order: 2;
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        width: 100% !important;
        height: clamp(220px, 66vw, 310px);
        transform: none !important;
        -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.18) 8%, rgba(0,0,0,.55) 18%, #000 31%, #000 100%);
        mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.18) 8%, rgba(0,0,0,.55) 18%, #000 31%, #000 100%);
    }

    .footbody-media::before {
        background: linear-gradient(180deg, var(--footbody-bg) 0%, rgba(2,7,13,.90) 10%, rgba(2,7,13,.58) 20%, rgba(2,7,13,.22) 30%, transparent 42%);
    }

    .footbody-media::after {
        background: linear-gradient(180deg, transparent 0%, transparent 76%, rgba(2,7,13,.08) 88%, rgba(2,7,13,.24) 100%);
    }

    .footbody-media img,
    .footbody-media video {
        object-position: center center !important;
    }

    .footbody-arrow {
        top: auto;
        bottom: 225px;
    }

    .footbody-dots {
        bottom: 235px;
    }

    .footbody-logo-strip::before {
        left: 14px;
        right: 14px;
    }

    .footbody-logo-viewport {
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
        mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
    }

    .footbody-logo {
        width: 112px;
    }
}

@media (max-width: 420px) {
    .footbody-features {
        grid-template-columns: 1fr;
    }

    .footbody-feature {
        min-height: 76px;
        align-items: center;
    }

    .footbody-title-line {
        font-size: clamp(26px, 8vw, 29px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .footbody-slide,
    .footbody-logo-track,
    .footbody-logo img {
        transition: none !important;
    }
}


/* =========================================================
 * v5.3 SOFT-EDGE FOOT BODY MEDIA BLEND
 * ========================================================= */
.footbody-media::before {
    background:
        linear-gradient(90deg,
            var(--footbody-bg) 0%,
            rgba(2,7,13,.98) 10%,
            rgba(2,7,13,.88) 24%,
            rgba(2,7,13,.64) 38%,
            rgba(2,7,13,.34) 52%,
            rgba(2,7,13,.12) 64%,
            rgba(2,7,13,0) 74%
        ) !important;
}

.footbody-media::after {
    background:
        linear-gradient(180deg, rgba(2,7,13,.36) 0%, rgba(2,7,13,.08) 12%, transparent 28%, transparent 72%, rgba(2,7,13,.10) 88%, rgba(2,7,13,.38) 100%),
        linear-gradient(270deg, rgba(2,7,13,.28) 0%, rgba(2,7,13,.10) 10%, rgba(2,7,13,0) 20%),
        radial-gradient(circle at 100% 0%, rgba(2,7,13,.26) 0%, rgba(2,7,13,0) 24%),
        radial-gradient(circle at 100% 100%, rgba(2,7,13,.24) 0%, rgba(2,7,13,0) 24%) !important;
}
