/* ============================================================
   邢台中孚复合材料官网 — 前台样式
   风格：工业 B2B —— 藏青 + 品牌蓝 + 橙色点缀，干净利落
   ============================================================ */

:root {
    --blue: #1E63D0;
    --blue-hover: #1750AC;
    --blue-deep: #10315F;
    --navy: #0B1F3A;
    --navy-2: #0E2648;
    --orange: #F7A823;
    --ink: #17222F;
    --muted: #5C6B7E;
    --line: #E3E9F1;
    --bg: #F4F7FB;
    --white: #fff;
    --radius: 14px;
    --shadow: 0 10px 34px rgba(14, 42, 82, .10);
    --shadow-sm: 0 4px 16px rgba(14, 42, 82, .07);
    --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    font-family: MiSans, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- 通用按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 30px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .02em;
    border: 1px solid transparent;
    transition: all .25s ease;
    white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(30, 99, 208, .3); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-light { background: var(--orange); color: #fff; }
.btn-light:hover { background: #E59813; transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, .65); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-outline-light { border-color: rgba(255, 255, 255, .65); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); }
.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-wide { width: 100%; }

/* ---------- 通用 section 头 ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; text-align: left; }
.section-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .22em;
    color: var(--blue);
    margin-bottom: 12px;
}
.section-title { font-size: 34px; font-weight: 700; line-height: 1.3; letter-spacing: .01em; }
.section-desc { color: var(--muted); margin-top: 14px; font-size: 16px; }
.link-more { color: var(--blue); font-weight: 600; font-size: 15px; white-space: nowrap; padding-bottom: 6px; }
.link-more:hover { color: var(--blue-hover); }
.dark-section { background: var(--navy); color: #fff; }
.dark-section .section-title { color: #fff; }
.dark-section .section-desc { color: rgba(255, 255, 255, .65); }
.dark-section .section-eyebrow { color: var(--orange); }

/* ---------- 滚动渐入 ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.22, .61, .36, 1), transform .8s cubic-bezier(.22, .61, .36, 1); }
[data-reveal].revealed { opacity: 1; transform: none; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 1px 0 var(--line);
    transition: transform .35s ease, background .3s ease, box-shadow .3s ease;
}
.topbar { background: var(--navy); color: rgba(255, 255, 255, .78); font-size: 13px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 16px; }
.topbar-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-email { }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 76px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 46px; width: auto; }
.logo .logo-white { display: none; }

.main-nav ul { display: flex; align-items: center; gap: 6px; }
.main-nav a {
    display: inline-block;
    padding: 10px 16px;
    font-size: 15.5px;
    font-weight: 500;
    color: var(--ink);
    position: relative;
    transition: color .2s;
}
.main-nav a::after {
    content: '';
    position: absolute;
    left: 16px; right: 16px; bottom: 4px;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}
.main-nav li.active > a, .main-nav a:hover { color: var(--blue); }
.main-nav li.active > a::after, .main-nav a:hover::after { transform: scaleX(1); }
.caret {
    display: inline-block;
    width: 7px; height: 7px;
    border-right: 1.6px solid currentColor;
    border-bottom: 1.6px solid currentColor;
    transform: rotate(45deg) translateY(-3px);
    margin-left: 5px;
    opacity: .55;
}

/* 下拉面板 */
.has-sub { position: relative; }
.sub-panel {
    position: absolute;
    top: 100%; left: 50%;
    transform: translateX(-50%) translateY(12px);
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 12px;
    min-width: 420px;
    opacity: 0;
    visibility: hidden;
    transition: all .25s ease;
}
.has-sub:hover .sub-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px); }
.sub-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.sub-item {
    display: block;
    padding: 12px 14px !important;
    border-radius: 10px;
    transition: background .2s;
}
.sub-item::after { display: none; }
.sub-item:hover { background: var(--bg); }
.sub-name { display: block; font-weight: 600; font-size: 15px; color: var(--ink); }
.sub-item:hover .sub-name { color: var(--blue); }
.sub-sub { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    border: 1px solid var(--line);
    padding: 7px 13px;
    border-radius: 999px;
    transition: all .2s;
}
.lang-switch:hover { color: var(--blue); border-color: var(--blue); }

.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .3s; }
.nav-mask { display: none; position: fixed; inset: 0; background: rgba(11, 31, 58, .5); z-index: 998; opacity: 0; pointer-events: none; transition: opacity .3s; }

