/* ===== 金马冶金 - 主样式 v3.0 (chmmglobal 风格参考) ===== */
/* 配色：主橙 #E87722 | 深黑 #0D0D0D | 克制灰阶 */

:root {
    --primary: #E87722;
    --primary-dark: #C85D18;
    --primary-glow: rgba(232,119,34,0.2);
    --dark: #0D0D0D;
    --dark-secondary: #151515;
    --dark-tertiary: #1E1E1E;
    --gray: #4A4A4A;
    --gray-mid: #6B6B6B;
    --gray-light: #8C8C8C;
    --gray-lighter: #B0B0B0;
    --gray-border: #333;
    --border-light: #E6E6E6;
    --bg: #FFFFFF;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.10);
    --shadow-hover: 0 24px 64px rgba(0,0,0,0.16);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    color: var(--dark);
    background: var(--bg);
    line-height: 1.75;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
/* GPU 加速所有 fixed 定位元素，避免滚动时触发重绘 */
[style*="position:fixed"],
[style*="position: fixed"],
.position-fixed,
.fixed {
    transform: translateZ(0);
    backface-visibility: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ===== Header ===== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: 72px;
    clip-path: inset(0 0 -9999px 0);
    box-shadow: none;
    transition: box-shadow 0.4s ease;
}
.header::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(13,13,13,0.55);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transform: translateY(-100%);
    transition: transform 0.4s ease;
}
.header.scrolled::before {
    transform: translateY(0);
}
.header.scrolled {
    box-shadow: 0 0 30px rgba(0,0,0,0.15);
}
.header-inner {
    position: relative; z-index: 2;
    display: flex; align-items: center; justify-content: space-between;
    height: 72px; max-width: 1280px; margin: 0 auto; padding: 0 32px;
}
.logo { display: flex; align-items: center; gap: 14px; }
.logo-img { height: 30px; width: auto; transition: filter 0.3s ease; }
.logo.logo-light .logo-img { filter: brightness(0) invert(1); }
.logo-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 22px; color: var(--white);
    box-shadow: 0 4px 16px var(--primary-glow);
}
.logo-text { color: var(--white); font-size: 22px; font-weight: 700; letter-spacing: 4px; text-shadow: 0 1px 4px rgba(0,0,0,0.5); }

/* ===== 导航（含下拉） ===== */
.nav { display: flex; list-style: none; gap: 2px; }

/* 汉堡按钮（桌面隐藏，移动端显示） */
.nav-toggle {
    display: none;
    width: 44px; height: 44px; margin-left: 8px;
    border: none; background: transparent; cursor: pointer;
    position: relative; z-index: 2; border-radius: 8px;
}
.nav-toggle span {
    position: absolute; left: 11px; right: 11px; height: 2px;
    background: var(--white); border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease, top .3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* 移动端抽屉遮罩（点击关闭） */
.nav-overlay {
    position: fixed; inset: 0; z-index: 999;
    background: rgba(0,0,0,0.45);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .3s ease, visibility .3s;
}
.nav-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; }
.nav > li { position: relative; }
.nav > li > a {
    display: block; padding: 10px 20px; color: var(--white);
    font-size: 13px; font-weight: 500; border-radius: 6px;
    font-family: 'MiSans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    transition: color .25s ease, background-color .25s ease;
    letter-spacing: 1px; white-space: nowrap; position: relative;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
/* hover 中心展开的橙色下划线（指针穿透，避免误触下划线） */
.nav > li > a::after {
    content: '';
    position: absolute; left: 50%; bottom: 4px;
    width: 0; height: 2px; background: var(--primary);
    border-radius: 2px; transform: translateX(-50%);
    transition: width .32s cubic-bezier(.22,.61,.36,1);
    pointer-events: none;
    box-shadow: 0 0 8px rgba(232,119,34,.55);
}
.nav > li > a:hover {
    color: var(--primary);
    background: rgba(232,119,34,.14);
}
.nav > li > a:hover::after {
    width: calc(100% - 40px);
}
.nav > li > a.active { color: var(--primary); background: rgba(232,119,34,.10); }
.nav > li > a.active::after { width: calc(100% - 40px); }
.nav > li > a .arrow {
    display: inline-block; font-size: 9px; margin-left: 4px; opacity: 0.5;
    transition: transform var(--transition);
}
.nav-dropdown:hover > a .arrow { transform: rotate(180deg); opacity: 1; }

.dropdown {
    position: absolute; top: calc(100% + 8px); left: 0;
    background: rgba(13,13,13,0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius);
    min-width: 180px; padding: 8px 0;
    opacity: 0; visibility: hidden;
    transition: all 0.25s ease;
}
.nav-dropdown:hover .dropdown { opacity: 1; visibility: visible; }
.dropdown a {
    display: block; padding: 10px 24px; font-size: 13px; color: var(--gray-lighter);
    font-weight: 500; font-family: 'MiSans', sans-serif; transition: all var(--transition);
}
.dropdown a:hover { background: rgba(255,255,255,0.04); color: var(--white); }

/* ===== Hero ===== */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    background: #0D0D0D; overflow: hidden;
}

