/* =========================================================
   远然安地 · 单页瀑布式 视觉系统（商务稳重）
   覆盖式，不改动原 style.css
   ========================================================= */

:root {
    --yr-navy: #0d2b45;
    --yr-navy-2: #143b5a;
    --yr-navy-3: #0a2136;
    --yr-blue: #1a6fa8;
    --yr-blue-lt: #2f8fc9;
    --yr-blue-dark: #145885;
    --yr-ink: #1e293b;
    --yr-grey: #64748b;
    --yr-line: #e2e8f0;
    --yr-bg: #f6f8fa;
}

html { scroll-behavior: smooth; }

/* ---------- 1. 去掉开屏动画 ---------- */
.preloader,
.preloader.preloader-deactivate {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ---------- 2. 顶栏 ---------- */
.top-header {
    background: var(--yr-navy-3) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 6px 0 !important;
}
.top-header,
.top-header a {
    color: #b8c8d8 !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.02em;
}
.top-header a:hover { color: #fff !important; }
.top-header-link {
    color: #b8c8d8 !important;
    font-size: 0.8rem !important;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}

/* ---------- 3. 主头部 ---------- */
.main-header {
    background: rgba(10, 33, 54, 0.97) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
    padding: 10px 0 !important;
}
.header-logo span {
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em;
}
ul.navbar li a {
    color: #d5e1ec !important;
    font-size: 0.88rem !important;
    letter-spacing: 0.03em;
    padding: 6px 2px !important;
}
ul.navbar li a:hover { color: #fff !important; }

/* =========================================================
   4. 首屏
   ========================================================= */
section.banner-area.inner-banner-wrapper:first-of-type {
    position: relative;
    isolation: isolate;
    min-height: auto !important;
    height: auto !important;
    padding: 150px 0 0 !important;
    display: block !important;
}
section.banner-area.inner-banner-wrapper:first-of-type > .container:first-of-type {
    padding-bottom: 72px;
}
section.banner-area.inner-banner-wrapper:first-of-type::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
        rgba(10, 33, 54, 0.96) 0%,
        rgba(13, 43, 69, 0.92) 45%,
        rgba(18, 56, 88, 0.80) 100%);
    z-index: -1;
    pointer-events: none;
}
.banner-content h1 {
    font-size: 2.5rem !important;
    line-height: 1.26 !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
    text-transform: none !important;
    margin-bottom: 12px !important;
    color: #fff !important;
}
.banner-content h1 span { font-weight: 600 !important; }
.banner-content h3 {
    font-size: 1.12rem !important;
    line-height: 1.66 !important;
    font-weight: 400 !important;
    letter-spacing: 0.03em;
    text-transform: none !important;
    color: #b9cbdb !important;
    margin-bottom: 26px !important;
}
.banner-content::after {
    content: '';
    display: block;
    width: 52px;
    height: 2px;
    background: var(--yr-blue-lt);
    margin: 0 auto 26px;
}

/* 首屏按钮组 */
.yr-hero-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 0 !important;
}
.yr-btn-big {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px !important;
    background: var(--yr-blue) !important;
    border: 1px solid var(--yr-blue) !important;
    border-radius: 3px !important;
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
    box-shadow: 0 6px 22px rgba(26, 111, 168, 0.34);
}
.yr-btn-big:hover {
    background: var(--yr-blue-dark) !important;
    border-color: var(--yr-blue-dark) !important;
    color: #fff !important;
    transform: translateY(-1px);
}
.yr-btn-big i { font-size: 0.86rem; }
.yr-hero-btns .modern-btn,
.yr-hero-btns .btn.yr-btn-ghost {
    display: inline-block;
    padding: 14px 28px !important;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 3px !important;
    color: #eaf2f9 !important;
    font-size: 0.94rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.05em;
    text-decoration: none;
}
.yr-hero-btns .modern-btn:hover,
.yr-hero-btns .btn.yr-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #fff !important;
    color: #fff !important;
}

/* =========================================================
   5. 通用节
   ========================================================= */