/* 首页沉浸态 */
.site-header.header-overlay { background: transparent; box-shadow: none; }
.site-header.header-overlay .topbar { background: transparent; color: rgba(255, 255, 255, .75); }
.site-header.header-overlay .header-inner { box-shadow: none; }
.site-header.header-overlay .main-nav a { color: #fff; }
.site-header.header-overlay .lang-switch { color: rgba(255, 255, 255, .85); border-color: rgba(255, 255, 255, .35); }
.site-header.header-overlay .logo .logo-default { display: none; }
.site-header.header-overlay .logo .logo-white { display: block; }
.site-header.header-overlay .nav-toggle span { background: #fff; }
.site-header.header-overlay .header-cta { background: var(--orange); }
.site-header.scrolled .topbar { display: none; }
.site-header.scrolled .header-inner { height: 68px; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; height: 100vh; min-height: 620px; overflow: hidden; background: var(--navy); }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 1.2s ease; }
.hero-slide.current { opacity: 1; visibility: visible; }
.hero-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    transition: transform 7s ease;
}
.hero-slide.current .hero-bg { transform: scale(1); }
.hero-shade {
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(8, 22, 44, .88) 8%, rgba(10, 30, 60, .62) 46%, rgba(10, 30, 60, .28) 100%);
}
.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #fff;
}
.hero-eyebrow {
    font-size: 13px;
    letter-spacing: .3em;
    font-weight: 600;
    color: var(--orange);
    margin-bottom: 20px;
}
.hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.22;
    max-width: 780px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}
