@charset "utf-8";
/* 首页品牌标语条 2026-11-13 */

.hf-bar {
    position: relative;
    overflow: hidden;
    background-color: #04203f;
    background-image: url(../picture/hf-bg.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    margin-top: 50px;
    padding: 52px 20px;
    text-align: center;
}

/* 横向收边遮罩：两端压深，让条带与上下区块自然衔接，同时保证文案区对比度 */
.hf-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(4, 26, 66, .62) 0%,
        rgba(4, 26, 66, .10) 26%,
        rgba(4, 26, 66, .10) 74%,
        rgba(4, 26, 66, .62) 100%);
    pointer-events: none;
}

.hf-inner {
    position: relative;
    z-index: 2;
    width: 1460px;
    margin: 0 auto;
}

.hf-badge {
    display: inline-block;
    margin: 0 0 22px;
    padding: 8px 28px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: .12em;
}

.hf-slogan {
    margin: 0;
    color: #fff;
    font-size: clamp(26px, 3.2vw, 46px);
    line-height: 1.28;
    font-weight: 800;
    letter-spacing: .1em;
    text-indent: .1em;
}

.hf-sub {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .93);
    font-size: clamp(14px, 1.3vw, 18px);
    line-height: 1.4;
    letter-spacing: .2em;
    text-indent: .2em;
}

@media (max-width: 1520px) {
    .hf-inner {
        width: calc(100% - 60px);
    }
}

@media (max-width: 1200px) {
    .hf-inner {
        width: calc(100% - 40px);
    }
}

@media (max-width: 768px) {
    .hf-bar {
        margin-top: 30px;
        padding: 36px 16px;
        /* 手机端 6:1 宽图 cover 后只剩中间一条纹理，直接用渐变，省流量也更干净 */
        background-image: linear-gradient(135deg, #072f66 0%, #04203f 100%);
    }

    .hf-bar::before {
        display: none;
    }

    .hf-badge {
        margin-bottom: 16px;
        padding: 6px 16px;
        font-size: 12px;
        letter-spacing: .06em;
    }

    .hf-slogan {
        font-size: 22px;
        letter-spacing: .04em;
        text-indent: .04em;
    }

    .hf-sub {
        margin-top: 10px;
        font-size: 12px;
        letter-spacing: .08em;
        text-indent: .08em;
    }
}
