/* V12 Layout Correction */

.navbar,
.navbar.v8-nav-hidden {
    position: sticky !important;
    top: 0 !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
    z-index: 10000 !important;
    transition: box-shadow .2s ease !important;
}

/* Homepage Hero Slider */

.hero {
    height: clamp(570px, 83svh, 850px) !important;
    min-height: 570px !important;
    max-height: 850px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    isolation: isolate !important;
    position: relative !important;
    background: #08090c !important;
}

/* Hero Content Container */

.hero .hero-stage {
    height: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    z-index: 3 !important;
}

.hero-slider {
    height: 100% !important;
    min-height: 0 !important;
    position: relative !important;
    width: 100% !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
}

/* Individual Slides */

.hero-slider .slide {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    padding: 45px clamp(22px, 5vw, 70px) 60px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    transform: none !important;
}

/* Slider Heading */

.hero-slider .slide h1,
.hero-slider .slide .h1x {
    margin: 0 0 20px !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: clamp(2.4rem, 5.2vw, 5.5rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -.025em !important;
    max-width: 900px !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    hyphens: none !important;
}

.hero-slider .slide .h1-a,
.hero-slider .slide .h1-b {
    display: inline !important;
}

/* Slider Description */

.hero-slider .slide p:not(.h1x) {
    margin: 0 !important;
    max-width: 660px !important;
    font-size: clamp(14px, 1.45vw, 18px) !important;
    line-height: 1.7 !important;
}

/* Hide Slider Buttons */

.hero-slider .v8-hero-controls,
.hero .v8-hero-controls,
.hero .btn {
    display: none !important;
}

/* Slider Navigation Dots */

.hero-slider .s-dots {
    position: absolute !important;
    bottom: 25px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 7 !important;
}

/* Full Height Background Images */

.hero-photos {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.hero-photos .hp {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

/* Premium Dark Image Overlay */

.hero-photos:after {
    content: "";
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, .80),
        rgba(0, 0, 0, .45) 62%,
        rgba(0, 0, 0, .20)
    ) !important;
    pointer-events: none !important;
}

.hero .hero-bg {
    pointer-events: none !important;
    opacity: .24 !important;
}

/* Need Help Support Icon */

.bgai-help-toggle {
    display: grid !important;
    place-items: center !important;
    font-size: 0 !important;
}

.bgai-help-toggle .bgai-bot-icon {
    display: block;
    color: #ffcc00 !important;
}

.bgai-help-toggle.bgai-close-mode .bgai-bot-icon {
    opacity: 0 !important;
}

.bgai-help-toggle.bgai-close-mode:after {
    content: '×';
    font-size: 29px;
    color: #ffcc00;
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

/* Customer Review Slider */

.reviews .h-slider {
    scroll-behavior: auto !important;
}

.reviews .review-card {
    flex: 0 0 clamp(260px, 28vw, 360px) !important;
}

/* Desktop Slider Height */

@media (min-width: 721px) {
    .hero {
        height: 83svh !important;
        min-height: 570px !important;
        max-height: 850px !important;
    }
}

/* Mobile Responsive Layout */

@media (max-width: 720px) {

    .hero {
        height: 520px !important;
        min-height: 520px !important;
        max-height: none !important;
    }

    .hero-slider .slide {
        padding: 38px 18px 56px !important;
    }

    .hero-slider .slide h1,
    .hero-slider .slide .h1x {
        font-size: clamp(2rem, 8.5vw, 3.8rem) !important;
        line-height: 1.1 !important;
    }

    .hero-slider .slide p:not(.h1x) {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    .hero-slider .s-dots {
        bottom: 15px !important;
    }

    .hero-photos .hp {
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }
}

/* Reduced Motion Accessibility */

@media (prefers-reduced-motion: reduce) {
    .hero-slider .slide * {
        animation: none !important;
    }
}