.hero-sub {
    margin-top: 22px;
    font-size: 18px;
    color: rgba(255, 255, 255, .85);
    max-width: 640px;
    line-height: 1.8;
}
.hero-actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-dots {
    position: absolute;
    left: 50%; bottom: 92px;
    transform: translateX(-50%);
    display: flex; gap: 10px;
    z-index: 5;
}
.hero-dots button {
    width: 34px; height: 4px;
    border: 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, .32);
    transition: background .3s;
    padding: 0;
}
.hero-dots button.on { background: var(--orange); }
.hero-scroll {
    position: absolute;
    left: 50%; bottom: 34px;
    transform: translateX(-50%);
    width: 24px; height: 38px;
    border: 2px solid rgba(255, 255, 255, .5);
    border-radius: 14px;
    z-index: 5;
}
.hero-scroll span {
    position: absolute;
    left: 50%; top: 7px;
    width: 3px; height: 8px;
    margin-left: -1.5px;
    border-radius: 3px;
    background: #fff;
    animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
    0% { transform: translateY(0); opacity: 1; }
    70% { transform: translateY(10px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* ============================================================
   数据带
   ============================================================ */
.stats-band { background: var(--blue-deep); color: #fff; padding: 34px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { text-align: center; }
.stat-num { font-size: 40px; font-weight: 700; color: #fff; line-height: 1.2; }
.stat-num span { color: var(--orange); }
.stat-label { display: block; margin-top: 4px; font-size: 14px; color: rgba(255, 255, 255, .68); }

/* ============================================================
   产品体系（分类卡）
   ============================================================ */
.section-cats { background: var(--bg); }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    transition: transform .3s ease, box-shadow .3s ease;
    display: flex;
    flex-direction: column;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cat-media { aspect-ratio: 4 / 3; overflow: hidden; background: #fff; position: relative; }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover .cat-media img { transform: scale(1.05); }
.cat-body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.cat-body h3 { font-size: 19px; font-weight: 700; }
.cat-body p { color: var(--muted); font-size: 14px; margin-top: 8px; flex: 1; }
.cat-more { display: inline-block; margin-top: 16px; color: var(--blue); font-size: 14px; font-weight: 600; }
.cat-card:hover .cat-more i, .prod-card:hover .cat-more i { transform: translateX(4px); }
.cat-more i { display: inline-block; font-style: normal; transition: transform .25s ease; }

/* 分类/产品占位块（无图时） */
.cat-ph, .prod-ph {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #EAF1FB 0%, #DCE8F8 100%);
}
.cat-ph span, .prod-ph span {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: .05em;
    color: rgba(30, 99, 208, .28);
}
.prod-ph-lg { aspect-ratio: 4 / 3; border-radius: var(--radius); }

/* ============================================================
   精选产品
   ============================================================ */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prod-grid-3 { grid-template-columns: repeat(3, 1fr); }
.prod-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
    display: flex;
    flex-direction: column;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.prod-media { aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.prod-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.prod-card:hover .prod-media img { transform: scale(1.06); }
.prod-body { padding: 18px 20px 22px; }
.prod-body h3 { font-size: 17px; font-weight: 700; line-height: 1.45; }
.prod-body p { color: var(--muted); font-size: 13.5px; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-body .cat-more { margin-top: 12px; }

/* ============================================================
   核心性能
   ============================================================ */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.adv-card {
    position: relative;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius);
    padding: 30px 28px;
    transition: all .3s ease;
}
.adv-card:hover { background: rgba(255, 255, 255, .09); transform: translateY(-4px); border-color: rgba(247, 168, 35, .45); }
.adv-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: rgba(247, 168, 35, .14);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
}
.adv-icon svg { width: 24px; height: 24px; }
.adv-no {
    position: absolute;
    top: 24px; right: 26px;
    font-size: 30px;
    font-weight: 800;
    color: rgba(255, 255, 255, .08);
}
.adv-card h3 { font-size: 17.5px; margin-top: 18px; font-weight: 700; }
.adv-card p { margin-top: 10px; font-size: 14px; line-height: 1.85; color: rgba(255, 255, 255, .62); }

/* ============================================================
   应用领域
   ============================================================ */
.apps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.app-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    transition: all .3s ease;
}
.app-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue); }
.app-card h3 { font-size: 16.5px; font-weight: 700; margin-top: 14px; }
.app-ico {
    display: inline-flex;
    width: 54px; height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, #EAF1FB, #DCE8F8);
    position: relative;
}
.app-ico::after { content: ''; position: absolute; inset: 0; background: currentColor; -webkit-mask-position: center; mask-position: center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: 55%; mask-size: 55%; }
.app-ico { color: var(--blue); }
.app-card:hover .app-ico { background: var(--blue); color: #fff; }

/* 七个场景的 mask 图标（SVG data-uri） */
.app-ico-ev::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 11l1.5-4.5A2 2 0 0 1 8.4 5h7.2a2 2 0 0 1 1.9 1.5L19 11'/%3E%3Cpath d='M3 17a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v2a1 1 0 0 1-1 1h-1a2 2 0 1 1-4 0H9a2 2 0 1 1-4 0H4a1 1 0 0 1-1-1z'/%3E%3Cpath d='M13 7l-2.5 3H13l-2.5 3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 11l1.5-4.5A2 2 0 0 1 8.4 5h7.2a2 2 0 0 1 1.9 1.5L19 11'/%3E%3Cpath d='M3 17a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v2a1 1 0 0 1-1 1h-1a2 2 0 1 1-4 0H9a2 2 0 1 1-4 0H4a1 1 0 0 1-1-1z'/%3E%3Cpath d='M13 7l-2.5 3H13l-2.5 3'/%3E%3C/svg%3E"); }
.app-ico-charging::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 4.5 13H11l-1 9 8.5-11H12l1-9z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 4.5 13H11l-1 9 8.5-11H12l1-9z'/%3E%3C/svg%3E"); }
.app-ico-pv::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E"); }
.app-ico-storage::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='18' height='10' rx='2'/%3E%3Cpath d='M22 11v2'/%3E%3Cpath d='M11 9.5 9 12h3l-2 2.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='18' height='10' rx='2'/%3E%3Cpath d='M22 11v2'/%3E%3Cpath d='M11 9.5 9 12h3l-2 2.5'/%3E%3C/svg%3E"); }
.app-ico-power::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='6' width='12' height='12' rx='2'/%3E%3Cpath d='M9 2v4M15 2v4M9 18v4M15 18v4M2 9h4M2 15h4M18 9h4M18 15h4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='6' width='12' height='12' rx='2'/%3E%3Cpath d='M9 2v4M15 2v4M9 18v4M15 18v4M2 9h4M2 15h4M18 9h4M18 15h4'/%3E%3C/svg%3E"); }
.app-ico-rail::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='13' rx='3'/%3E%3Cpath d='M4 10h16'/%3E%3Ccircle cx='8.5' cy='13' r='.8'/%3E%3Ccircle cx='15.5' cy='13' r='.8'/%3E%3Cpath d='m6 20 2-3M18 20l-2-3M8 20h8'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='13' rx='3'/%3E%3Cpath d='M4 10h16'/%3E%3Ccircle cx='8.5' cy='13' r='.8'/%3E%3Ccircle cx='15.5' cy='13' r='.8'/%3E%3Cpath d='m6 20 2-3M18 20l-2-3M8 20h8'/%3E%3C/svg%3E"); }
.app-ico-datacenter::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='7' rx='2'/%3E%3Crect x='3' y='13' width='18' height='7' rx='2'/%3E%3Cpath d='M7 7.5h.01M7 16.5h.01'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='7' rx='2'/%3E%3Crect x='3' y='13' width='18' height='7' rx='2'/%3E%3Cpath d='M7 7.5h.01M7 16.5h.01'/%3E%3C/svg%3E"); }

/* 应用领域独立页 */
.app-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.app-detail-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 28px;
    background: #fff;
    transition: all .3s ease;
}
.app-detail-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--blue); }
.app-detail-head { display: flex; align-items: center; justify-content: space-between; }
.app-detail-head .app-ico { width: 58px; height: 58px; }
.app-no { font-size: 32px; font-weight: 800; color: rgba(30, 99, 208, .12); }
.app-detail-card h3 { font-size: 19px; margin-top: 18px; font-weight: 700; }
.app-detail-card p { margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.85; }

/* ============================================================
   关于区块
   ============================================================ */
.about-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-media .about-media-sub {
    position: absolute;
    right: -24px; bottom: -34px;
    width: 46%;
    border: 5px solid #fff;
    box-shadow: var(--shadow);
}
.about-badge {
    position: absolute;
    top: 22px; left: -18px;
    background: var(--orange);
    color: #fff;
    border-radius: 12px;
    padding: 12px 18px;
    text-align: center;
    box-shadow: 0 10px 24px rgba(247, 168, 35, .4);
}
.about-badge strong { display: block; font-size: 26px; line-height: 1.1; }
.about-badge span { font-size: 12px; opacity: .9; }
.about-text { color: var(--muted); line-height: 2; }
.about-points { margin: 22px 0 30px; }
.about-points li { position: relative; padding-left: 26px; margin-bottom: 12px; color: var(--ink); font-size: 15px; }
.about-points li::before {
    content: '';
    position: absolute;
    left: 0; top: 9px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E") center/9px no-repeat;
}
.about-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* 关于页 */
.about-intro-sec { padding-top: 90px; }
.about-rich p { margin-bottom: 14px; color: var(--muted); line-height: 2; }
.section-values .value-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all .3s ease;
}
.section-values .value-card:hover { background: rgba(255, 255, 255, .09); transform: translateY(-4px); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card span { font-size: 15px; font-weight: 800; color: var(--orange); letter-spacing: .1em; }
.value-card h3 { margin-top: 14px; font-size: 19px; }
.value-card p { margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, .62); line-height: 1.85; }