.hero-bg-slide {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
}
.hero-bg-slide {
    background: center/cover no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease;
}
.hero-bg-slide.active {
    opacity: 1;
}
.hero-dots {
    position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%);
    z-index: 3; display: flex; gap: 10px;
}
.hero-dot {
    width: 12px; height: 12px; border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer; transition: all 0.3s;
}
.hero-dot:hover { background: rgba(255,255,255,0.6); }
.hero-dot.active { background: var(--primary); }

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative; z-index: 2;
    width: 100%; max-width: 1280px; margin: 0 auto;
    padding: 120px 32px;
    display: grid; grid-template-columns: 1fr;
    gap: 80px; align-items: center;
}
.hero-text .tagline {
    display: inline-block; color: var(--primary); font-size: 13px;
    font-weight: 700; letter-spacing: 4px; margin-bottom: 16px;
    padding: 6px 14px; border: 1px solid rgba(232,119,34,0.2);
    border-radius: 4px;
}
.hero-text h1 {
    font-size: 56px; font-weight: 900; color: var(--white);
    line-height: 1.1; margin-bottom: 24px; letter-spacing: 0;
}
.hero-text h1 .highlight {
    color: var(--primary);
    position: relative; display: inline-block;
}
.hero-text h1 .highlight::after {
    content: '';
    position: absolute; bottom: 4px; left: 0; right: 0;
    height: 8px; background: rgba(232,119,34,0.15); z-index: -1;
}
.hero-text .subtitle {
    color: var(--white); font-size: 17px; line-height: 1.9;
    margin-bottom: 44px; max-width: 540px;
}
.hero-buttons { display: flex; gap: 14px; }

.scroll-hint {
    position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
    z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px;
    color: rgba(255,255,255,0.2); font-size: 10px; letter-spacing: 3px;
}
.scroll-hint .arrow {
    width: 18px; height: 18px;
    border-right: 2px solid rgba(255,255,255,0.2);
    border-bottom: 2px solid rgba(255,255,255,0.2);
    transform: rotate(45deg);
    animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.2; }
    50% { transform: rotate(45deg) translate(3px, 3px); opacity: 0.6; }
}