.yr-sec {
    padding: 72px 0;
    background: #fff;
}
.yr-sec-dark {
    background: var(--yr-navy) !important;
    color: #d5e1ec;
}
.yr-sec-dark .yr-sec-head h2 { color: #fff; }
.yr-sec-dark .yr-sec-head p { color: #9db3c6; }
.yr-sec-head {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 42px;
}
.yr-sec-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    color: var(--yr-blue);
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 600;
}
.yr-sec-dark .yr-sec-eyebrow { color: #6db6e4; }
.yr-sec-head h2 {
    font-size: 1.85rem;
    font-weight: 600;
    color: var(--yr-ink);
    line-height: 1.38;
    margin: 0 0 12px;
    letter-spacing: 0.01em;
}
.yr-sec-head p {
    font-size: 0.96rem;
    line-height: 1.7;
    color: var(--yr-grey);
    margin: 0;
}
.yr-sub-head {
    font-size: 1.06rem;
    font-weight: 600;
    color: var(--yr-ink);
    margin: 44px 0 16px;
    padding-left: 12px;
    border-left: 3px solid var(--yr-blue);
    line-height: 1.4;
}
.yr-sub-head span {
    display: block;
    font-size: 0.84rem;
    font-weight: 400;
    color: var(--yr-grey);
    margin-top: 4px;
    letter-spacing: 0.02em;
}

/* =========================================================
   6. 核心能力卡
   ========================================================= */
.yr-cap-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.yr-cap-card {
    border: 1px solid var(--yr-line);
    border-radius: 3px;
    padding: 26px 24px 24px;
    background: #fff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.yr-cap-card:hover {
    border-color: #c3d4e2;
    box-shadow: 0 8px 24px rgba(13, 43, 69, 0.07);
}
.yr-cap-ico {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 111, 168, 0.08);
    border-radius: 3px;
    margin-bottom: 16px;
}
.yr-cap-ico i { color: var(--yr-blue); font-size: 1.06rem; }
.yr-cap-card h3 {
    font-size: 1.04rem;
    font-weight: 600;
    color: var(--yr-ink);
    margin: 0 0 10px;
    line-height: 1.45;
}
.yr-cap-card p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--yr-grey);
    margin: 0;
}

/* =========================================================
   7. 功能模块
   ========================================================= */
.yr-feat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 28px;
}
.yr-feat-block {
    border-top: 2px solid var(--yr-blue);
    padding-top: 18px;
}
.yr-feat-block h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--yr-navy);
    margin: 0 0 14px;
    letter-spacing: 0.02em;
}
.yr-feat-block ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.yr-feat-block li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.88rem;
    line-height: 1.62;
    color: #475569;
    padding: 5px 0;
    border-bottom: 1px dashed #eef2f6;
}
.yr-feat-block li:last-child { border-bottom: none; }
.yr-feat-block li i {
    color: var(--yr-blue);
    font-size: 0.68rem;
    margin-top: 6px;
    flex-shrink: 0;
}

/* =========================================================
   8. 表格
   ========================================================= */