.factory-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.factory-item { overflow: hidden; border-radius: var(--radius); position: relative; grid-column: span 2; }
.factory-item:nth-child(1) { grid-column: span 3; }
.factory-item:nth-child(2) { grid-column: span 3; }
.factory-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; transition: transform .5s ease; }
.factory-item:hover img { transform: scale(1.05); }
.factory-item figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 30px 18px 12px;
    background: linear-gradient(transparent, rgba(8, 22, 44, .78));
    color: #fff;
    font-size: 13.5px;
}

/* ============================================================
   新闻
   ============================================================ */
.section-news { background: var(--bg); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
    display: flex;
    flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-media { aspect-ratio: 3 / 2; overflow: hidden; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .news-media img { transform: scale(1.06); }
.news-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.news-body time { font-size: 13px; color: var(--blue); font-weight: 600; letter-spacing: .04em; }
.news-body h3 {
    margin-top: 10px;
    font-size: 17px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-body p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-body .cat-more { margin-top: 16px; }

/* 新闻列表页 */
.news-listing { padding-top: 70px; }

/* 文章详情 */
.article-container { max-width: 860px; }
.article-head h1 { font-size: 30px; line-height: 1.45; font-weight: 700; }
.article-meta { margin-top: 14px; color: var(--muted); font-size: 14px; display: flex; gap: 10px; align-items: center; }
.article-cover { margin: 30px 0; border-radius: var(--radius); overflow: hidden; }
.article-cover img { width: 100%; }
.article-content { font-size: 16px; color: #2A3646; line-height: 2.05; }
.article-content p { margin-bottom: 16px; }
.article-content img { border-radius: 10px; margin: 10px auto; }
.article-content h2, .article-content h3 { margin: 28px 0 14px; font-size: 21px; }
.article-pn { display: flex; gap: 16px; margin-top: 52px; }
.pn-item {
    flex: 1;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 20px;
    transition: all .25s ease;
    min-width: 0;
}
.pn-item:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.pn-item span { font-size: 12.5px; color: var(--muted); display: block; }
.pn-item strong {
    display: block;
    margin-top: 6px;
    font-size: 14.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pn-next { text-align: right; }
.pn-item.pn-empty { border: 0; background: none; }
.article-more { margin-top: 52px; border-top: 1px solid var(--line); padding-top: 34px; }
.article-more h2 { font-size: 20px; margin-bottom: 18px; }
.article-more li { border-bottom: 1px dashed var(--line); }
.article-more a { display: flex; gap: 16px; padding: 13px 4px; font-size: 15px; align-items: baseline; }
.article-more a:hover { color: var(--blue); }
.article-more time { color: var(--muted); font-size: 13.5px; flex-shrink: 0; }

/* ============================================================
   分类 intro / 筛选
   ============================================================ */
.page-hero { position: relative; height: 380px; display: flex; align-items: flex-end; overflow: hidden; }
.page-hero-sm { height: 300px; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 22, 44, .62), rgba(8, 22, 44, .55)); }
.page-hero .container { position: relative; color: #fff; padding-bottom: 38px; }
.page-hero h1 { font-size: 38px; font-weight: 700; text-shadow: 0 2px 18px rgba(0, 0, 0, .3); }
.crumbs { margin-top: 12px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.crumbs a:hover { color: #fff; }
.crumbs span { margin: 0 8px; opacity: .6; }

.cat-intro { background: var(--bg); border-bottom: 1px solid var(--line); padding: 30px 0; }
.cat-intro h2 { font-size: 21px; }
.cat-intro p { margin-top: 8px; color: var(--muted); font-size: 15px; }

.product-listing { padding-top: 56px; }
.cat-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-item {
    padding: 9px 20px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-size: 14.5px;
    color: var(--muted);
    background: #fff;
    transition: all .2s;
}
.filter-item:hover { color: var(--blue); border-color: var(--blue); }
.filter-item.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.empty-tip { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 60px 0; }

.pagination-wrap { margin-top: 46px; display: flex; justify-content: center; }
.pagination-wrap ul { display: flex; gap: 8px; }
.pagination-wrap li a, .pagination-wrap li span {
    min-width: 38px; height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0 10px;
    font-size: 14px;
    color: var(--muted);
    background: #fff;
}
.pagination-wrap li.active span { background: var(--blue); border-color: var(--blue); color: #fff; }
.pagination-wrap li a:hover { border-color: var(--blue); color: var(--blue); }
.pagination-wrap li.disabled span { opacity: .45; }

/* ============================================================
   产品详情
   ============================================================ */
.detail-wrap { padding-top: 64px; }
.detail-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 56px; align-items: start; }
.dg-main { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.dg-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity .2s ease; }
.dg-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 12px; }
.dg-thumb {
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
    background: #fff;
    transition: border-color .2s;
}
.dg-thumb.active { border-color: var(--blue); }
.dg-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.detail-cat { color: var(--blue); font-size: 14px; font-weight: 600; letter-spacing: .06em; }
.detail-info h1 { font-size: 30px; line-height: 1.35; margin-top: 8px; }
.detail-tagline { margin-top: 12px; color: var(--blue-deep); font-size: 16px; font-weight: 600; }
.detail-summary { margin-top: 12px; color: var(--muted); line-height: 1.95; font-size: 15px; }
.detail-params { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.detail-params table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.detail-params th {
    width: 108px;
    background: var(--bg);
    text-align: left;
    padding: 12px 16px;
    color: var(--ink);
    font-weight: 600;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}
.detail-params td { padding: 12px 16px; color: var(--muted); border-bottom: 1px solid var(--line); }
.detail-params tr:last-child th, .detail-params tr:last-child td { border-bottom: 0; }
.detail-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.detail-tips { margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.detail-content { background: var(--bg); }
.detail-content .rich-content { max-width: 880px; margin: 0 auto; background: #fff; border-radius: var(--radius); padding: 44px 48px; border: 1px solid var(--line); }
.rich-content p { margin-bottom: 14px; }
.rich-content img { border-radius: 10px; }
.section-related { background: var(--bg); }

/* ============================================================
   联系页
   ============================================================ */
.contact-wrap { padding-top: 70px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.info-list { margin-top: 8px; }
.info-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-ico {
    flex-shrink: 0;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #EAF1FB, #DCE8F8);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
}
.info-ico svg { width: 21px; height: 21px; }
.info-list label { display: block; font-size: 12.5px; color: var(--muted); letter-spacing: .05em; }
.info-list a, .info-list p { font-size: 16px; font-weight: 600; color: var(--ink); }
.info-list a:hover { color: var(--blue); }
.info-sub { display: block; font-size: 14px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.contact-qr { margin-top: 24px; display: flex; align-items: center; gap: 14px; }
.contact-qr img { width: 96px; border-radius: 10px; border: 1px solid var(--line); }
.contact-qr span { font-size: 14px; color: var(--muted); }

.contact-form-wrap {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 38px 36px;
    box-shadow: var(--shadow-sm);
}
.contact-form-wrap h3 { font-size: 22px; }
.form-tip { color: var(--muted); font-size: 14px; margin-top: 8px; }
.form-product {
    margin-top: 18px;
    background: var(--bg);
    border: 1px solid var(--line);
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 14px;
}
.inquiry-form { margin-top: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.form-field input, .form-field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
    background: #fff;
    color: var(--ink);
}
.form-field input:focus, .form-field textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(30, 99, 208, .12);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.need-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.need-pill {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 13.5px;
    color: var(--muted);
    transition: all .2s;
}
.need-pill:hover { border-color: var(--blue); color: var(--blue); }
.need-pill.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-actions { margin-top: 6px; }
.form-privacy { margin-top: 12px; font-size: 12.5px; color: var(--muted); text-align: center; }
.form-msg { margin-top: 10px; text-align: center; font-size: 14px; min-height: 22px; }
.form-msg.ok { color: #16A34A; }
.form-msg.err { color: #DC2626; }
.form-msg.loading { color: var(--muted); }

/* ============================================================
   CTA 带
   ============================================================ */
.cta-band {
    background:
        radial-gradient(900px 320px at 88% -30%, rgba(247, 168, 35, .32), transparent 60%),
        linear-gradient(100deg, var(--navy) 0%, var(--blue-deep) 100%);
    color: #fff;
    padding: 66px 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cta-inner h2 { font-size: 28px; font-weight: 700; }
.cta-inner p { margin-top: 10px; color: rgba(255, 255, 255, .72); font-size: 15.5px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .66); font-size: 14.5px; }
.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 44px;
    padding: 70px 24px 54px;
}
.footer-logo { height: 42px; width: auto; }
.footer-desc { margin-top: 20px; line-height: 1.9; font-size: 14px; }
.footer-qrcode { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.footer-qrcode img { width: 84px; border-radius: 8px; background: #fff; padding: 4px; }
.footer-qrcode span { font-size: 13px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 20px; letter-spacing: .04em; }
.footer-col li { margin-bottom: 11px; }
.footer-col a:hover { color: #fff; }
.footer-col-cats li { color: rgba(255, 255, 255, .5); }
.footer-bar { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; }
.footer-bar-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.footer-bar a:hover { color: #fff; }

/* ============================================================
   悬浮侧边栏
   ============================================================ */
.float-sidebar {
    position: fixed;
    right: 18px; bottom: 18px;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: all .35s ease;
}
.float-sidebar.visible { opacity: 1; pointer-events: auto; transform: none; }
.fs-item {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: #fff;
    color: var(--blue-deep);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.fs-item svg { width: 21px; height: 21px; }
.fs-item:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.fs-tip {
    position: absolute;
    right: 58px; top: 50%;
    transform: translateY(-50%);
    background: var(--navy);
    color: #fff;
    font-size: 13px;
    white-space: nowrap;
    padding: 7px 14px;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}
.fs-item:hover .fs-tip { opacity: 1; }
.fs-qr {
    position: absolute;
    right: 58px; top: 50%;
    transform: translateY(-50%);
    background: #fff;
    padding: 8px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}
.fs-wechat:hover .fs-qr { opacity: 1; }
.fs-qr img { width: 120px; }
.fs-top { font-size: 18px; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
    .cat-grid, .prod-grid, .apps-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
    .adv-grid, .app-detail-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }
    .about-split, .detail-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
    .about-media .about-media-sub { right: 0; bottom: -24px; }
    .about-media { margin-bottom: 20px; }
    .factory-grid { grid-template-columns: repeat(2, 1fr); }
    .factory-item, .factory-item:nth-child(1), .factory-item:nth-child(2) { grid-column: span 1; }
    .section-head-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 992px) {
    .topbar { display: none; }
    .nav-toggle { display: flex; }
    .header-inner { height: 64px; }
    .site-header.scrolled .header-inner { height: 64px; }
    .main-nav {
        position: fixed;
        top: 0; right: 0; bottom: 0;
        width: min(320px, 84vw);
        background: #fff;
        z-index: 999;
        transform: translateX(105%);
        transition: transform .35s cubic-bezier(.22, .61, .36, 1);
        overflow-y: auto;
        padding: 84px 20px 30px;
        box-shadow: -12px 0 40px rgba(11, 31, 58, .18);
    }
    body.nav-open .main-nav { transform: none; }
    body.nav-open .nav-mask { opacity: 1; pointer-events: auto; }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
    .main-nav a { padding: 13px 10px; font-size: 16px; }
    .main-nav a::after { display: none; }
    .sub-panel {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        min-width: 0;
        padding: 0 0 6px 10px;
        display: none;
    }
    .sub-opened .sub-panel { display: block; }
    .sub-inner { grid-template-columns: 1fr; }
    .sub-item { padding: 10px 12px !important; }
    .header-cta { display: none; }
    .site-header.header-overlay .main-nav a { color: var(--ink); }
    .site-header.header-overlay .nav-toggle span { background: var(--ink); }

    .hero-title { font-size: 36px; }
    .hero-sub { font-size: 16px; }
    .section { padding: 68px 0; }
    .section-title { font-size: 27px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stat-num { font-size: 32px; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .page-hero h1 { font-size: 30px; }
    .detail-content .rich-content { padding: 28px 22px; }
    .article-head h1 { font-size: 24px; }
    .about-media-sub { display: none; }
}

@media (max-width: 640px) {
    .cat-grid, .prod-grid, .prod-grid-3, .apps-grid, .adv-grid, .values-grid, .app-detail-grid, .news-grid { grid-template-columns: 1fr; }
    .hero { min-height: 540px; }
    .hero-title { font-size: 30px; }
    .hero-actions .btn { flex: 1; }
    .hero-dots { bottom: 76px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr; gap: 30px; padding-top: 54px; }
    .footer-bar-inner { justify-content: center; text-align: center; }
    .contact-form-wrap { padding: 26px 20px; }
    .about-badge { left: 8px; }
    .detail-actions .btn { width: 100%; }
    .dg-thumbs { grid-template-columns: repeat(4, 1fr); }
    .article-pn { flex-direction: column; }
    .pn-empty { display: none; }
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    .hero-bg { transition: none; transform: none; }
}
