/* ── Hero Banner Block ──────────────────────────────── */

.ros-hero-banner {
    position: relative;
    width: 100%;
    min-height: 75vh;
    background-color: #0f1720;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
}

.ros-hero-banner__slider {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
}

.ros-hero-banner__slide {
    height: 100%;
    background: #444;
}

.ros-hero-banner__slider .swiper-wrapper {
    height: 100%;
}

.ros-hero-banner__slider:not(.swiper-initialized) .swiper-wrapper {
    position: relative;
}

.ros-hero-banner__slider:not(.swiper-initialized) .ros-hero-banner__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.ros-hero-banner__slider:not(.swiper-initialized) .ros-hero-banner__slide:first-child {
    opacity: 1;
}

.ros-hero-banner__slide-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dark overlay over the banner image */
.ros-hero-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.55) 60%,
        rgba(0, 0, 0, 0.70) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Content sits above overlay */
.ros-hero-banner__content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 40px 20px;
    max-width: 80%;
    margin: 0 auto;
    pointer-events: none;
}

.ros-hero-banner__actions,
.ros-hero-banner__actions .ros-btn {
    pointer-events: auto;
}

.ros-hero-banner__scrollbar {
    position: absolute;
    left: 50%;
    bottom: 84px;
    width: min(320px, calc(100% - 48px));
    height: 4px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 4;
    visibility: hidden;
    pointer-events: none;
}

.ros-hero-banner--has-swiper .ros-hero-banner__scrollbar {
    visibility: visible;
    pointer-events: auto;
}

.ros-hero-banner__scrollbar .swiper-scrollbar-drag {
    background: #e85d04;
    border-radius: 999px;
}

/* Main Heading */
.ros-hero-banner__heading {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 20px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.5px;
}

/* Sub Heading */
.ros-hero-banner__subheading {
    font-size: clamp(1rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
    margin: 0 0 36px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

/* CTA Buttons */
.ros-hero-banner__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.ros-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    white-space: nowrap;
}

/* Primary – Contact Us */
.ros-btn--primary {
    background: #e85d04;
    color: #ffffff;
    border: 2px solid #e85d04;
}
.ros-btn--primary:hover {
    background: #c44d00;
    border-color: #c44d00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 93, 4, 0.4);
}

/* Outline – Discover More */
.ros-btn--outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.75);
}
.ros-btn--outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.ros-btn__arrow {
    font-size: 18px;
    line-height: 1;
}

/* Scroll hint arrow at bottom */
.ros-hero-banner__scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.ros-hero-banner__scroll-hint a {
    display: block;
    text-decoration: none;
}

.ros-scroll-arrow {
    display: block;
    width: 24px;
    height: 24px;
    border-right: 3px solid rgba(255,255,255,0.7);
    border-bottom: 3px solid rgba(255,255,255,0.7);
    transform: rotate(45deg);
    animation: ros-bounce 1.6s infinite;
    margin: 0 auto;
}

@keyframes ros-bounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.7; }
    50%       { transform: rotate(45deg) translateY(6px); opacity: 1; }
}

/* ── Responsive ─────────────────────────────────────── */
@media ( max-width: 768px ) {
    .ros-hero-banner {
        min-height: 80vh;
    }

    .ros-hero-banner__content {
        max-width: 100%;
    }

    .ros-hero-banner__actions {
        flex-direction: column;
        align-items: center;
    }

    .ros-hero-banner__scrollbar {
        bottom: 88px;
        width: calc(100% - 56px);
    }

    .ros-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    .ros-hero-banner__slide-image {
        object-fit: cover;
    }
}

/* ── Editor preview mode ────────────────────────────── */
.block-editor .ros-hero-banner {
    min-height: 60vh;
}