.yr-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--yr-line);
    border-radius: 3px;
}
.yr-sec-dark .yr-table-wrap { border-color: rgba(255, 255, 255, 0.13); }
.yr-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    background: #fff;
}
.yr-table thead th {
    background: #f1f5f9;
    color: var(--yr-navy);
    font-weight: 600;
    font-size: 0.84rem;
    letter-spacing: 0.04em;
    text-align: left;
    padding: 13px 16px;
    border-bottom: 1px solid var(--yr-line);
    white-space: nowrap;
}
.yr-sec-dark .yr-table thead th {
    background: rgba(255, 255, 255, 0.07);
    color: #cfe0ee;
    border-bottom-color: rgba(255, 255, 255, 0.13);
}
.yr-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f4f8;
    color: #475569;
    line-height: 1.62;
    vertical-align: top;
}
.yr-sec-dark .yr-table { background: transparent; }
.yr-sec-dark .yr-table tbody td {
    color: #b6c8d8;
    border-bottom-color: rgba(255, 255, 255, 0.08);
}
.yr-sec-dark .yr-table tbody td b { color: #fff; }
.yr-table tbody tr:last-child td { border-bottom: none; }
.yr-table tbody tr:hover td { background: rgba(26, 111, 168, 0.04); }
.yr-sec-dark .yr-table tbody tr:hover td { background: rgba(255, 255, 255, 0.04); }
.yr-table tbody td b { color: var(--yr-navy); font-weight: 600; }
.yr-table-sm { font-size: 0.86rem; }
.yr-table-deploy { min-width: 780px; }
.yr-table-deploy thead th:first-child { width: 108px; }

/* =========================================================
   9. 实施路径
   ========================================================= */
.yr-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.yr-step {
    border: 1px solid var(--yr-line);
    border-radius: 3px;
    padding: 22px 20px;
    background: #fff;
    position: relative;
}
.yr-step-no {
    font-size: 1.5rem;
    font-weight: 700;
    color: #d3e2ee;
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.yr-step h3 {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--yr-navy);
    margin: 0 0 8px;
}
.yr-step p {
    font-size: 0.85rem;
    line-height: 1.65;
    color: var(--yr-grey);
    margin: 0;
}

/* =========================================================
   10. 联系节
   ========================================================= */
.yr-sec-contact {
    background: var(--yr-navy-3) !important;
    padding: 66px 0;
}
.yr-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    gap: 44px;
    align-items: center;
}
.yr-sec-contact .yr-sec-eyebrow { color: #6db6e4; }
.yr-sec-contact h2 {
    font-size: 1.9rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: 0.01em;
}
.yr-sec-contact .txt > p {
    font-size: 0.96rem;
    line-height: 1.7;
    color: #9db3c6;
    margin: 0 0 24px;
    max-width: 36em;
}
.yr-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.yr-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #cbdae7;
}
.yr-contact-list li i {
    color: var(--yr-blue-lt);
    font-size: 0.86rem;
    margin-top: 4px;
    flex-shrink: 0;
    width: 16px;
}
.yr-sec-contact .qr {
    text-align: center;
}
.yr-sec-contact .qr img {
    width: 190px;
    height: 190px;
    object-fit: cover;
    border-radius: 4px;
    background: #fff;
    padding: 8px;
    display: block;
    margin: 0 auto 12px;
}
.yr-sec-contact .qr span {
    font-size: 0.84rem;
    color: #90a8bd;
    letter-spacing: 0.04em;
}

/* =========================================================
   11. 二维码弹窗
   ========================================================= */
.yr-qr-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(6, 16, 27, 0.86);
    z-index: 100000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.yr-qr-modal.open { display: flex; }
.yr-qr-box {
    background: #fff;
    border-radius: 4px;
    padding: 30px 30px 26px;
    text-align: center;
    position: relative;
    max-width: 340px;
    width: 100%;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}
.yr-qr-box h3 {
    font-size: 1.16rem;
    font-weight: 600;
    color: var(--yr-navy);
    margin: 0 0 8px;
}
.yr-qr-box p {
    font-size: 0.86rem;
    line-height: 1.62;
    color: var(--yr-grey);
    margin: 0 0 18px;
}
.yr-qr-box img {
    width: 190px;
    height: 190px;
    object-fit: cover;
    display: block;
    margin: 0 auto 12px;
    border: 1px solid var(--yr-line);
    border-radius: 3px;
}
.yr-qr-tip {
    font-size: 0.8rem;
    color: #94a3b8;
    letter-spacing: 0.03em;
}
.yr-qr-close {
    position: absolute;
    top: 6px;
    right: 8px;
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px 8px;
}
.yr-qr-close:hover { color: var(--yr-navy); }

/* =========================================================
   12. 原有区块微调
   ========================================================= */
.service-section-wrapper {
    padding: 58px 0 50px !important;
    background: var(--yr-bg) !important;
}
.section-title h2,
.section-title-custom h2 {
    font-weight: 600 !important;
    letter-spacing: 0.01em;
}
.single-service {
    border: 1px solid var(--yr-line);
    border-radius: 3px;
    background: #fff;
    transition: box-shadow 0.18s ease, border-color 0.18s ease;
}
.single-service:hover {
    border-color: #c8d6e3;
    box-shadow: 0 6px 20px rgba(13, 43, 69, 0.08);
}
.single-service h3 { color: var(--yr-ink); font-weight: 500; }
.single-service span i { color: var(--yr-blue); }

