/* Split-screen hero — image half + copy half with gradient bridge */

.modern-hero {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 5.25rem 0.75rem 1.25rem;
    isolation: isolate;
}

@media (min-width: 1024px) {
    .modern-hero {
        max-width: 100%;
        padding: 5.75rem 1.5rem 2rem;
    }
}

.modern-hero-frame {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    height: clamp(420px, 58vh, 620px);
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(245, 158, 11, 0.18);
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    background: #0c0c0e;
}

.modern-hero .hero-swiper,
.modern-hero .swiper-wrapper,
.modern-hero .swiper-slide {
    height: 100%;
}

.modern-hero-slide {
    height: 100%;
}

.modern-hero-split {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    height: 100%;
    position: relative;
}

@media (min-width: 900px) {
    .modern-hero-split {
        grid-template-columns: 1.05fr 0.95fr;
        grid-template-rows: 1fr;
    }
}

.modern-hero-media {
    position: relative;
    min-height: 200px;
    overflow: hidden;
    background: #0a0a0a;
}

@media (min-width: 900px) {
    .modern-hero-media {
        min-height: 100%;
    }
}

.modern-hero-image {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (min-width: 900px) {
    .modern-hero-image {
        min-height: 100%;
    }
}

.swiper-slide-active .modern-hero-image {
    animation: modernHeroKenBurns 9s ease-out forwards;
}

@keyframes modernHeroKenBurns {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
}

.modern-hero-fade {
    display: none;
}

@media (min-width: 900px) {
    .modern-hero-fade {
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 140px;
        transform: translateX(-50%);
        z-index: 4;
        pointer-events: none;
        background: linear-gradient(
            90deg,
            rgba(12, 12, 14, 0) 0%,
            rgba(12, 12, 14, 0.85) 45%,
            rgba(12, 12, 14, 0.98) 55%,
            rgba(12, 12, 14, 0) 100%
        );
    }
}

.modern-hero-content {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: 1.5rem 1.35rem 5rem;
    background: linear-gradient(180deg, rgba(12, 12, 14, 0.92), #0c0c0e);
}

@media (min-width: 900px) {
    .modern-hero-content {
        padding: 2.5rem 2.75rem 5.25rem;
        background: #0c0c0e;
    }
}

.modern-hero-eyebrow {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--lf-gold, #f59e0b);
    margin-bottom: 0.65rem;
    opacity: 0;
    animation: modernHeroFadeUp 0.65s ease 0.1s forwards;
}

.modern-hero-title {
    font-size: clamp(1.55rem, 3.8vw, 2.85rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0;
    opacity: 0;
    animation: modernHeroFadeUp 0.7s ease 0.2s forwards;
}

.modern-hero-title .line-gold {
    display: block;
    color: #f59e0b;
}

.modern-hero-tagline {
    margin-top: 1rem;
    font-size: clamp(0.95rem, 1.6vw, 1.15rem);
    font-weight: 500;
    font-style: italic;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.82);
    max-width: 22rem;
    opacity: 0;
    animation: modernHeroFadeUp 0.7s ease 0.38s forwards;
}

.modern-hero-divider {
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, rgba(245, 158, 11, 0.1));
    border-radius: 999px;
    margin-top: 1rem;
    opacity: 0;
    animation: modernHeroDivider 0.55s ease 0.32s forwards;
}

@keyframes modernHeroDivider {
    to { opacity: 1; transform: scaleX(1); }
}

.modern-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.35rem;
    opacity: 0;
    animation: modernHeroFadeUp 0.7s ease 0.5s forwards;
}

.modern-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.modern-hero-btn--primary {
    background: #f59e0b;
    color: #121212;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.25);
}

.modern-hero-btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
}

@keyframes modernHeroFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.modern-hero-eyebrow,
.modern-hero-title,
.modern-hero-tagline,
.modern-hero-divider,
.modern-hero-actions {
    transform: translateY(12px);
}

.swiper-slide:not(.swiper-slide-active) .modern-hero-eyebrow,
.swiper-slide:not(.swiper-slide-active) .modern-hero-title,
.swiper-slide:not(.swiper-slide-active) .modern-hero-tagline,
.swiper-slide:not(.swiper-slide-active) .modern-hero-divider,
.swiper-slide:not(.swiper-slide-active) .modern-hero-actions {
    animation: none;
    opacity: 0;
}

.swiper-slide-active .modern-hero-eyebrow { animation: modernHeroFadeUp 0.65s ease 0.08s forwards; }
.swiper-slide-active .modern-hero-title { animation: modernHeroFadeUp 0.7s ease 0.18s forwards; }
.swiper-slide-active .modern-hero-divider { animation: modernHeroDivider 0.55s ease 0.28s forwards; }
.swiper-slide-active .modern-hero-tagline { animation: modernHeroFadeUp 0.7s ease 0.36s forwards; }
.swiper-slide-active .modern-hero-actions { animation: modernHeroFadeUp 0.7s ease 0.48s forwards; }

.modern-hero-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 12;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    background: rgba(12, 12, 14, 0.78);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.modern-hero-nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-hero-nav-btn:hover {
    border-color: rgba(245, 158, 11, 0.5);
    color: #f59e0b;
}

.modern-hero-pagination-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.modern-hero-counter { font-size: 0.65rem; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.5); }
.modern-hero-counter-current { color: #f59e0b; font-weight: 700; }
.modern-hero-progress { width: min(160px, 40vw); height: 2px; background: rgba(255, 255, 255, 0.12); border-radius: 999px; overflow: hidden; }
.modern-hero-progress-bar { display: block; height: 100%; width: 0; background: #f59e0b; transition: width 0.08s linear; }
.modern-hero-bullets { display: flex; gap: 0.35rem; }
.modern-hero-bullet { width: 18px; height: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); cursor: pointer; }
.modern-hero-bullet.swiper-pagination-bullet-active { width: 28px; background: #f59e0b; }

.qr-scan--hero { bottom: 4.75rem; }

@media (max-width: 899px) {
    .qr-scan--hero { bottom: 4.5rem; right: 0.65rem; }

    .modern-hero-actions {
        flex-wrap: wrap;
    }

    .modern-hero-btn {
        opacity: 1 !important;
        visibility: visible !important;
    }
}
