/* ============================================================
   华宇瑞得官网 · 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; }

/* ============ 顶部导航 ============ */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 999;
    background: rgba(26,26,26,0.96); backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header .container { padding-left: 12px; padding-right: 12px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; margin-left: -6px; padding: 0; }
.logo img { height: 38px; width: auto; display: block; }
.logo img { height: 38px; width: auto; }
.nav { display: flex; gap: 30px; }
.nav > li { position: relative; }
.nav > li > a {
    color: rgba(255,255,255,0.85); font-size: 15px; padding: 22px 0;
    display: block; transition: color .3s; border-bottom: 2px solid transparent;
}
.nav > li > a:hover, .nav > li.active > a { color: var(--gold); border-bottom-color: var(--gold); }
.nav .dropdown {
    position: absolute; top: 100%; left: 0; min-width: 190px;
    background: #242424; border-radius: 0 0 8px 8px; padding: 10px 0;
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s;
}
.nav > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
    display: block; padding: 10px 20px; color: rgba(255,255,255,0.7);
    font-size: 14px; transition: all .25s;
}
.dropdown a:hover { color: var(--gold); 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; }

/* ============ 页脚 ============ */
.footer { background: #161616; color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.footer-grid {
    display: grid; grid-template-columns: 1.8fr 1fr 1.4fr 0.9fr; gap: 40px;
    padding-bottom: 40px;
}
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer a { display: block; color: rgba(255,255,255,0.6); font-size: 14px; padding: 5px 0; transition: color .3s; }
.footer a:hover { color: var(--gold); }
.footer p { font-size: 14px; line-height: 1.8; margin-top: 10px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0;
    text-align: center; font-size: 13px; color: rgba(255,255,255,0.4);
}

/* ============ 内页通用 ============ */
.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 {
        position: fixed; top: 64px; left: 0; right: 0;
        background: rgba(28,28,28,0.98); flex-direction: column;
        padding: 20px; display: none; gap: 0;
    }
    .nav.active { display: flex; }
    .nav > li > a { padding: 14px 0; }
    .nav .dropdown { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; background: rgba(255,255,255,0.05); }
    .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; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .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; }
    .footer-grid { grid-template-columns: 1fr !important; }
}
@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; }
}
