/* ============================================================
   Hero Section Styles — Cinematic Video Background
   Full-viewport immersive hero — Elita Lifts & Escalators
   ============================================================ */

.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    background-color: #07171D;
    padding-top: var(--navbar-height, 88px);
    padding-bottom: 50px;
    box-sizing: border-box;
}

/* ---- 1. Full-Screen Video Background ---- */
.hero__video-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Dark gradient overlay for text readability */
.hero__video-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        135deg,
        rgba(7, 23, 29, 0.82) 0%,
        rgba(7, 23, 29, 0.55) 50%,
        rgba(7, 23, 29, 0.35) 100%
    );
}

/* Legacy backdrop — hidden with video hero */
.hero__backdrop {
    display: none;
}

/* ---- 2. Architectural Hero Container & Composition ---- */
.hero__container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
    box-sizing: border-box;
}

.hero__composition {
    display: flex;
    align-items: center;
    position: relative;
    min-height: calc(100vh - var(--navbar-height, 88px) - 50px);
}

/* Left Editorial Content Area */
.hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 3;
    max-width: 640px;
}

/* Eyebrow Tag — now white/brand on dark */
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--color-brand);
    margin-bottom: 16px;
}

.hero__eyebrow-num {
    color: var(--color-brand);
}

.hero__eyebrow-sep {
    color: rgba(255, 255, 255, 0.25);
}

.hero__eyebrow-text {
    color: var(--color-brand);
    font-weight: 800;
}

/* Display Headline — white on dark video */
.hero__headline {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 4.5vw, 4.8rem);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.02;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero__headline-line {
    display: block;
}

.hero__accent-dot {
    color: var(--color-brand);
}

/* Engineering Description — light text on dark */
.hero__description {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.15vw, 1.15rem);
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
    max-width: 460px;
    margin-bottom: 32px;
}

/* Actions Hierarchy */
.hero__actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero__btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background-color: var(--color-brand);
    color: #FFFFFF;
    border-radius: var(--radius-xs, 4px);
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(186, 18, 27, 0.35);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(186, 18, 27, 0.45);
    background-color: var(--color-brand-hover, #970E16);
}

.hero__btn-arrow {
    transition: transform 0.25s ease;
}

.hero__btn-primary:hover .hero__btn-arrow {
    transform: translateX(5px);
}

/* Secondary ghost button */
.hero__btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #FFFFFF;
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.3);
    transition: all 0.25s ease;
}

.hero__btn-secondary:hover {
    border-bottom-color: var(--color-brand);
    color: var(--color-brand);
    gap: 12px;
}

.hero__btn-secondary svg {
    transition: transform 0.25s ease;
}

.hero__btn-secondary:hover svg {
    transform: translateX(4px);
}

/* ---- 3. Minimal Subtle Scroll Indicator ---- */
.hero__scroll {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    opacity: 0.6;
    transition: opacity var(--transition-fast);
}

.hero__scroll:hover {
    opacity: 1;
}

.hero__scroll-line {
    width: 1px;
    height: 22px;
    background: linear-gradient(180deg, var(--color-brand) 0%, rgba(186, 18, 27, 0) 100%);
    animation: subtlePulse 2.4s ease-in-out infinite;
}

.hero__scroll-text {
    font-family: var(--font-heading);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
}

@keyframes subtlePulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ---- 4. Responsive Viewports ---- */

/* Tablets & Small Desktops (1024px to 1279px) */
@media (max-width: 1279px) {
    .hero__container {
        padding: 0 32px;
    }
}

/* Tablets (768px to 1023px) */
@media (max-width: 1023px) {
    .hero {
        min-height: 100vh;
        padding-top: var(--navbar-height-scroll, 72px);
        padding-bottom: 40px;
    }

    .hero__content {
        max-width: 520px;
    }

    .hero__scroll {
        display: none;
    }
}

