/* Hero 语义修复：VI 图片仅负责右侧视觉，交互与文字全部为真实 HTML。 */
.hero {
    min-height: 100vh;
    height: auto;
    padding: 8rem 2rem 4rem;
    isolation: isolate;
    background: #0a2540;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: none;
    pointer-events: none;
}

.hero::before {
    z-index: 0;
    background: url("../images/afu-hero-vi.png") right center / auto 100% no-repeat;
    filter: none;
    transform: none;
}

/* 遮住图片左侧的像素文字，让真实 HTML 位于干净的品牌底色上。 */
.hero::after {
    z-index: 1;
    background: linear-gradient(90deg, #0a2540 0%, #0a2540 42%, rgba(10,37,64,.98) 50%, rgba(10,37,64,.82) 58%, rgba(10,37,64,.18) 70%, transparent 78%);
}

.hero > .hero-container {
    display: grid;
    position: relative;
    z-index: 2;
    grid-template-columns: minmax(0, 600px) 1fr;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-image {
    visibility: hidden;
    pointer-events: none;
}

.hero .btn {
    position: relative;
    z-index: 4;
    pointer-events: auto;
}

@media (max-width: 1100px) {
    .hero::before {
        opacity: .62;
        background-position: 62% center;
    }

    .hero::after {
        background: linear-gradient(90deg, #0a2540 0%, rgba(10,37,64,.97) 58%, rgba(10,37,64,.58) 100%);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 7rem 1.5rem 3rem;
    }

    .hero::before {
        opacity: .16;
        background-position: center;
        background-size: cover;
    }

    .hero::after {
        background: rgba(10,37,64,.88);
    }

    .hero > .hero-container {
        display: block;
        text-align: center;
    }

    .hero-image {
        display: none;
    }
}