/* ===== 通用区块 ===== */
.section { padding: 100px 0; }
.section-dark { background: var(--dark-secondary); }
.section-white { background: var(--white); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .label {
    display: inline-block; font-size: 11px; font-weight: 700;
    letter-spacing: 5px; color: var(--primary); text-transform: uppercase; margin-bottom: 12px;
}
.section-header h2 {
    font-size: 36px; font-weight: 800; color: var(--dark); margin-bottom: 14px;
    letter-spacing: 0;
}
.section-dark .section-header h2 { color: var(--white); }
.section-header h2::after {
    content: ''; display: block; width: 48px; height: 3px;
    background: var(--primary); margin: 14px auto 0; border-radius: 2px;
}
.section-header p { color: var(--gray-mid); font-size: 15px; max-width: 480px; margin: 0 auto; }
.section-dark .section-header p { color: var(--gray-light); }

/* ===== 数据展示栏 ===== */
.stats-bar {
    background: var(--dark-tertiary); padding: 56px 0;
}
.stats-bar-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
    max-width: 1100px; margin: 0 auto; text-align: center;
}
.stats-bar-item {
    display: flex; flex-direction: column; align-items: center;
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.stats-bar-item.wave-in {
    animation: waveBounce 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
@keyframes waveBounce {
    0%   { opacity: 0; transform: translateY(40px) scale(0.9); }
    60%  { opacity: 1; transform: translateY(-8px) scale(1.03); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
.stats-bar-item .icon { font-size: 22px; margin-bottom: 10px; }
.stats-bar-item .stat-icon { height: 30px; width: auto; margin-bottom: 10px; }
.stats-bar-item .number {
    font-size: 36px; font-weight: 900; color: var(--primary); letter-spacing: -1px;
    display: flex; align-items: baseline; justify-content: center;
}
.stats-bar-item .number small { font-size: 18px; font-weight: 600; }
.stats-bar-item .label { font-size: 12px; color: var(--gray-light); margin-top: 6px; letter-spacing: 1.5px; }

/* ===== 合作伙伴 Logo（静态排列） ===== */
.partner-logo-row {
    display: flex; flex-wrap: nowrap; justify-content: center; align-items: center;
    gap: 20px;
    width: 100%;
    margin: 20px auto 0;
    padding: 0 20px;
    overflow-x: auto;
}
.partner-logo-box {
    min-width: 120px; max-width: 160px; height: 50px; flex: 1 1 auto;
    background: #FFFFFF;
    border: 1px solid #EAEAEA;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}
.partner-logo-box:hover {
    border-color: var(--primary);
    background: #FFFFFF;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.partner-logo-box img {
    width: 100%; height: 100%;
    object-fit: contain;
}
.partner-logo-text {
    font-size: 15px; font-weight: 700; color: #444; letter-spacing: 1px;
    white-space: nowrap; text-align: center;
}

/* ===== 出海生态系统 ===== */
/* ===== 照片墙（横向滚动画廊，样式见 index.html extra_css） ===== */

.ecosystem {
    background: linear-gradient(rgba(10,15,25,0.78), rgba(10,15,25,0.82)),
                url('/static/uploads/site/ecosystem-bg.jpg') center/cover no-repeat;
    padding: 100px 0;
}
.ecosystem .section-header .label { color: rgba(255,255,255,0.6); }
.ecosystem .section-header h2 { color: #fff; }
.ecosystem .section-header p { color: rgba(255,255,255,0.75); }
.ecosystem-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    max-width: 900px; margin: 48px auto 0;
}
.eco-card {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 40px 28px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: ecoFadeIn 0.7s ease-out both;
}
.eco-card:nth-child(1) { animation-delay: 0.1s; }
.eco-card:nth-child(2) { animation-delay: 0.25s; }
.eco-card:nth-child(3) { animation-delay: 0.4s; }
.eco-card:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.35);
    box-shadow: 0 8px 40px rgba(0,0,0,0.3), 0 0 60px rgba(232,119,34,0.08);
    transform: translateY(-6px);
}
.eco-card .eco-icon { font-size: 32px; margin-bottom: 16px; transition: transform 0.4s ease; }
.eco-card:hover .eco-icon { transform: scale(1.15); }
.eco-card h4 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.eco-card p { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.5; }

@keyframes ecoFadeIn {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== 核心竞争力 ===== */
.competence { background: #F5F5F5; padding: 100px 0; }
.competence-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    max-width: 1100px; margin: 48px auto 0;
}
.comp-card {
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 36px 20px 28px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.comp-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(232,119,34,0.12);
    transform: translateY(-6px);
}
.comp-card .comp-icon {
    width: 56px; height: 56px;
    margin-bottom: 18px;
}
.comp-card .comp-icon svg { width: 100%; height: 100%; display: block; }
.comp-card h4 {
    font-size: 15px; font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}
.comp-card p {
    font-size: 12px; color: #595959;
    line-height: 1.6;
    margin: 0;
}

/* ===== 服务流程（生命周期） ===== */
.lifecycle { background: #1A1A1A; padding: 100px 0; }
.lifecycle .section-header h2 { color: var(--primary); }
.lifecycle-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
    max-width: 1200px; margin: 0 auto; padding: 0 32px;
}
.lc-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 28px 20px 24px;
    text-align: center;
    transition: all var(--transition);
    position: relative; overflow: hidden;
    flex: 1;
}
.lc-card::after {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--primary);
    transform: scaleX(0); transition: transform 0.4s ease;
}
.lc-card:hover::after { transform: scaleX(1); }
.lc-card:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-4px);
}
.lc-item {
    display: flex; flex-direction: column; align-items: center;
}
.lc-num {
    font-size: 42px; font-weight: 900; color: rgba(232,119,34,0.2); line-height: 1;
    letter-spacing: -2px; margin-bottom: 4px;
}
.lc-card .lc-icon { margin-bottom: 10px; }
.lc-card .lc-icon .lc-img { height: 56px; width: auto; display: block; margin: 0 auto; }
.lc-card h4 { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.lc-card p { font-size: 11px; color: var(--gray-light); line-height: 1.5; }

/* ===== 工程案例展示（暗色科技风轮播） ===== */
#cases.section-dark { background: var(--dark); padding: 100px 0 80px; position: relative; background-size: cover; background-position: center; background-repeat: no-repeat; }
/* 全区域暗色遮罩 */
#cases.section-dark::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(13,13,13,0.82) 0%, rgba(13,13,13,0.40) 55%, rgba(13,13,13,0.18) 100%);
}
#cases.section-dark > * { position: relative; z-index: 2; }
.case-showcase { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.case-showcase-header { text-align: center; margin-bottom: 56px; }
.case-showcase-header .case-label {
    font-size: 11px; letter-spacing: 3px; color: var(--primary); font-weight: 700;
    display: block; margin-bottom: 12px;
}
.case-showcase-header h2 { font-size: 42px; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.case-showcase-header p { font-size: 15px; color: var(--gray-light); }

/* 主体区 */
.case-showcase-body {
    display: flex; align-items: center; position: relative;
}

.case-showcase-track {
    width: 100%; overflow: hidden; position: relative; min-height: 460px;
}

/* 幻灯片容器：水平排列 */
.case-slides-wrapper {
    display: flex; height: 100%;
    transition: transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* 单张幻灯片 */
.case-slide {
    flex: 0 0 100%; width: 100%;
    display: flex; align-items: center;
}

/* 左侧文字区 */
.case-slide-text { padding: 64px 64px 64px 56px; max-width: 600px; position: relative; z-index: 1; }
.case-slide-num {
    font-size: 64px; font-weight: 900; color: rgba(255,255,255,0.08);
    line-height: 1; margin-bottom: -20px; margin-left: -4px;
}
.case-slide-text h3 {
    font-size: 30px; font-weight: 700; color: var(--white); margin-bottom: 16px; line-height: 1.35;
}
.case-slide-desc {
    font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.8; margin-bottom: 14px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.case-slide-tag {
    display: inline-block;
    font-size: 11px; font-weight: 600; color: #E87722;
    background: rgba(232,119,34,0.15); border: 1px solid rgba(232,119,34,0.35);
    padding: 2px 10px; margin-bottom: 20px; letter-spacing: 1px;
}

/* 指标区 */
.case-slide-metrics { display: flex; gap: 40px; margin-bottom: 32px; }
.case-metric { display: flex; flex-direction: column; gap: 4px; }
.case-metric-value {
    font-size: 20px; font-weight: 700; color: var(--white);
}
.case-metric-label { font-size: 11px; color: var(--gray-mid); letter-spacing: 1px; text-transform: uppercase; }

/* 查看详情按钮 */
.case-slide-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: 6px; font-size: 14px; font-weight: 600;
    background: var(--primary); color: var(--white); text-decoration: none;
    transition: all 0.3s;
}
.case-slide-btn:hover { background: var(--primary-dark); transform: translateX(4px); }

/* 底部导航栏 */
.case-showcase-nav {
    display: flex; align-items: center; justify-content: center; gap: 14px;
    margin-top: 48px; padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.case-nav-current { font-size: 24px; font-weight: 800; color: var(--white); min-width: 28px; text-align: right; }
.case-nav-divider { font-size: 18px; color: var(--gray-mid); }
.case-nav-total   { font-size: 18px; color: var(--gray-mid); }

.case-nav-dots { display: flex; gap: 8px; margin-left: 20px; }
.case-nav-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.15); cursor: pointer; transition: all 0.3s;
}
.case-nav-dot.active { background: var(--primary); width: 24px; border-radius: 4px; }
.case-nav-dot:hover { background: rgba(255,255,255,0.35); }

/* 响应式 */
@media (max-width: 1024px) {
    .case-slide-text { padding: 48px; max-width: 480px; }
    .case-slide-num { font-size: 48px; }
    .case-slide-text h3 { font-size: 24px; }
}
@media (max-width: 768px) {
    #cases.section-dark { padding: 60px 0 48px; }
    .case-showcase-header h2 { font-size: 30px; }
    .case-swiper { min-height: 340px; }
    .case-slide-text { padding: 36px 24px; max-width: 100%; }
    .case-slide-num { font-size: 36px; margin-bottom: -12px; }
    .case-slide-text h3 { font-size: 20px; }
    .case-slide-metrics { gap: 24px; flex-wrap: wrap; }
    .case-metric-value { font-size: 16px; }
    .case-showcase-nav { flex-wrap: wrap; gap: 10px; }
}

/* ===== 首页颜色分块覆盖 ===== */
#news { background: #F5F5F5; }
#news .section-header h2 { color: var(--dark); }
#news .section-header p { color: var(--gray-mid); }

.news-list { display: flex; flex-direction: column; gap: 14px; }
.news-item {
    display: flex; gap: 24px; background: var(--white); padding: 22px 28px;
    border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
    transition: all var(--transition); align-items: center;
}
.news-item:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.news-date {
    text-align: center; min-width: 64px; padding-right: 20px;
    border-right: 2px solid #E0E0E0;
}
.news-date .day { font-size: 28px; font-weight: 800; color: var(--primary); line-height: 1; }
.news-date .month { font-size: 11px; color: var(--gray-light); margin-top: 2px; }
.news-content { flex: 1; }
.news-content h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; color: var(--dark); }
.news-top-badge {
    display: inline-block; font-size: 11px; font-weight: 600; line-height: 1;
    color: var(--white); background: var(--primary);
    border-radius: 3px; padding: 3px 6px; margin-right: 8px; vertical-align: 2px;
}
.news-content p { font-size: 13px; color: #595959; }
.news-image { width: 120px; height: 80px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.news-image img { width: 100%; height: 100%; object-fit: cover; }

/* ===== 关于 ===== */
.about-content { max-width: 800px; margin: 0 auto; line-height: 1.9; font-size: 15px; color: var(--gray); }
.about-content p { margin-bottom: 18px; }

/* ===== 人才团队 ===== */
.talent-section { padding-bottom: 120px; }

.talent-group { margin-bottom: 64px; }
.talent-group:last-child { margin-bottom: 0; }

.talent-group-title {
    font-size: 20px; font-weight: 700; color: var(--dark);
    margin-bottom: 32px; text-align: center; letter-spacing: 1px;
    position: relative; padding-bottom: 16px;
}
.talent-group-title::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 40px; height: 2px; background: var(--primary); border-radius: 1px;
}
.talent-group-title span {
    display: block; font-size: 12px; font-weight: 400; color: var(--gray-light);
    letter-spacing: 3px; text-transform: uppercase; margin-top: 4px;
}

.talent-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.talent-card {
    background: transparent;
    border: none;
    border-radius: var(--radius);
    padding: 28px 16px 22px;
    text-align: center;
    transition: all var(--transition);
}
.talent-card:hover {
    transform: translateY(-4px);
}

/* 旧 .talent-avatar 用了橙色渐变作"无图占位"，现在改为浅色底：与专业团队 / 后台管理 1:1 一致。
   contain 模式下图片未填满时透出背景，需要中性色避免突兀。 */
.talent-avatar {
    width: 180px; height: 180px;
    border-radius: 50%;
    background: #eef1f6;  /* 浅蓝灰，避免 contain 漏底时变彩色 */
    color: #5a7090;
    font-size: 50px; font-weight: 700; letter-spacing: 1px;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    margin: 0 auto 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    overflow: hidden;
}

/* 旧 .talent-avatar img (translate(-50%,-50%) + object-fit:cover + 400×240 旧算法) 已废弃。
   人才团队页(/about/team)董事会/执行团队/人才团队卡片现在与 .section-talents 完全 1:1 同源：
   - img 绝对定位铺满父容器 100%/100%；
   - object-fit: contain（图片本身永远完整，由父级 180px 圆形 overflow 决定可见范围）；
   - transform 由 JS applyToAvatar() 根据 data-av-scale/x/y 算出。 */
.talent-avatar img.avatar-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: center center;
    transform: translate(0, 0) scale(1);
    object-fit: contain;
}

.talent-name {
    font-size: 18px; font-weight: 600; color: var(--dark);
    margin-bottom: 4px; line-height: 1.3;
}

.talent-role {
    font-size: 12px; color: var(--gray-light);
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .talent-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
    .talent-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .talent-card { padding: 20px 12px 16px; }
    .talent-avatar { width: 134px; height: 134px; font-size: 37px; }
    .talent-name { font-size: 15px; }
    .talent-role { font-size: 11px; }
}
@media (max-width: 480px) {
    .talent-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== 联系 ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1000px; margin: 0 auto; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-icon {
    width: 48px; height: 48px; background: rgba(232,119,34,0.08);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: var(--primary); flex-shrink: 0;
}
.contact-info-item h4 { font-size: 13px; color: var(--gray); margin-bottom: 4px; }
.contact-info-item p { font-size: 15px; color: var(--dark); font-weight: 500; }
.contact-map {
    border-radius: var(--radius); height: 350px; overflow: hidden;
}
.contact-map iframe {
    display: block; width: 100%; height: 100%;
}

/* ===== 页头横幅 ===== */
.page-banner {
    background: linear-gradient(135deg, #0D0D0D 0%, #1a1a1a 100%);
    padding: 231px 0 185px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: bannerZoomIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
@keyframes bannerZoomIn {
    from { transform: scale(1.06); }
    to { transform: scale(1); }
}
@keyframes contentSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.scroll-anim {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: var(--rd, 0s);
    will-change: opacity, transform;
}
.scroll-anim[data-reveal="left"]  { transform: translateX(-44px); }
.scroll-anim[data-reveal="right"] { transform: translateX(44px); }
.scroll-anim[data-reveal="scale"] { transform: translateY(0) scale(0.94); }
.scroll-anim.scroll-anim-in {
    opacity: 1;
    transform: none;
}
.page-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(232,119,34,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.page-banner h1 {
    font-size: 42px; font-weight: 800; color: #fff;
    letter-spacing: 2px; margin: 0 0 12px 0;
    position: relative;
    animation: bannerSlideUp 0.5s 0.05s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.page-banner p {
    color: #E87722; font-size: 14px; margin-top: 0;
    letter-spacing: 4px; text-transform: uppercase; font-weight: 500;
    position: relative;
    animation: bannerSlideUp 0.5s 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
@keyframes bannerSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.page-banner-line {
    width: 60px; height: 3px; background: #E87722;
    margin: 18px auto 0;
    animation: bannerLineExpand 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
@keyframes bannerLineExpand {
    from { width: 0; opacity: 0; }
    to { width: 60px; opacity: 1; }
}
.page-banner .container {
    padding: 0;
}

/* ===== 详情页 ===== */
.case-detail, .news-detail { max-width: 860px; margin: 0 auto; }
.case-detail img, .news-detail img { border-radius: var(--radius); margin: 24px 0; }
.case-detail h1, .news-detail h1 { font-size: 26px; font-weight: 700; margin-bottom: 14px; }
.case-detail .meta, .news-detail .meta {
    color: var(--gray-mid); font-size: 13px; margin-bottom: 32px;
    padding-bottom: 14px; border-bottom: 1px solid var(--gray-border);
}
.news-detail .content { line-height: 2; font-size: 15px; color: var(--gray); }
.news-detail .content p { margin-bottom: 18px; }

/* ===== 按钮 ===== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 30px; border: none; border-radius: 6px;
    font-size: 14px; font-weight: 600; cursor: pointer;
    transition: all var(--transition); text-align: center;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white); box-shadow: 0 4px 16px rgba(232,119,34,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,119,34,0.3); color: var(--white); }
.btn-outline {
    background: transparent; color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: rgba(232,119,34,0.06); }
.btn-lg { padding: 15px 38px; font-size: 15px; }
.btn-dark {
    background: var(--dark); color: var(--white);
    border: 1px solid rgba(255,255,255,0.1);
}
.btn-dark:hover { background: var(--dark-tertiary); transform: translateY(-2px); }
.btn-sm { padding: 8px 20px; font-size: 12px; }

/* ===== 分页 ===== */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 48px; }
.pagination a, .pagination span {
    display: inline-block; padding: 8px 16px; border-radius: 6px;
    font-size: 13px; background: var(--white); color: var(--gray); box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.pagination a:hover { background: var(--primary); color: var(--white); }
.pagination .current { background: var(--primary); color: var(--white); font-weight: 600; }

/* ===== Footer ===== */
.footer { background: var(--dark); padding: 64px 0 28px; }
.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px; max-width: 1280px; margin: 0 auto; padding: 0 32px;
}
.footer-grid h4 { font-size: 14px; color: var(--white); margin-bottom: 16px; font-weight: 600; letter-spacing: 2px; }
.footer-grid p { font-size: 13px; color: var(--gray-light); line-height: 2; }
.footer-grid a { color: var(--gray-light); transition: color var(--transition); }
.footer-grid a:hover { color: var(--primary); }
.footer-bottom {
    text-align: center; padding-top: 28px; margin-top: 44px;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: var(--gray); font-size: 12px;
}

/* ===== Footer v2（参考 chmmglobal：深黑 + 公司名 + 金属价格条 + 导航列） ===== */
.footer-v2 {
    background:
        repeating-linear-gradient(90deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 3px),
        linear-gradient(180deg, #131313 0%, var(--dark) 100%);
    padding: 72px 0 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-v2 .footer-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 40px;
}
.footer-v2 .footer-top {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 48px; flex-wrap: wrap;
}
.footer-v2 .footer-brand {
    display: flex; align-items: center;
}
.footer-v2 .footer-logo {
    height: 30px; width: auto; flex: 0 0 auto;
    filter: brightness(0) invert(1); opacity: 0.92;
}
.footer-v2 .footer-contact {
    display: flex; gap: 56px; flex-wrap: wrap; padding-top: 4px;
    margin-left: auto;   /* 联系方式始终靠右，与 logo 同行 */
}
.footer-v2 .fc-col { min-width: 200px; }
.footer-v2 .fc-line {
    font-size: 13px; color: var(--gray-lighter); line-height: 2.1;
}
.footer-v2 .fc-label { color: var(--gray-light); }
.footer-v2 .fc-line a { color: var(--gray-lighter); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,0.25); transition: color var(--transition); }
.footer-v2 .fc-line a:hover { color: var(--primary); }
.footer-v2 .fc-addr { max-width: 260px; }

.footer-v2 .footer-social {
    display: flex; gap: 14px; margin-top: 30px;
}
.footer-v2 .fs-item {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; color: var(--gray-light);
    transition: color var(--transition), transform var(--transition);
}
.footer-v2 .fs-item svg { width: 20px; height: 20px; }
.footer-v2 .fs-item:hover { color: var(--primary); transform: translateY(-2px); }

/* 金属价格条 */
.footer-v2 .footer-price {
    margin-top: 0; padding: 30px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-v2 .fp-head {
    display: flex; align-items: baseline; gap: 8px; margin-bottom: 20px;
}
.footer-v2 .fp-head strong { font-size: 17px; color: var(--white); letter-spacing: 1px; }
.footer-v2 .fp-unit { font-size: 12px; color: var(--gray-light); }
.footer-v2 .fp-date {
    font-style: normal; font-size: 13px; color: var(--gray-mid); margin-left: auto;
    /* 等宽数字 + 固定宽度：秒数变化时宽度恒定，不推挤布局、不抖动 */
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
    display: inline-block; width: 150px; text-align: right; white-space: nowrap;
}
.footer-v2 .fp-list {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 30px;
}
.footer-v2 .fp-item {
    display: flex; flex-direction: row; align-items: baseline; gap: 9px;
}
.footer-v2 .fp-name { font-size: 16px; color: var(--gray-lighter); letter-spacing: 1px; white-space: nowrap; }
.footer-v2 .fp-name i { font-style: normal; color: var(--primary); margin-right: 4px; }
.footer-v2 .fp-unit-sm { font-style: normal; font-size: 11px; color: var(--gray-mid); letter-spacing: 0; }
.footer-v2 .fp-val { font-size: 20px; font-weight: 700; color: var(--white); font-variant-numeric: tabular-nums; letter-spacing: 0.3px; line-height: 1.2; white-space: nowrap; }
.footer-v2 .fp-note { margin-top: 16px; font-size: 11px; color: var(--gray-mid); }

/* 导航列 */
.footer-v2 .footer-nav {
    display: flex; gap: 64px; flex-wrap: wrap; padding: 40px 0 48px;
}
.footer-v2 .fn-col { display: flex; flex-direction: column; }
.footer-v2 .fn-col h4 {
    font-size: 14px; color: var(--white); font-weight: 700; margin-bottom: 16px; letter-spacing: 1px;
}
.footer-v2 .fn-col a {
    font-size: 13px; color: var(--gray-light); line-height: 2.4;
    text-decoration: none; transition: color var(--transition);
}
.footer-v2 .fn-col a:hover { color: var(--primary); }

/* 版权行 */
.footer-v2 .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 18px 0; margin-top: 0; text-align: left;
}
.footer-v2 .fb-inner {
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px; flex-wrap: wrap;
}
.footer-v2 .fb-inner p { color: var(--gray-mid); font-size: 12px; }
.footer-v2 .fb-icp {
    color: var(--gray-mid); font-size: 12px; text-decoration: none;
    transition: color var(--transition);
}
.footer-v2 .fb-icp:hover { color: var(--gray-lighter); }

@media (max-width: 900px) {
    .footer-v2 .fp-list { grid-template-columns: repeat(3, 1fr); }
    .footer-v2 .footer-nav { gap: 40px; }
}
@media (max-width: 768px) {
    .footer-v2 { padding-top: 48px; }
    .footer-v2 .footer-top { flex-direction: column; gap: 28px; }
    .footer-v2 .footer-contact { gap: 24px; margin-left: 0; }
    .footer-v2 .fp-list { gap: 14px 22px; }
    .footer-v2 .fp-val { font-size: 17px; }
    .footer-v2 .fp-name { font-size: 14px; }
    .footer-v2 .footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; padding: 32px 0 36px; }
    .footer-v2 .footer-inner { padding: 0 24px; }
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .lifecycle-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-bar-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
    .competence-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-text h1 { font-size: 32px; }
    .hero-buttons { justify-content: center; }
    .lifecycle-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-bar-grid { grid-template-columns: repeat(2, 1fr); }
    .news-item { flex-direction: column; }
    .news-date { border-right: none; border-bottom: 1px solid #E0E0E0; padding: 0 0 10px 0; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .nav-toggle { display: block; }
    .nav {
        position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
        z-index: 998;
        flex-direction: column; gap: 0;
        /* 苹果风：顶部全屏下拉 + 纯色不透明背景 */
        background: #141416;
        border-top: 1px solid rgba(255,255,255,0.10);
        padding: 22px 0 48px;
        transform: translateY(-100%);
        opacity: 0; visibility: hidden;
        transition: transform .5s cubic-bezier(.32,.72,0,1), opacity .35s ease, visibility .35s;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .nav.open {
        transform: translateY(0);
        opacity: 1; visibility: visible;
    }
    .nav-overlay { display: none; }
    /* 苹果风：菜单项从右逐条淡入（错峰动画） */
    .nav > li {
        width: 100%;
        opacity: 0;
        transform: translateY(14px);
        transition: opacity .4s ease, transform .5s cubic-bezier(.32,.72,0,1);
    }
    .nav.open > li { opacity: 1; transform: translateY(0); }
    .nav.open > li:nth-child(1) { transition-delay: .06s; }
    .nav.open > li:nth-child(2) { transition-delay: .10s; }
    .nav.open > li:nth-child(3) { transition-delay: .14s; }
    .nav.open > li:nth-child(4) { transition-delay: .18s; }
    .nav.open > li:nth-child(5) { transition-delay: .22s; }
    .nav.open > li:nth-child(6) { transition-delay: .26s; }
    .nav.open > li:nth-child(7) { transition-delay: .30s; }
    .nav.open > li:nth-child(8) { transition-delay: .34s; }
    .nav > li > a {
        width: 100%; padding: 17px 28px; border-radius: 0;
        font-size: 18px; font-weight: 400; letter-spacing: .2px;
        color: rgba(255,255,255,0.92);
        border-bottom: 1px solid rgba(255,255,255,0.06);
        text-shadow: none;
    }
    .nav > li > a::after { display: none; }
    .nav > li > a:active { background: rgba(255,255,255,0.06); color: #fff; }
    .nav > li > a.active { color: var(--primary); background: transparent; }
    /* 移动端下拉子菜单直接内联展开 */
    .nav-dropdown .dropdown {
        position: static; opacity: 1; visibility: visible;
        background: transparent; border: none; border-radius: 0;
        box-shadow: none; min-width: auto; padding: 4px 0 10px 0;
    }
    .dropdown a {
        padding: 13px 28px 13px 48px; font-size: 15px; font-weight: 400;
        color: rgba(255,255,255,0.66);
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .dropdown a:active { background: rgba(255,255,255,0.05); color: #fff; }
    /* 菜单收起且未滚动（header 无底色）时 logo 原色；出现深色底（scrolled 滚动条/打开菜单）时变白 */
    .header.nav-open::before {
        transform: translateY(0);
        background: #141416;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        transition: transform 0.4s ease, background 0.3s ease;
    }
    .logo.logo-light .logo-img { filter: none; }
    .header.nav-open .logo-img { filter: brightness(0) invert(1); }
    .header.scrolled .logo-img { filter: brightness(0) invert(1); }
    .header.nav-open { box-shadow: none; }
    .container { padding: 0 20px; }
    .ecosystem-grid { grid-template-columns: 1fr; }
    .competence-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== 尊重「减少动态效果」偏好（无障碍） ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
    .scroll-anim, .pw-tile, .stats-bar-item { opacity: 1 !important; transform: none !important; }
}