/* Mobile Devices (320px to 767px) */
@media (max-width: 767px) {
    .hero {
        min-height: 100svh;
        height: 100svh;
        padding-top: 70px;
        padding-bottom: 16px;
        align-items: flex-end;
    }

    .hero__video-overlay {
        background: linear-gradient(
            180deg,
            rgba(7, 23, 29, 0.4) 0%,
            rgba(7, 23, 29, 0.6) 40%,
            rgba(7, 23, 29, 0.88) 100%
        );
    }

    .hero__container {
        padding: 0 20px 12px;
        width: 100%;
    }

    .hero__composition {
        min-height: auto;
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__eyebrow {
        font-size: 0.6875rem;
        margin-bottom: 8px;
        letter-spacing: 0.14em;
    }

    .hero__headline {
        font-size: clamp(2.2rem, 9.5vw, 3.2rem);
        line-height: 0.96;
        letter-spacing: -0.025em;
        margin-bottom: 10px;
    }

    .hero__description {
        font-size: 0.9375rem;
        line-height: 1.45;
        margin-bottom: 16px;
        max-width: 100%;
    }

    .hero__actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        width: 100%;
    }

    .hero__btn-primary {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 0.8125rem;
    }

    .hero__btn-secondary {
        font-size: 0.75rem;
    }

    .hero__scroll {
        display: none;
    }
}

/* ============================================================
   Architectural Distinction Continuous Marquee Ribbon
   ============================================================ */
.hero-strip {
    position: relative;
    z-index: 10;
    background: #06141A;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    /* Edge fade masks for seamless infinity look */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000000 4%, #000000 96%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000000 4%, #000000 96%, transparent 100%);
}

/* Glowing top hairline accent */
.hero-strip::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--color-brand, #C0141E) 50%, transparent 100%);
    pointer-events: none;
}

.hero-strip__marquee {
    width: 100%;
    overflow: hidden;
    display: flex;
    user-select: none;
}

.hero-strip__track {
    display: flex;
    align-items: center;
    gap: 36px;
    width: max-content;
    will-change: transform;
    animation: heroMarqueeTrack 34s linear infinite;
}

.hero-strip:hover .hero-strip__track {
    animation-play-state: paused;
}

@keyframes heroMarqueeTrack {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.hero-strip__item {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.hero-strip__icon-box {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-brand, #C0141E);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.hero-strip__item:hover .hero-strip__icon-box {
    background: rgba(192, 20, 30, 0.15);
    border-color: rgba(192, 20, 30, 0.5);
    transform: scale(1.05);
}

.hero-strip__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-strip__title {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #FFFFFF;
    white-space: nowrap;
}

.hero-strip__subtitle {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
}

.hero-strip__bullet {
    color: var(--color-brand, #C0141E);
    font-size: 0.5625rem;
    opacity: 0.8;
    flex-shrink: 0;
    padding: 0 6px;
}

/* Tablet & Mobile Optimizations */
@media (max-width: 1023px) {
    .hero-strip {
        padding: 16px 0;
    }

    .hero-strip__track {
        gap: 28px;
        animation-duration: 26s;
    }

    .hero-strip__icon-box {
        width: 36px;
        height: 36px;
    }

    .hero-strip__title {
        font-size: 0.84rem;
    }

    .hero-strip__subtitle {
        font-size: 0.6875rem;
    }
}

@media (max-width: 767px) {
    .hero-strip {
        padding: 14px 0;
    }

    .hero-strip__track {
        gap: 22px;
        animation-duration: 22s;
    }

    .hero-strip__icon-box {
        width: 32px;
        height: 32px;
    }

    .hero-strip__icon-box svg {
        width: 15px;
        height: 15px;
    }

    .hero-strip__title {
        font-size: 0.78rem;
    }

    .hero-strip__subtitle {
        font-size: 0.625rem;
    }

    .hero-strip__bullet {
        padding: 0 2px;
        font-size: 0.5rem;
    }
}


