/* ============================================================
   华宇瑞得官网 · v5 DesignDNA规范
   品牌色：深红 #b22222 / 鎏金 #c9a84c / 暖近黑 #1a1a1a
   规则：8px间距基准 · ≤4字重 · 字距随字号反比 · 多层阴影
   ============================================================ */
:root {
    /* 品牌色（Rule 6：克制使用，仅CTA/active） */
    --brand: #b22222;
    --brand-hover: #8b0000;
    --accent: #c9a84c;

    /* 文字阶（Rule 7：暖近黑，禁用纯黑） */
    --text-strong: #1a1a1a;
    --text-body: #333;
    --text-muted: #666;
    --text-faint: #999;

    /* 表面/背景（语义分层） */
    --surface-1: #ffffff;
    --surface-2: #f7f7f5;
    --surface-3: #23262e;
    --surface-dark: #1a1a1a;
    --surface-red: #3d0d0d;

    /* 边框 */
    --line: #eee;
    --line-strong: #ddd;

    /* 交互态 */
    --focus-ring: rgba(201,168,76,0.35);

    /* 语义色 */
    --success: #16a34a;
    --warning: #d97706;
    --danger: #dc2626;

    /* 间距（Rule 1：8px基准） */
    --space-1: 4px; --space-2: 8px; --space-3: 12px;
    --space-4: 16px; --space-5: 24px; --space-6: 32px;
    --space-7: 40px; --space-8: 48px; --space-10: 80px; --space-12: 96px;

    /* 圆角（Rule 8：命名尺度） */
    --radius-none: 0; --radius-micro: 2px; --radius-subtle: 4px;
    --radius-standard: 8px; --radius-comfortable: 12px;
    --radius-relaxed: 20px; --radius-pill: 9999px;

    /* 阴影（Rule 5：多层） */
    --shadow-subtle:
        rgba(0,0,0,0.04) 0px 4px 18px,
        rgba(0,0,0,0.027) 0px 2px 8px,
        rgba(0,0,0,0.02) 0px 1px 3px;
    --shadow-lift:
        rgba(0,0,0,0.08) 0px 12px 30px,
        rgba(0,0,0,0.04) 0px 4px 12px,
        rgba(0,0,0,0.02) 0px 2px 4px;
    --shadow-brand:
        rgba(178,34,34,0.12) 0px 10px 30px,
        rgba(178,34,34,0.06) 0px 4px 12px;

    /* 字距（Rule 3：随字号反比） */
    --tracking-display: -0.03em;
    --tracking-heading: -0.015em;
    --tracking-body: 0;
    --tracking-caption: 0.015em;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "PingFang SC","Microsoft YaHei","Noto Sans SC",sans-serif; color: var(--text); background: #fff; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
ul { list-style: none; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 32px; }

/* ============ 顶部导航 ============ */
.logo { display: flex; align-items: center; margin-left: -6px; padding: 0; }
.nav { display: flex; gap: 30px; }
.dropdown a {
    display: block; padding: 10px 20px; color: rgba(255,255,255,0.7);
    font-size: 14px; transition: all .25s;
}
.dropdown a:hover { color: #ff4d4d; background: rgba(255,255,255,0.05); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 26px; height: 2px; background: #fff; }

/* ============ ① Banner：CHMM式超大标题 ============ */
.home-banner {
    position: relative; padding: 190px 0 120px; overflow: hidden;
    background: #1a1a1a;
}
.banner-bg-img {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}
.banner-shade {
    position: absolute; inset: 0;
    background:
        linear-gradient(to right, rgba(15,5,5,0.82) 0%, rgba(15,5,5,0.45) 45%, rgba(15,5,5,0.15) 70%, rgba(15,5,5,0.3) 100%),
        linear-gradient(to top, rgba(26,26,26,0.6) 0%, transparent 40%);
}
.banner-animote { position: relative; text-align: center; }
.banner-animote .p1 {
    font-size: 64px; color: #fff; font-weight: 800; line-height: 1.15;
    letter-spacing: 4px; margin-bottom: 20px;
}
.banner-animote .p1 .gold { color: var(--gold); }
.banner-animote .p2 {
    font-size: 18px; color: rgba(255,255,255,0.65); letter-spacing: 3px;
    margin-bottom: 44px; font-family: "Georgia","Times New Roman",serif;
}
.banner-btns { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.btn-brand {
    display: inline-block; padding: 15px 46px; border-radius: 27px;
    background: var(--primary); color: #fff; font-size: 17px; font-weight: 600;
    transition: all .3s; box-shadow: var(--shadow-brand);
}
.btn-brand:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-line {
    display: inline-block; padding: 15px 46px; border-radius: 27px;
    border: 1px solid rgba(255,255,255,0.35); color: #fff; font-size: 17px;
    transition: all .3s;
}
.btn-line:hover { border-color: var(--gold); color: var(--gold); }

/* ============ ② 能力链路 ============ */
.home-chain { padding: 80px 0; background: #fff; }
.home-title {
    font-size: 32px; font-weight: 700; color: var(--dark);
    text-align: center; margin-bottom: 14px; letter-spacing: 1px;
}
.home-title.light { color: #fff; }
.home-title::after {
    content: ''; display: block; width: 50px; height: 4px;
    background: var(--gold); margin: 16px auto 0;
}
.chain { display: flex; align-items: stretch; justify-content: center; flex-wrap: wrap; gap: 0; margin-top: 46px; }
.chain-node {
    flex: 1; min-width: 150px; max-width: 195px;
    background: #fff; border: 1px solid var(--line); border-radius: 10px;
    padding: 30px 18px; text-align: center; transition: all .3s;
}
.chain-node:hover { border-color: var(--primary); transform: translateY(-5px); box-shadow: var(--shadow-brand); }
.chain-icon { font-size: 36px; margin-bottom: 14px; }
.chain-node h4 { color: var(--primary-dark); font-size: 17px; margin-bottom: 10px; }
.chain-node p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.chain-arrow {
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: var(--gold); padding: 0 10px; font-weight: 800;
}

/* ============ ③ 核心项目：三栏（CHMM project 式） ============ */
.home-projects { padding: 80px 0; background: var(--gray-bg); }
.project-bottom { display: flex; justify-content: space-between; align-items: stretch; margin-top: 40px; }
.pro-left { width: 25%; display: flex; flex-direction: column; gap: 34px; }
.pro-main { width: 46%; text-align: center; padding: 0 18px; }
.pro-right { width: 25%; display: flex; flex-direction: column; gap: 34px; }
.project-box {
    box-shadow: var(--shadow-subtle); border-radius: 8px;
    padding: 40px 22px 30px; min-height: 300px; position: relative; overflow: hidden;
    background: #fff;
}
.project-box:hover { box-shadow: var(--shadow-lift); }
.pro-main-box { min-height: 640px; }
.project-img { position: absolute; top: 0; left: 0; right: 0; height: 6px; opacity: 1; }
.project-t { position: relative; z-index: 3; }
.project-tit p { font-weight: 700; font-size: 26px; color: #1a1a1a; line-height: 1.15; text-align: center; text-transform: uppercase; }
.project-span { width: 43px; height: 4px; background: var(--gold); display: flex; margin: 16px auto 20px; }
.project-list li {
    font-size: 16px; color: #333; line-height: 30px; text-align: center;
}
.project-list li::before { content: '—'; color: var(--gold); margin-right: 6px; }
.project-btn { display: flex; justify-content: center; margin: 26px 0 8px; }
.project-btn a {
    width: 150px; height: 42px; background: var(--primary); border-radius: 21px;
    line-height: 42px; color: #fff; font-size: 15px; text-align: center; transition: all .3s;
}
.project-btn a:hover { background: var(--primary-dark); }

/* ============ ④ 优势区：深色底 + 数据（CHMM advantages 式） ============ */
.home-advantages {
    padding: 80px 0; position: relative;
    background: linear-gradient(150deg, #1a1a1a 0%, #2a0a0a 70%, #3d0d0d 100%);
}
.boxshaw-text { max-width: 700px; margin: 18px auto 50px; text-align: center; font-size: 16px; color: #d5d5d5; line-height: 1.8; }
.advantages-row { display: flex; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; gap: 30px; }
.advantages-col { display: flex; align-items: baseline; margin-right: 60px; }
.advantages-col:nth-last-child(1) { margin-right: 0; }
.advantages-col b { font-size: 44px; color: var(--gold); font-weight: 800; margin-right: 10px; line-height: 1; }
.advantages-col p { font-weight: 600; font-size: 17px; color: #fff; line-height: 1.4; }
.advantages-btns { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; }
.advantages-btns .btn-brand { box-shadow: none; }
.advantages-tel { display: flex; align-items: center; gap: 14px; }
.advantages-tel .left { font-size: 30px; color: var(--gold); }

/* ============ ⑤ 中试平台 ============ */
.home-platform { padding: 80px 0; background: #fff; }
.platform-section { display: grid; grid-template-columns: 420px 1fr; gap: 50px; align-items: center; margin-top: 40px; }
.platform-text p { font-size: 15px; color: var(--muted); line-height: 1.9; margin-bottom: 22px; }
.platform-quote {
    border-left: 4px solid var(--gold); background: #fff8e8;
    padding: 14px 18px; font-size: 14px; color: #8b6914; border-radius: 0 8px 8px 0;
}
.platform-box { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.platform-item {
    background: linear-gradient(160deg, #fff 0%, #fdf8ee 100%);
    border: 1px solid #f0e6cd; border-radius: 10px; padding: 30px 22px;
    text-align: center; font-size: 13px; color: #888; line-height: 1.8;
}
.platform-item b { color: var(--primary-dark); font-size: 18px; display: block; margin-bottom: 8px; }

/* ============ ⑥ 服务客户 ============ */
.home-clients { padding: 80px 0; background: var(--gray-bg); }
.client-grid {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
    margin-top: 40px; max-width: 1000px; margin-left: auto; margin-right: auto;
}
.client-item {
    padding: 12px 26px; background: #fff; border: 1px solid var(--line);
    border-radius: 24px; font-size: 15px; color: #555; transition: all .3s;
}
.client-item:hover { border-color: var(--gold); color: var(--primary); }
.client-item.star { border-color: var(--gold); color: var(--primary); font-weight: 600; }

/* ============ 页脚 ============ */

/* ============ 内页通用 ============ */
.page-banner {
    background: linear-gradient(135deg, #1c1c1c 0%, #3d0d0d 60%, #6b1010 100%);
    color: #fff; padding: 150px 0 60px; text-align: center;
}
.page-banner h1 { font-size: 34px; font-weight: 700; letter-spacing: 2px; }
.page-banner p { color: rgba(255,255,255,0.6); margin-top: 10px; font-size: 15px; }
.section { padding: 80px 0; }
.section-gray { background: var(--gray-bg); }
.section-title { font-size: 30px; font-weight: 700; text-align: center; color: var(--dark); margin-bottom: 14px; }
.section-title::after {
    content: ''; display: block; width: 50px; height: 4px;
    background: var(--gold); margin: 14px auto 0;
}
.section-subtitle { text-align: center; color: var(--muted); font-size: 15px; margin-bottom: 40px; }

/* 卡片网格（产品/案例页） */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.card {
    background: #fff; border: 1px solid var(--line); border-radius: 10px;
    padding: 28px 24px; transition: all .3s;
}
.card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-brand); }
.card-icon { font-size: 34px; display: block; margin-bottom: 14px; }
.card h3 { font-size: 17px; color: var(--dark); margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.card-data {
    margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line);
    font-size: 13px; color: var(--muted);
}
.card-data b { color: var(--gold); font-size: 16px; }


/* ============ 客户Logo墙 ============ */
.client-logos {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 18px; margin-top: 40px; max-width: 1100px; margin-left: auto; margin-right: auto;
}
.client-logo {
    width: 150px; height: 100px;
    background: #fff; border: 1px solid var(--line); border-radius: 8px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 10px 12px 8px; transition: all .3s; position: relative;
}
.client-logo img {
    max-width: 100%; max-height: 50px;
    width: auto; height: auto; object-fit: contain;
    margin-bottom: 6px;
}
.client-name {
    font-size: 12px; color: #666; text-align: center; line-height: 1.2;
}
.client-logo:hover { border-color: var(--gold); box-shadow: var(--shadow-subtle); }
.client-logo.star { border-color: var(--gold); }
.client-logo.star span {
    position: absolute; top: -10px; right: -6px;
    background: var(--primary); color: #fff; font-size: 11px;
    padding: 2px 8px; border-radius: 10px;
}

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
    .project-bottom { flex-direction: column; gap: 30px; }
    .pro-left, .pro-main, .pro-right { width: 100%; padding: 0; }
    .pro-main-box { min-height: auto; }
    .platform-section { grid-template-columns: 1fr; gap: 30px; }
    .advantages-col { margin-right: 30px; }
}
@media (max-width: 768px) {
    
    
    .nav-toggle { display: flex; }
    .banner-animote .p1 { font-size: 34px; }
    .home-banner { padding: 140px 0 90px; }
    .home-title { font-size: 26px; }
    .advantages-col b { font-size: 34px; }
    .chain { flex-direction: column; align-items: center; gap: 6px; }
    .chain-arrow { transform: rotate(90deg); }
    .section { padding: 55px 0; }
}


/* ============ 首页动效（2026-08） ============ */
.banner-animote { position: relative; z-index: 2; text-align: center; }
.hero-title { font-size: 56px; color: #fff; font-weight: 800; letter-spacing: 3px; margin-bottom: 18px; }
.hero-title .gold { color: var(--gold); }
.hero-tagline { font-size: 13px; letter-spacing: 4px; color: rgba(255,255,255,0.6); margin-bottom: 16px; text-transform: uppercase; }
.hero-sub { font-size: 17px; color: rgba(255,255,255,0.75); line-height: 1.8; margin-bottom: 40px; letter-spacing: 1px; }

/* 入场动画 */
.anim-up {
    opacity: 0; transform: translateY(30px);
    animation: fadeUp .9s cubic-bezier(.25,.46,.45,.94) forwards;
}
.delay-1 { animation-delay: .15s; }
.delay-2 { animation-delay: .35s; }
.delay-3 { animation-delay: .55s; }
.delay-4 { animation-delay: .75s; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 标题光效 */
.hero-title span.gold {
    background: linear-gradient(90deg, #d4af37, #f5e6a8, #d4af37);
    background-size: 200% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShine 3.5s ease-in-out infinite;
}
@keyframes goldShine {
    0%, 100% { background-position: 0% 0; }
    50% { background-position: 100% 0; }
}

/* 数据条 */
.hero-data {
    display: flex; justify-content: center; gap: 48px;
    margin-top: 50px; padding-top: 26px;
    border-top: 1px solid rgba(255,255,255,0.15);
    flex-wrap: wrap;
}
.hd-item { text-align: center; }
.hero-data-item { text-align: center; display: inline-block; position: relative; padding-bottom: 18px; }
.hd-item b, .hero-data-item b, .hero-data-item span.count { font-size: 34px; color: #fff; font-weight: 800; line-height: 1.1; display: inline-block !important; }
.hd-item span, .hero-data-item span { font-size: 17px; color: #c9a84c; font-weight: 700; display: inline-block !important; }
.hd-item b::after, .hero-data-item b::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 24px; height: 3px; background: var(--gold); }

/* 按钮悬浮 */
.btn-brand, .btn-line { position: relative; overflow: hidden; }
.btn-brand::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    animation: btnShine 3s ease-in-out infinite;
}
@keyframes btnShine {
    0%, 60% { left: -100%; }
    100% { left: 100%; }
}

/* 滚动视差 - 能力链路等板块 */
.home-chain, .home-projects { animation: none; }

/* 滚动渐显（用IntersectionObserver JS控制 .reveal 类） */
.reveal { opacity: 0; transform: translateY(40px); transition: all .8s cubic-bezier(.25,.46,.45,.94); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
    .hero-title { font-size: 32px; }
    .hero-data { gap: 24px; }
    .hd-item b { font-size: 26px; }
}

/* ============ 图片集 ============ */
.gallery-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px; margin-top: 40px;
}
.gallery-item {
    background: #fff; border: 1px solid var(--line); border-radius: 10px;
    overflow: hidden; transition: all .3s;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-brand); border-color: var(--gold); }
.gallery-item img {
    width: 100%; height: 220px; object-fit: cover; display: block;
    background: #f5f5f5;
}
.gallery-caption {
    padding: 12px 16px; font-size: 14px; color: var(--dark);
    text-align: center; border-top: 1px solid var(--line);
}

/* 灯箱预览 */
.lightbox {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.92); display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all .3s;
}
.lightbox.show { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90%; max-height: 85%; border-radius: 6px; box-shadow: var(--shadow-lift); }
.lightbox-close {
    position: absolute; top: 24px; right: 30px; color: #fff; font-size: 42px;
    cursor: pointer; line-height: 1;
}
@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .gallery-item img { height: 150px; }
    .gallery-caption { font-size: 12px; padding: 8px; }
}

/* ============ 工程案例页 ============ */
.case-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 25px; }
.case-card {
    background: #fff; border: 1px solid #eee; border-left: 4px solid #b22222;
    padding: 28px 26px; transition: all 0.3s; position: relative;
    text-align: left; display: flex; flex-direction: column; gap: 12px;
    border-radius: 10px; overflow: hidden;
}
.case-card:hover {
    box-shadow: var(--shadow-lift); transform: translateY(-5px);
    border-left-color: #c9a84c;
}
.case-card-img { width: 100%; height: 170px; object-fit: cover; border-radius: 6px; margin-bottom: 4px; }
/* 案例照片轮播 */
.case-carousel { position: relative; width: 100%; height: 170px; border-radius: 6px; overflow: hidden; margin-bottom: 4px; }
.case-carousel img { width: 100%; height: 170px; object-fit: cover; position: absolute; top: 0; left: 0; opacity: 0; transition: opacity .6s ease; }
.case-carousel img.active { opacity: 1; }
.case-carousel .carousel-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 5; }
.case-carousel .carousel-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; transition: all .3s; }
.case-carousel .carousel-dots span.active { background: #fff; width: 18px; border-radius: 4px; }
.case-carousel .carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; background: rgba(0,0,0,.35); color: #fff; border: none; border-radius: 50%; font-size: 14px; cursor: pointer; z-index: 5; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s; }
.case-carousel:hover .carousel-arrow { opacity: 1; }
.case-carousel .carousel-arrow.prev { left: 6px; }
.case-carousel .carousel-arrow.next { right: 6px; }
.case-carousel .carousel-arrow:hover { background: rgba(178,34,34,.8); }
.case-year {
    display: inline-block; background: #b22222; color: #fff; font-size: 12px; font-weight: 700;
    padding: 3px 12px; border-radius: 3px; align-self: flex-start; letter-spacing: 1px;
}
.case-card h3 { font-size: 18px; font-weight: 700; color: #1a1a1a; margin: 0; }
.case-card p { font-size: 13.5px; color: #777; line-height: 1.8; margin: 0; flex: 1; }
.case-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.case-tags span {
    font-size: 11.5px; color: #b22222; background: #fdf0f0; border: 1px solid #f0d5d5;
    padding: 2px 10px; border-radius: 20px;
}
.case-link { font-size: 13px; font-weight: 600; color: #b22222; display: inline-flex; align-items: center; gap: 4px; }
.case-link:hover { color: #c9a84c; }

/* ============ 交互状态（Rule 9：default/hover/focus/disabled） ============ */
a:focus-visible, button:focus-visible, .btn:focus-visible, .case-tab:focus-visible, .cat-btn:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
}
.btn:disabled, button:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===== 技术卡网格（研发实力/核心技术） ===== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    margin-top: 0;
}
.tech-item {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 12px 14px;
    transition: all .3s;
}
.tech-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.tech-item h4 {
    font-size: 15px;
    color: #8b0000;
    margin-bottom: 6px;
}
.tech-item p {
    font-size: 12px;
    color: #666;
    line-height: 1.7;
}
/* 深色板块内tech-item适配 */
.section-dark .tech-item {
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.12);
}
.section-dark .tech-item h4 {
    color: #C9A84C;
}
.section-dark .tech-item p {
    color: rgba(255,255,255,.75);
}

/* ============ 手机端修复（2026-08-23 SEO审计） ============ */
@media (max-width: 768px) {
    .advantages-row { grid-template-columns: repeat(3, 1fr) !important; gap: 16px !important; }
    .advantages-row .hover-lift { padding: 20px 8px !important; }
    .advantages-row .hover-lift b.count { font-size: 32px !important; line-height: 32px !important; }
    .advantages-row .hover-lift span { font-size: 16px !important; line-height: 32px !important; }
    .advantages-row .hover-lift p { font-size: 12px !important; white-space: normal !important; }
    .container { padding-left: 16px !important; padding-right: 16px !important; }
    section { overflow-x: hidden; }
    body { overflow-x: hidden; }
}
@media (max-width: 480px) {
    .advantages-row { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
    .home-title { font-size: 24px !important; }
    .hero-title { font-size: 26px !important; }
}

/* ===== 数据条 stats（cases.html顶部 2007/70+/100+/20~30%）===== */
.stats {
    background: linear-gradient(135deg, #b22222 0%, #8b0000 100%);
    padding: 45px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.stats-grid > div {
    padding: 20px 10px;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.stats-grid > div:last-child { border-right: none; }
.stat-num {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    font-family: "DIN", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.1;
    letter-spacing: -0.5px;
}
.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    margin-top: 8px;
    font-weight: 500;
}
/* 移动端2列 */
@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stats-grid > div:nth-child(2) { border-right: none; }
    .stat-num { font-size: 34px; }
}


/* ============================================================
   ====  v3 设计系统外壳（2026-09-12 全站统一）  ====
   浅色底 + 品牌红主色 + 环保绿辅色。改这里全站生效。
   ============================================================ */
:root{
  --brand:#b22222; --brand-dark:#8b0000; --brand-tint:#fbf4f2; --brand-tint2:#f6e7e3;
  --green:#17795a; --green-bright:#1fa06f; --green-tint:#eef6f2;
  --gold:#b8944a;
  --paper:#ffffff; --paper-2:#f8f7f4; --line:#e9e5df; --line-2:#efebe5;
  --deep:#5c1012; --deep-2:#45090b;
  --t-h:#1a1a1a; --t-body:#333333; --t-muted:#666666; --t-faint:#999999;
  --t-onDeep:rgba(255,255,255,.92); --t-onDeep-2:rgba(255,255,255,.66);
  --fs-xs:12px; --fs-sm:14px; --fs-md:16px; --fs-lg:18px; --fs-xl:22px; --fs-2xl:30px; --fs-3xl:44px;
  --sp-1:4px; --sp-2:8px; --sp-3:12px; --sp-4:16px; --sp-5:24px; --sp-6:32px; --sp-7:48px;
  --sp-8:72px; --sp-9:100px;
  --radius:6px; --radius-lg:12px; --grid:1240px; --axis:5.5%;
  --sh-1:0 1px 2px rgba(26,26,26,.04);
  --sh-2:0 8px 28px -10px rgba(26,26,26,.14);
  --sh-3:0 18px 48px -18px rgba(178,34,34,.28);
  --ease:cubic-bezier(.22,.61,.36,1);
}
body{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  color:var(--t-body);background:var(--paper);-webkit-font-smoothing:antialiased}
.wrap{max-width:var(--grid);margin:0 auto;padding:0 var(--axis)}
.eyebrow{font-size:var(--fs-xs);letter-spacing:.2em;text-transform:uppercase;font-weight:700;color:var(--brand)}
.eyebrow-g{color:var(--green)}
.sec-head{display:flex;align-items:flex-start;gap:var(--sp-4);margin-bottom:var(--sp-7)}
.sec-head .num{font-size:var(--fs-xs);font-weight:800;color:var(--brand);letter-spacing:.1em;
  border-left:3px solid var(--brand);padding-left:var(--sp-3);line-height:1.25;margin-top:6px}
.sec-head h2{font-size:var(--fs-2xl);color:var(--t-h);font-weight:800;letter-spacing:-.02em;line-height:1.25}
.sec-head p{margin-top:var(--sp-2);color:var(--t-muted);font-size:var(--fs-sm)}
.chip{font-size:var(--fs-xs);color:var(--t-muted);background:#fff;border:1px solid var(--line);
  padding:5px 12px;border-radius:100px;display:inline-flex;align-items:center;gap:6px}
.chip i{width:6px;height:6px;border-radius:50%;background:var(--green-bright);display:inline-block;font-style:normal}
.tag{font-size:var(--fs-xs);color:var(--brand-dark);background:var(--brand-tint2);
  padding:5px 13px;border-radius:100px;font-weight:600;display:inline-block}
.tag.g{color:var(--green);background:var(--green-tint)}
.btn{display:inline-flex;align-items:center;gap:var(--sp-2);padding:15px 32px;border-radius:var(--radius);
  font-size:var(--fs-sm);font-weight:700;transition:all .22s;border:1px solid transparent;
  position:relative;overflow:hidden;text-decoration:none}
.btn-p{background:var(--brand);color:#fff;box-shadow:0 8px 22px -8px rgba(178,34,34,.5)}
.btn-p:hover{background:var(--brand-dark);transform:translateY(-1px)}
.btn-o{border-color:var(--brand);color:var(--brand)}
.btn-o:hover{background:var(--brand);color:#fff}
.btn::after{content:"";position:absolute;inset:0;background:rgba(255,255,255,.18);
  transform:translateX(-101%) skewX(-18deg);transition:transform .55s var(--ease)}
.btn:hover::after{transform:translateX(101%) skewX(-18deg)}
.btn-o::after{background:rgba(178,34,34,.10)}

/* ---- 顶部导航（.hd，替代旧 .header 深色版） ---- */
.hd{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);transition:box-shadow .3s,border-color .3s}
.hd.scrolled{box-shadow:0 6px 24px -12px rgba(26,26,26,.22);border-bottom-color:transparent}
.hd-in{display:flex;align-items:center;justify-content:space-between;height:70px}
.hd .logo img{height:30px}
.hd .nav{display:flex;align-items:center;gap:var(--sp-6);list-style:none;margin:0;padding:0}
.hd .nav a{font-size:var(--fs-sm);color:var(--t-muted);transition:color .2s;position:relative;
  padding:5px 0;font-weight:500;text-decoration:none}
.hd .nav a:hover{color:var(--brand)}
.hd .nav a.on{color:var(--brand);font-weight:700}
.hd .nav a.on::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;
  background:var(--brand);border-radius:2px}
.hd .nav .cta{background:var(--brand);color:#fff;padding:10px 22px;border-radius:var(--radius);
  font-weight:700;box-shadow:0 4px 14px -4px rgba(178,34,34,.45)}
.hd .nav .cta:hover{background:var(--brand-dark);color:#fff}

/* ---- 页脚（.ft，深红替代旧黑） ---- */
.ft{background:var(--deep);color:var(--t-onDeep-2);padding:var(--sp-8) 0 0;margin-top:0}
.ft-g{display:grid;grid-template-columns:1.7fr 1fr 1.35fr .9fr;gap:var(--sp-7);padding-bottom:var(--sp-7)}
.ft h4{color:#fff;font-size:var(--fs-sm);font-weight:800;margin-bottom:var(--sp-5);letter-spacing:.06em}
.ft .brandline{display:flex;align-items:center;gap:var(--sp-3);margin-bottom:var(--sp-3)}
.ft .brandline img{height:26px;filter:brightness(0) invert(1)}
.ft .slogan{font-size:var(--fs-sm);color:rgba(255,255,255,.55);letter-spacing:.1em;margin-bottom:var(--sp-5)}
.ft p{font-size:var(--fs-sm);line-height:2.05;color:var(--t-onDeep-2);margin:0}
.ft a{font-size:var(--fs-sm);display:block;line-height:2.25;color:var(--t-onDeep-2);
  transition:color .2s;text-decoration:none}
.ft a:hover{color:#fff}
.ft .qr{width:112px;border-radius:var(--radius);background:#fff;padding:6px}
.ft-b{border-top:1px solid rgba(255,255,255,.14);padding:var(--sp-5) 0;text-align:center;
  font-size:var(--fs-xs);color:rgba(255,255,255,.5)}
.ft-b p{margin:0;font-size:var(--fs-xs);color:rgba(255,255,255,.5)}
.ft-b a{display:inline;font-size:var(--fs-xs);color:rgba(255,255,255,.5)}
.ft-b a:hover{color:#fff}
.progress{position:fixed;top:0;left:0;height:2px;width:0;z-index:200;pointer-events:none;
  background:linear-gradient(90deg,var(--brand),#d64545);transition:width .12s linear}

/* 移动端：旧页面的文字普遍偏小，统一兜底 */
@media(max-width:768px){
.hd .nav{display:none}
  .ft-g{grid-template-columns:1fr;gap:var(--sp-6)}
  .ft{padding:var(--sp-7) 0 0}
}
/* ==== v3 外壳结束 ==== */

/* ==== 移动端导航（汉堡菜单）2026-09-14 ==== */
.hd .nav-toggle{display:none;flex-direction:column;justify-content:center;gap:5px;width:40px;height:40px;
  background:transparent;border:0;cursor:pointer;padding:0}
.hd .nav-toggle span{display:block;width:22px;height:2px;background:#1a1a1a;border-radius:2px;
  transition:transform .25s,opacity .2s}
.hd .nav-toggle.on span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hd .nav-toggle.on span:nth-child(2){opacity:0}
.hd .nav-toggle.on span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
@media(max-width:768px){
.hd .nav-toggle{display:flex}
  .hd .nav{display:none}
  .hd .nav.on{display:flex;position:absolute;left:0;right:0;top:60px;flex-direction:column;gap:0;
    background:rgba(255,255,255,.98);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);
    box-shadow:0 16px 34px -18px rgba(0,0,0,.32);padding:6px 18px 16px;
    max-height:calc(100vh - 60px);overflow-y:auto;z-index:99}
  .hd .nav li{width:100%;list-style:none}
  .hd .nav a{display:block;padding:13px 2px;font-size:16px;border-bottom:1px solid var(--line)}
  .hd .nav a.on::after{display:none}
  .hd .nav li:last-child a{border-bottom:0}
  .hd .nav .cta{margin:12px 0 4px;display:block;text-align:center;padding:12px 20px;border-bottom:0 !important}
  .hd .nav .cta:hover{color:#fff}
}
/* ==== 移动端导航结束 ==== */

/* 移动端菜单遮罩（点击空白关闭） */
.nav-mask{display:none}
@media(max-width:768px){
  .nav-mask{position:fixed;left:0;right:0;top:60px;bottom:0;background:rgba(20,16,14,.5);
    display:none;z-index:98;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
  .nav-mask.on{display:block}
}