.project-portfolio-section {
    padding: 56px 0 50px !important;
    background: #fff !important;
    border-top: 1px solid var(--yr-line) !important;
}
.pp-header h2 { font-weight: 600 !important; }
.pp-card {
    border-radius: 3px;
    background: #fff;
    border: 1px solid var(--yr-line);
}

/* =========================================================
   13. 悬浮入口
   ========================================================= */
#aff-im-root .embed-icon {
    top: auto !important;
    bottom: 104px !important;
    right: 20px !important;
    transform: none !important;
    filter: drop-shadow(0 4px 12px rgba(13, 43, 69, 0.28));
    transition: transform 0.18s ease;
}
#aff-im-root .embed-icon:hover { transform: translateY(-2px) !important; }
body > button[style*="position: fixed"],
body > button[style*="position:fixed"] {
    right: 24px !important;
    bottom: 28px !important;
    box-shadow: 0 4px 14px rgba(13, 43, 69, 0.3) !important;
}
@media (min-width: 769px) {
    #aff-im-root .embed-hot-issue { bottom: 210px !important; }
}

/* =========================================================
   14. AI 模态框
   ========================================================= */
.modal { background: rgba(6, 16, 27, 0.86) !important; }
.chat-modal-content { border-radius: 4px !important; }
.modal-header {
    background: var(--yr-navy) !important;
    border-bottom: none !important;
    padding: 13px 20px !important;
}
.modal-header h3 { color: #fff !important; letter-spacing: 0.04em; font-size: 1rem !important; }
.modal-close { color: #a9bcce !important; }
.modal-close:hover { color: #fff !important; }

/* =========================================================
   15. 响应式
   ========================================================= */
@media (max-width: 1199px) {
    .yr-sec { padding: 62px 0; }
    .yr-cap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
    .yr-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
    .yr-sec-head h2 { font-size: 1.66rem; }
}

@media (max-width: 991px) {
    .yr-cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .yr-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .yr-feat-grid { grid-template-columns: 1fr; gap: 18px; }
    .yr-contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .yr-sec-contact .qr { text-align: left; }
    .yr-sec-contact .qr img { margin-left: 0; }
}

@media (max-width: 768px) {
    section.banner-area.inner-banner-wrapper:first-of-type {
        padding: 190px 0 60px !important;
    }
    .banner-content h1 { font-size: 1.66rem !important; line-height: 1.32 !important; }
    .banner-content h3 { font-size: 0.96rem !important; }
    .yr-hero-btns { gap: 10px; }
    .yr-btn-big {
        padding: 13px 26px !important;
        font-size: 0.92rem !important;
        width: 100%;
        justify-content: center;
    }
    .yr-hero-btns .modern-btn,
    .yr-hero-btns .btn.yr-btn-ghost {
        padding: 12px 22px !important;
        font-size: 0.88rem !important;
        width: 100%;
        text-align: center;
    }

    .yr-sec { padding: 46px 0; }
    .yr-sec-head { margin-bottom: 30px; }
    .yr-sec-head h2 { font-size: 1.3rem; }
    .yr-sec-head p { font-size: 0.88rem; }
    .yr-cap-grid { grid-template-columns: 1fr; gap: 12px; }
    .yr-cap-card { padding: 20px 18px; }
    .yr-steps { grid-template-columns: 1fr; gap: 12px; }
    .yr-step { padding: 18px 16px; }
    .yr-step-no { font-size: 1.24rem; margin-bottom: 8px; }
    .yr-sub-head { margin-top: 32px; font-size: 0.98rem; }

    .yr-table { font-size: 0.82rem; }
    .yr-table thead th { padding: 10px 12px; font-size: 0.78rem; }
    .yr-table tbody td { padding: 10px 12px; }
    .yr-table-deploy { min-width: 640px; }

    .yr-sec-contact { padding: 46px 0 120px; }
    .yr-sec-contact h2 { font-size: 1.42rem; }
    .yr-sec-contact .qr img { width: 160px; height: 160px; }

    /* 顶栏两行 */
    .top-header { padding: 7px 0 !important; }
    .top-header .container { flex-wrap: wrap !important; gap: 4px; }
    .top-header-content {
        flex-direction: column !important;
        gap: 2px !important;
        align-items: center;
        white-space: normal !important;
        font-size: 0.74rem !important;
        line-height: 1.5;
    }
    .top-header-link {
        margin-left: 0 !important;
        padding-left: 0 !important;
        border-left: none !important;
        font-size: 0.74rem !important;
    }

    /* 悬浮件 */
    #aff-im-root .embed-hot-issue,
    .embed-hot-issue { display: none !important; }
    #aff-im-root .embed-icon {
        bottom: 92px !important;
        right: 10px !important;
        transform: scale(0.78) !important;
        transform-origin: bottom right !important;
    }
    body > button[style*="position: fixed"],
    body > button[style*="position:fixed"] {
        right: 12px !important;
        bottom: 20px !important;
        transform: scale(0.86) !important;
        transform-origin: bottom right !important;
    }
    footer { padding-bottom: 96px !important; }
}

/* ---------- 16. 手机端导航修正 ---------- */
@media (max-width: 768px) {
    /* English 与菜单项重叠：小屏收起（页脚/主站另有入口） */
    .top-header-link { display: none !important; }

    /* 汉堡按钮热区放大 */
    .hamburger {
        padding: 10px 14px !important;
        font-size: 1.5rem !important;
        min-width: 44px;
        min-height: 44px;
    }

    /* 菜单：整行热区、限高滚动、不与正文糊在一起 */
    .main-header .navbar,
    ul.navbar {
        background: rgba(10, 33, 54, 0.985) !important;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 3px !important;
        padding: 6px 0 !important;
        margin-top: 10px !important;
        max-height: 68vh;
        overflow-y: auto;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    }
    ul.navbar li {
        width: 100% !important;
        text-align: left !important;
        padding: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    ul.navbar li:last-child { border-bottom: none; }
    ul.navbar li a {
        display: block !important;
        width: 100% !important;
        padding: 13px 20px !important;
        font-size: 0.94rem !important;
        box-sizing: border-box;
    }
    ul.navbar li a:active { background: rgba(255, 255, 255, 0.07) !important; }

    /* 首屏标题与头栏留足间距 */
    section.banner-area.inner-banner-wrapper:first-of-type {
        padding-top: 196px !important;
    }
}

/* =========================================================
   17. 首屏高信息密度组件
   ========================================================= */
.yr-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    color: #7dc0e8;
    border: 1px solid rgba(125, 192, 232, 0.34);
    border-radius: 2px;
    padding: 5px 12px;
    margin-bottom: 18px;
    text-transform: uppercase;
}
.yr-hero-tag i { font-size: 0.7rem; }

.yr-hero-points {
    list-style: none;
    margin: 0 auto 26px;
    padding: 0;
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}
.yr-hero-points li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #cfddea;
}
.yr-hero-points li i {
    color: var(--yr-blue-lt);
    font-size: 0.72rem;
    margin-top: 5px;
    flex-shrink: 0;
}
.yr-hero-points li b { color: #fff; font-weight: 600; }

/* 指标条 */
.yr-hero-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 3px;
    overflow: hidden;
    margin: 34px auto 0;
    max-width: 900px;
}
.yr-hm {
    background: rgba(8, 26, 43, 0.6);
    padding: 18px 14px 16px;
    text-align: center;
}
.yr-hm .n {
    font-size: 1.86rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.01em;
}
.yr-hm .n small {
    font-size: 1rem;
    font-weight: 600;
    color: #8ec7e9;
    margin-left: 1px;
}
.yr-hm .l {
    margin-top: 6px;
    font-size: 0.8rem;
    color: #a7bccd;
    letter-spacing: 0.02em;
}

/* 合规条 */
.yr-hero-strip {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(4, 18, 31, 0.45);
    padding: 13px 0;
    margin-top: 40px;
}
.yr-hs-in {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.yr-hs-in .tg {
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    color: #7dc0e8;
    text-transform: uppercase;
    white-space: nowrap;
}
.yr-hs-in .ch {
    font-size: 0.82rem;
    color: #bccfde;
    letter-spacing: 0.02em;
}
.yr-hs-in .ch i {
    color: var(--yr-blue-lt);
    margin-right: 5px;
    font-size: 0.76rem;
}

@media (max-width: 991px) {
    .yr-hero-metrics { max-width: 100%; }
    .yr-hm .n { font-size: 1.5rem; }
}
@media (max-width: 768px) {
    .yr-hero-tag { font-size: 0.68rem; padding: 4px 10px; }
    .yr-hero-points { margin-bottom: 22px; }
    .yr-hero-points li { font-size: 0.86rem; }
    .yr-hero-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 26px;
    }
    .yr-hm { padding: 13px 10px 12px; }
    .yr-hm .n { font-size: 1.34rem; }
    .yr-hm .n small { font-size: 0.82rem; }
    .yr-hm .l { font-size: 0.72rem; margin-top: 4px; }
    .yr-hero-strip { margin-top: 28px; padding: 11px 0; }
    .yr-hs-in { gap: 7px 12px; justify-content: flex-start; padding-right: 58px; }
    .yr-hs-in .tg { font-size: 0.7rem; }
    .yr-hs-in .ch { font-size: 0.76rem; line-height: 1.5; display: block; width: 100%; }
}

/* ---------- 18. 终调 ---------- */
/* 合规条提亮 */
.yr-hs-in .ch { color: #d3e2ee !important; }
.yr-hs-in .ch i { color: #6dbfe8 !important; }
.yr-hs-in .tg { color: #8fd0f2 !important; }

@media (max-width: 768px) {
    /* 两个 CTA 等宽 */
    .yr-hero-btns { flex-direction: column; align-items: stretch; }
    .yr-hero-btns .btn-wrapper { width: 100% !important; display: block !important; }
    .yr-hero-btns .yr-btn-big,
    .yr-hero-btns .modern-btn,
    .yr-hero-btns .btn.yr-btn-ghost {
        width: 100% !important;
        display: flex !important;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
    }
    /* 指标条压扁 */
    .yr-hm { padding: 11px 9px 10px !important; }
    .yr-hm .n { font-size: 1.26rem !important; }
    /* 悬浮件更贴边更小，减少遮挡 */
    #aff-im-root .embed-icon {
        bottom: 78px !important;
        right: 6px !important;
        transform: scale(0.7) !important;
        transform-origin: bottom right !important;
    }
    body > button[style*="position: fixed"],
    body > button[style*="position:fixed"] {
        right: 8px !important;
        bottom: 14px !important;
        transform: scale(0.8) !important;
        transform-origin: bottom right !important;
    }
    /* 顶栏联系方式收紧 */
    .top-header { padding: 5px 0 !important; }
    .top-header-content { font-size: 0.7rem !important; line-height: 1.42 !important; gap: 1px !important; }
}

/* ---------- 19. 可读性收尾 ---------- */
.yr-hm { background: rgba(5, 20, 34, 0.9) !important; }
.yr-hm .n { color: #ffffff !important; text-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.yr-hm .n small { color: #a8dcf7 !important; }
.yr-hm .l { color: #c8d8e6 !important; }
.yr-hero-metrics { background: rgba(255,255,255,0.2) !important; }
.yr-hero-strip { background: rgba(3, 15, 26, 0.66) !important; }

@media (max-width: 768px) {
    .yr-hero-btns .yr-btn-big,
    .yr-hero-btns .modern-btn,
    .yr-hero-btns .btn.yr-btn-ghost {
        min-height: 50px;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    .yr-hero-btns { gap: 8px; }
}

/* =========================================================
   20. 首屏背景视频（实验室数字孪生体）
   ========================================================= */
section.banner-area.inner-banner-wrapper:first-of-type {
    position: relative;
    overflow: hidden;
    background-image: none !important;
    background-color: #061726 !important;
}
.yr-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    opacity: 0.95;
}
/* 遮罩：左侧加浓保证白字可读，压暗整体 */
.yr-hero-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(4, 16, 28, 0.93) 0%, rgba(4, 16, 28, 0.72) 42%, rgba(4, 16, 28, 0.52) 72%, rgba(4, 16, 28, 0.62) 100%),
        linear-gradient(180deg, rgba(4, 16, 28, 0.62) 0%, rgba(4, 16, 28, 0.28) 45%, rgba(4, 16, 28, 0.78) 100%),
        radial-gradient(ellipse at 50% 42%, rgba(6, 22, 38, 0) 0%, rgba(4, 15, 26, 0.55) 100%);
}
/* 内容层压在视频之上 */
section.banner-area.inner-banner-wrapper:first-of-type > .container,
section.banner-area.inner-banner-wrapper:first-of-type > .yr-hero-strip {
    position: relative;
    z-index: 2;
}
/* 视频不加载/省流时回退静态图 */
.no-video .yr-hero-video { display: none; }

@media (max-width: 768px) {
    .yr-hero-video { opacity: 0.9; }
    .yr-hero-veil {
        background:
            linear-gradient(180deg, rgba(4, 16, 28, 0.86) 0%, rgba(4, 16, 28, 0.7) 40%, rgba(4, 16, 28, 0.86) 100%),
            radial-gradient(ellipse at 50% 38%, rgba(6, 22, 38, 0) 0%, rgba(4, 15, 26, 0.6) 100%);
    }
}
/* 系统开启减少动态效果：只留首帧 */
@media (prefers-reduced-motion: reduce) {
    .yr-hero-video { display: none; }
}

/* ---------- 21. 视频背景遮罩调淡（v3 已自带暗度与模糊） ---------- */
.yr-hero-video { opacity: 1; filter: brightness(1.05); }
.yr-hero-veil {
    background:
        linear-gradient(90deg, rgba(4, 16, 28, 0.88) 0%, rgba(4, 16, 28, 0.62) 40%, rgba(4, 16, 28, 0.38) 70%, rgba(4, 16, 28, 0.52) 100%),
        linear-gradient(180deg, rgba(4, 16, 28, 0.5) 0%, rgba(4, 16, 28, 0.16) 45%, rgba(4, 16, 28, 0.7) 100%),
        radial-gradient(ellipse at 50% 42%, rgba(6, 22, 38, 0) 0%, rgba(4, 15, 26, 0.42) 100%);
}
@media (max-width: 768px) {
    .yr-hero-veil {
        background:
            linear-gradient(180deg, rgba(4, 16, 28, 0.82) 0%, rgba(4, 16, 28, 0.6) 40%, rgba(4, 16, 28, 0.82) 100%),
            radial-gradient(ellipse at 50% 38%, rgba(6, 22, 38, 0) 0%, rgba(4, 15, 26, 0.5) 100%);
    }
}

/* ---------- 22. 手机端视频背景提亮 ---------- */
@media (max-width: 768px) {
    .yr-hero-video { filter: brightness(1.28) contrast(1.06); opacity: 1; }
    .yr-hero-veil {
        background:
            linear-gradient(180deg, rgba(4, 16, 28, 0.7) 0%, rgba(4, 16, 28, 0.34) 34%, rgba(4, 16, 28, 0.48) 62%, rgba(4, 16, 28, 0.84) 100%),
            radial-gradient(ellipse at 50% 34%, rgba(6, 22, 38, 0) 0%, rgba(4, 15, 26, 0.34) 100%);
    }
}

/* ---------- 23. 视频已做品牌蓝单色，遮罩放宽 ---------- */
.yr-hero-video { filter: brightness(1.18) !important; }
.yr-hero-veil {
    background:
        linear-gradient(90deg, rgba(3, 13, 24, 0.82) 0%, rgba(3, 13, 24, 0.52) 38%, rgba(3, 13, 24, 0.28) 68%, rgba(3, 13, 24, 0.44) 100%),
        linear-gradient(180deg, rgba(3, 13, 24, 0.42) 0%, rgba(3, 13, 24, 0.10) 44%, rgba(3, 13, 24, 0.62) 100%),
        radial-gradient(ellipse at 50% 42%, rgba(4, 20, 36, 0) 0%, rgba(3, 12, 22, 0.34) 100%);
}
@media (max-width: 768px) {
    .yr-hero-video { filter: brightness(1.34) contrast(1.05) !important; }
    .yr-hero-veil {
        background:
            linear-gradient(180deg, rgba(3, 13, 24, 0.66) 0%, rgba(3, 13, 24, 0.28) 32%, rgba(3, 13, 24, 0.44) 60%, rgba(3, 13, 24, 0.8) 100%),
            radial-gradient(ellipse at 50% 34%, rgba(4, 20, 36, 0) 0%, rgba(3, 12, 22, 0.28) 100%);
    }
}
