/* ============================================================
   上海中严弱电系统工程有限公司 · 官网
   明亮柔和 · 经典企业站版式（2026 版）
   ============================================================ */

:root {
  color-scheme: light;
  --bg: #f5f7fa;
  --bg-2: #ffffff;
  --bg-3: #eef2f7;
  --bg-soft: #f0f4f9;
  --bg-card: #ffffff;
  --bg-elev: #ffffff;
  --text: #1a2332;
  --text-2: #4a5568;
  --text-3: #6b7280;
  --text-4: #9ca3af;
  --text-soft: #4a5568;
  --text-faint: #9ca3af;
  --blue: #2563eb;
  --blue-d: #1d4ed8;
  --blue-l: #dbeafe;
  --cyan: #0891b2;
  --sky: #0ea5e9;
  --grad: linear-gradient(135deg, #2563eb, #0891b2);
  --grad-soft: linear-gradient(135deg, #eff6ff, #ecfeff);
  --emerald: #059669;
  --violet: #7c3aed;
  --amber: #d97706;
  --rose: #e11d48;
  --border: rgba(30, 60, 120, 0.12);
  --border-soft: rgba(30, 60, 120, 0.07);
  --shadow: 0 10px 40px -12px rgba(30, 60, 120, 0.12);
  --shadow-sm: 0 4px 16px -6px rgba(30, 60, 120, 0.1);
  --glow: 0 0 28px -6px rgba(37, 99, 235, 0.18);
  --container: 1200px;
  --radius: 14px;
  --radius-sm: 9px;
  --font: "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", Roboto, sans-serif;
  --font-display: "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 500px at 12% -5%, rgba(37, 99, 235, 0.06), transparent 70%),
    radial-gradient(800px 500px at 92% 0%, rgba(8, 145, 178, 0.04), transparent 70%);
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: rgba(37, 99, 235, 0.16); color: #1d4ed8; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-3); }
::-webkit-scrollbar-thumb { background: #cdd5e0; border-radius: 6px; border: 2px solid var(--bg-3); }
::-webkit-scrollbar-thumb:hover { background: #b4bdcc; }

/* ---------- 布局 ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.section-alt { background: var(--bg-2); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--blue); text-transform: uppercase; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.section-title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; color: var(--text); line-height: 1.25; letter-spacing: -.01em; }
.section-desc { margin-top: 14px; color: var(--text-2); font-size: 16px; }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .section { padding: 56px 0; } }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; cursor: pointer; border: 1px solid transparent; transition: all .25s; white-space: nowrap; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(37, 99, 235, 0.4); }
.btn-ghost { background: var(--bg-2); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-lg { padding: 15px 34px; font-size: 16px; }

/* ---------- 导航 ---------- */
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 68px; display: flex; align-items: center; background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid transparent; transition: all .3s; }
.site-nav.scrolled { background: rgba(255, 255, 255, 0.92); border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.nav-inner { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--text); }
.nav-brand img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-link { position: relative; padding: 10px 16px; border-radius: 8px; font-size: 16px; font-weight: 600; color: var(--text-2); transition: color .2s; }
.nav-link::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 0; height: 2px; border-radius: 2px; background: var(--grad); transition: width .25s ease, left .25s ease; }
.nav-link:hover, .nav-link.active { color: var(--blue); background: transparent; }
.nav-link:hover::after, .nav-link.active::after { width: 60%; left: 20%; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn { padding: 9px 20px; font-size: 14px; }
.nav-toggle { display: none; width: 40px; height: 40px; border: none; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }
.nav-mobile { display: none; position: fixed; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 16px 24px; flex-direction: column; gap: 4px; box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .3s; }
.nav-mobile.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.nav-mobile a { padding: 12px 14px; border-radius: 8px; color: var(--text-2); font-weight: 500; }
.nav-mobile a:hover, .nav-mobile a.active { color: var(--blue); background: var(--blue-l); }
@media (max-width: 900px) {
  .nav-links, .nav-actions .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile { display: flex; }
}

/* ---------- 卡片 ---------- */
.card { background: var(--bg-card); border: 1px solid rgba(30,60,120,0.16); border-radius: var(--radius); padding: 28px; box-shadow: 0 2px 14px -4px rgba(30,60,120,0.14); transition: all .3s; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(37, 99, 235, 0.3); }
.software-block { margin-bottom: 56px; }
.software-block:last-child { margin-bottom: 0; }
.software-head { margin-bottom: 28px; }
.software-name { font-size: 26px; font-weight: 800; color: var(--text); }
.software-desc { margin-top: 10px; color: var(--text-2); max-width: 820px; }
/* 运维页产品卡片网格 */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { background: var(--bg-card); border: 1px solid rgba(30,60,120,0.16); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 14px -4px rgba(30,60,120,0.14); transition: transform .3s, box-shadow .3s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(30,60,120,0.16); }
.product-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.product-cover { aspect-ratio: 16/9; overflow: hidden; background: #e8ecf2; }
.product-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-cover img { transform: scale(1.05); }
.product-cover-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.product-cover-fallback.c1 { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.product-cover-fallback.c2 { background: linear-gradient(135deg, #059669, #10b981); }
.product-cover-fallback.c3 { background: linear-gradient(135deg, #d97706, #f59e0b); }
.product-cover-fallback.c4 { background: linear-gradient(135deg, #7c3aed, #8b5cf6); }
.product-cover-fallback svg { width: 48px; height: 48px; color: rgba(255,255,255,0.85); }
.product-body { padding: 20px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.product-name { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.product-desc { font-size: 14px; color: var(--text-2); line-height: 1.6; flex: 1; margin-bottom: 12px; }
.product-link { color: var(--blue); font-size: 14px; font-weight: 600; }
/* 产品详情页 */
.product-detail-cover { margin-bottom: 32px; border-radius: 12px; overflow: hidden; }
.product-detail-cover img { width: 100%; display: block; }
.product-detail-desc { margin-bottom: 40px; }
.product-detail-desc p { font-size: 15px; color: var(--text-2); line-height: 1.8; }
.product-detail-modules { margin-top: 24px; }
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .product-grid { grid-template-columns: 1fr; } }
.module-title { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
/* 合作与成长·携手同行：六板块标题品牌渐变亮化（作用域限定，hover 渐变轻微流动） */
#cooperation .module-title { color: var(--blue-d); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  #cooperation .module-title {
    background-image: var(--grad);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 0.6s ease;
  }
  #cooperation .card:hover .module-title { background-position: 95% 0; }
}
.card-icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; background: var(--blue-l); color: var(--blue); }
.card-icon.cyan { background: #cffafe; color: var(--cyan); }
.card-icon.emerald { background: #d1fae5; color: var(--emerald); }
.card-icon.amber { background: #fef3c7; color: var(--amber); }
.card-icon.violet { background: #ede9fe; color: var(--violet); }
.card-icon svg { width: 26px; height: 26px; }
.card-title { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.card-desc { color: var(--text-2); font-size: 14.5px; line-height: 1.7; }
/* 联系页两张卡片：弹性列布局，按钮始终贴底对齐（卡片等高时两按钮同高） */
.contact-card { display: flex; flex-direction: column; height: 100%; }
.contact-card > .btn { margin-top: auto; }
.chip { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500; background: var(--bg-3); color: var(--text-2); }

/* ---------- 首页 Hero 轮播 ---------- */
.hero-carousel { position: relative; height: 560px; overflow: hidden; margin-top: 68px; }
.hero-carousel .slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; transform: scale(1.05); transition: opacity .9s ease, transform 1.4s ease; pointer-events: none; }
.hero-carousel .slide.active { opacity: 1; transform: scale(1); pointer-events: auto; }
.slide-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(at 25% 20%, rgba(37,99,235,.30), transparent 55%), radial-gradient(at 80% 80%, rgba(8,145,178,.22), transparent 55%), linear-gradient(135deg, #0a1530 0%, #0d1f3a 50%, #08283c 100%); }
.slide-bg::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 25%, transparent 72%); mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 25%, transparent 72%); }
.slide-bg.blue { --hero-glow: rgba(59,130,246,.45); }
.slide-bg.cyan { --hero-glow: rgba(6,182,212,.45); }
.slide-bg.violet { --hero-glow: rgba(139,92,246,.45); }
.slide-bg.emerald { --hero-glow: rgba(16,185,129,.45); }
.slide-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 420px at 72% 28%, var(--hero-glow, rgba(96,165,250,.35)), transparent 60%), radial-gradient(560px 320px at 18% 78%, rgba(255,255,255,.08), transparent 60%); animation: heroBg 14s ease-in-out infinite alternate; }
@keyframes heroBg { from { transform: translate(0,0); } to { transform: translate(-4%, 3%); } }
.slide-inner { position: relative; z-index: 1; width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.slide-content { max-width: 560px; flex: 1 1 auto; color: #fff; }
.slide-content > * { opacity: 0; transform: translateY(40px); }
.slide.active .slide-content > *:nth-child(1) { animation: heroIn .7s cubic-bezier(.2,.7,.3,1) .15s forwards; }
.slide.active .slide-content > *:nth-child(2) { animation: heroIn .7s cubic-bezier(.2,.7,.3,1) .30s forwards; }
.slide.active .slide-content > *:nth-child(3) { animation: heroIn .7s cubic-bezier(.2,.7,.3,1) .45s forwards; }
.slide.active .slide-content > *:nth-child(4) { animation: heroIn .7s cubic-bezier(.2,.7,.3,1) .60s forwards; }
.slide-image { opacity: 0; transform: translateX(60px); }
.slide.active .slide-image { animation: heroIn .9s cubic-bezier(.2,.7,.3,1) .40s forwards; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.slide-image { flex: 0 0 40%; max-width: 460px; }
.slide-image img { width: 100%; border-radius: 16px; box-shadow: 0 24px 60px -16px rgba(0,0,0,0.45); }
@media (max-width: 768px) { .slide-image { display: none; } }
.slide-content .eyebrow { color: rgba(255,255,255,.85); }
.slide-content .eyebrow::before { background: #fff; }
.slide-content h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; line-height: 1.15; margin-bottom: 18px; letter-spacing: -.01em; }
.slide-content p { font-size: clamp(15px, 1.6vw, 19px); color: rgba(255,255,255,.9); margin-bottom: 28px; max-width: 540px; }
.slide-content .btn-primary { background: #fff; color: var(--blue-d); }
.slide-content .btn-ghost { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(8px); }
.slide-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; gap: 10px; }
.slide-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,.45); cursor: pointer; transition: all .3s; }
.slide-dots button.active { background: #fff; width: 28px; border-radius: 5px; }
.slide-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(8px); transition: all .3s; }
.slide-arrow:hover { background: rgba(255,255,255,.25); }
.slide-arrow.prev { left: 24px; }
.slide-arrow.next { right: 24px; }
@media (max-width: 640px) { .hero-carousel { height: 460px; } .slide-arrow { display: none; } }

/* ---------- 数据统计 ---------- */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { text-align: center; padding: 28px 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.stat-value { font-size: clamp(32px, 4vw, 44px); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.stat-label { margin-top: 10px; color: var(--text-2); font-size: 14.5px; }
@media (max-width: 768px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 业务板块（三大业务 Tab） ---------- */
.biz-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.biz-tab { padding: 11px 26px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-2); color: var(--text-2); font-weight: 600; cursor: pointer; transition: all .25s; font-size: 15px; }
.biz-tab.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--shadow-sm); }
.biz-panels { position: relative; }
.biz-panel { display: none; }
.biz-panel.active { display: block; animation: fadeUp .5s; }
.biz-block { margin-bottom: 56px; }
.biz-block:last-child { margin-bottom: 0; }
.biz-block-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.biz-block-num { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 18px; color: #fff; background: var(--grad); flex-shrink: 0; }
.biz-block-num.cyan { background: linear-gradient(135deg, #0891b2, #06b6d4); }
.biz-block-num.emerald { background: linear-gradient(135deg, #059669, #10b981); }
.biz-block-title { font-size: 22px; font-weight: 700; color: var(--text); }
.biz-block-desc { color: var(--text-2); margin-top: 4px; }
.sub-grid { display: grid; gap: 20px; margin-top: 8px; }
.sub-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.sub-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.sub-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.sub-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1024px) { .sub-grid.cols-5, .sub-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .sub-grid { grid-template-columns: 1fr !important; } }
.sub-item { padding: 22px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); transition: all .3s; }
.sub-item:hover { border-color: rgba(37,99,235,.3); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.sub-item h4 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.sub-item h4 svg { width: 20px; height: 20px; color: var(--blue); }
.sub-item p { color: var(--text-2); font-size: 14px; line-height: 1.7; }
.biz-more { margin-top: 28px; text-align: center; }

/* ---------- 业务详情页（弱电子项等） ---------- */
.biz-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 72px; }
.biz-detail:nth-child(even) .bd-text { order: 2; }
.biz-detail:nth-child(even) .bd-media { order: 1; }
@media (max-width: 768px) { .biz-detail { grid-template-columns: 1fr; gap: 28px; } .biz-detail:nth-child(even) .bd-text, .biz-detail:nth-child(even) .bd-media { order: initial; } }
.bd-tag { display: inline-block; padding: 5px 14px; border-radius: 999px; background: var(--blue-l); color: var(--blue-d); font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.bd-title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; color: var(--text); margin-bottom: 16px; }
.bd-text p { color: var(--text-2); margin-bottom: 14px; }
.bd-features { list-style: none; margin-top: 18px; }
.bd-features li { padding: 8px 0 8px 28px; position: relative; color: var(--text-2); }
.bd-features li::before { content: ""; position: absolute; left: 0; top: 14px; width: 16px; height: 16px; border-radius: 50%; background: var(--blue-l); }
.bd-features li::after { content: ""; position: absolute; left: 5px; top: 18px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.bd-media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bd-media .ph { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); border: 1px solid var(--border); }
.bd-media .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.bd-media .ph:hover img { transform: scale(1.05); }
.bd-media .ph.placeholder { display: grid; place-items: center; background: var(--grad-soft); }
.bd-media .ph.placeholder svg { width: 40px; height: 40px; color: var(--blue); opacity: .5; }

/* ---------- 案例卡片 ---------- */
.case-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: all .3s; display: flex; flex-direction: column; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(37,99,235,.3); }
.case-cover { aspect-ratio: 16/9; position: relative; overflow: hidden; }
.case-cover.c1 { background: linear-gradient(135deg, #1e40af, #3b82f6); }
.case-cover.c2 { background: linear-gradient(135deg, #0e7490, #06b6d4); }
.case-cover.c3 { background: linear-gradient(135deg, #047857, #10b981); }
.case-cover.c4 { background: linear-gradient(135deg, #6d28d9, #8b5cf6); }
.case-cover.img img { width: 100%; height: 100%; object-fit: cover; }
.case-cover .cover-ico { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.9); }
.case-cover .cover-ico svg { width: 64px; height: 64px; }
.case-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.case-industry { display: inline-block; align-self: flex-start; padding: 3px 11px; border-radius: 999px; background: var(--blue-l); color: var(--blue-d); font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.case-title { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.case-desc { color: var(--text-2); font-size: 14px; line-height: 1.65; flex: 1; }
.case-meta { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border-soft); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-3); }
.case-meta .amount { color: var(--blue-d); font-weight: 700; }

/* ---------- 首页精选案例：旗舰大卡布局（方案B） ---------- */
#cases-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
#cases-grid .case-card:first-child { grid-column: span 2; }
#cases-grid .case-hero { grid-column: span 2; }
#cases-grid .case-hero .case-cover { aspect-ratio: 21/9; }
#cases-grid .case-hero .case-title { font-size: 20px; }
#cases-grid .case-hero .case-desc { font-size: 15px; -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1024px) {
  #cases-grid { grid-template-columns: repeat(2, 1fr); }
  #cases-grid .case-hero { grid-column: span 2; }
}
@media (max-width: 640px) {
  #cases-grid { grid-template-columns: 1fr; }
  #cases-grid .case-hero { grid-column: span 1; }
  #cases-grid .case-hero .case-cover { aspect-ratio: 16/9; }
}

/* ---------- 案例页：行业筛选胶囊 ---------- */
.cases-filter { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
.case-filter-btn { padding: 7px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-2); color: var(--text-2); font-size: 13.5px; font-weight: 600; cursor: pointer; transition: all .25s; }
.case-filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.case-filter-btn.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--shadow-sm); }

/* ---------- 案例详情 ---------- */
.case-detail-hero { background: var(--grad); color: #fff; padding: 120px 0 56px; }
.case-detail-hero h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin-bottom: 12px; }
.case-detail-hero .cd-client { font-size: 17px; opacity: .9; }
.case-info-table { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 36px; }
.case-info-table .cell { background: var(--bg-2); padding: 20px 24px; }
.case-info-table .cell .k { font-size: 13px; color: var(--text-3); margin-bottom: 6px; }
.case-info-table .cell .v { font-size: 16px; font-weight: 600; color: var(--text); }
.case-info-table .cell .v.amount { color: var(--blue-d); font-size: 20px; }
@media (max-width: 640px) { .case-info-table { grid-template-columns: 1fr; } }

/* ---------- 合作伙伴 logo 墙 ---------- */
.brand-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.brand-item { aspect-ratio: 3/2; min-width: 0; overflow: hidden; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm); display: grid; place-items: center; padding: 16px; transition: all .3s; }
.brand-item:hover { box-shadow: var(--shadow-sm); border-color: rgba(37,99,235,.25); transform: translateY(-2px); }
.brand-item.logo img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .3s; }
.brand-item.logo:hover img { transform: scale(1.08); }
.brand-item.text { font-weight: 700; color: var(--text-2); font-size: 15px; }

/* 客户群：行业并排网格 */
#client-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.client-group { margin-bottom: 0; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; }
.client-group-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 10px; padding-left: 8px; border-left: 3px solid var(--blue); }
.client-group .brand-wall { display: flex; flex-wrap: wrap; gap: 8px; }
.client-group .brand-item {
  flex: 0 0 calc(33.333% - 6px);
  min-width: 0;
  height: 56px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.client-group .brand-item.logo img {
  max-width: 100%;
  max-height: 44px;
  object-fit: contain;
  object-position: center;
  transition: transform .3s;
}
.client-group .brand-item.logo:hover img { transform: scale(1.1); }
@media (max-width: 1100px) { #client-wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .brand-wall { grid-template-columns: repeat(4, 1fr); } #client-wall { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .brand-wall { grid-template-columns: repeat(3, 1fr); } #client-wall { grid-template-columns: 1fr; } }

/* ---------- 资质认证 ---------- */
.cert-block { margin-bottom: 40px; }
.cert-subhead { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 16px; padding-left: 14px; border-left: 4px solid var(--blue); }
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 768px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
.cert-item { display: flex; align-items: center; gap: 14px; padding: 18px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.cert-badge { width: 48px; height: 48px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; font-size: 13px; text-align: center; line-height: 1.1; }
.cert-badge.alt { background: linear-gradient(135deg, #6b7280, #9ca3af); }
.cert-info h5 { font-size: 15px; font-weight: 700; color: var(--text); }
.cert-info p { font-size: 13px; color: var(--text-3); }

/* ---------- 成长历程 timeline ---------- */
.timeline { position: relative; max-width: 880px; margin: 0 auto; padding: 20px 0; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--blue-l), var(--blue), var(--blue-l)); transform: translateX(-50%); }
.tl-node { position: relative; width: 50%; padding: 0 40px 40px 0; }
.tl-node:nth-child(even) { margin-left: 50%; padding: 0 0 40px 40px; }
.tl-node::after { content: ""; position: absolute; top: 6px; right: -8px; width: 16px; height: 16px; border-radius: 50%; background: var(--blue); border: 3px solid var(--bg-2); box-shadow: 0 0 0 3px var(--blue-l); }
.tl-node:nth-child(even)::after { right: auto; left: -8px; }
.tl-year { font-size: 22px; font-weight: 800; color: var(--blue-d); margin-bottom: 6px; }
.tl-t { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.tl-d { color: var(--text-2); font-size: 14.5px; }

/* ---------- 关于页：公司简介 + 成长历程 并排布局 ---------- */
.about-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: start; }
.about-left { display: flex; flex-direction: column; gap: 30px; }
.about-side-head { margin-bottom: 26px; }
.about-side-head .eyebrow { margin-bottom: 8px; }
.about-side-head h3 { font-size: 22px; font-weight: 800; color: var(--text); }
.about-left .stats-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
.about-left .stat-item { padding: 22px 14px; }
.about-left .stat-value { font-size: clamp(28px, 3vw, 38px); }
/* 公司简介左列：核心优势小结卡（填补与右侧时间线的高度差） */
.about-callout { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; text-align: center; }
.about-callout .ac-pillars { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; justify-content: center; }
.about-callout .ac-pillars span { font-size: 13px; font-weight: 700; color: var(--blue-d); background: var(--blue-l); padding: 5px 12px; border-radius: 999px; }
.about-callout p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.7; }

/* 左对齐竖向时间线（关于页右侧窄列） */
.timeline-side { position: relative; padding-left: 28px; }
.timeline-side::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: linear-gradient(var(--blue-l), var(--blue), var(--blue-l)); }
.timeline-side .tl-node { position: relative; width: auto; margin: 0; padding: 0 0 24px 0; }
.timeline-side .tl-node:last-child { padding-bottom: 0; }
.timeline-side .tl-node:nth-child(even) { margin-left: 0; padding: 0 0 24px 0; }
.timeline-side .tl-node::after { right: auto; left: -28px; top: 3px; width: 14px; height: 14px; border-color: var(--bg); box-shadow: 0 0 0 3px var(--blue-l); }
.timeline-side .tl-node:nth-child(even)::after { right: auto; left: -28px; }
.timeline-side .tl-year { font-size: 18px; margin-bottom: 4px; }
.timeline-side .tl-t { font-size: 15.5px; margin-bottom: 4px; }
.timeline-side .tl-d { font-size: 13.5px; line-height: 1.65; }
@media (max-width: 900px) { .about-layout { grid-template-columns: 1fr; gap: 44px; } }
@media (max-width: 680px) {
  .timeline::before { left: 8px; }
  .tl-node, .tl-node:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 32px 32px; }
  .tl-node::after, .tl-node:nth-child(even)::after { left: 1px; right: auto; }
}

/* ---------- 合作流程 ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.flow-step { text-align: center; padding: 28px 20px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); position: relative; }
.flow-step .num { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; margin: 0 auto 14px; }
.flow-step h4 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.flow-step p { font-size: 13.5px; color: var(--text-2); }
@media (max-width: 768px) { .flow { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 新闻 ---------- */
.news-scroll { overflow: hidden; }
.news-marquee { overflow: hidden; position: relative; }
.news-marquee::before, .news-marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.news-marquee::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.news-marquee::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.news-marquee-track { display: flex; gap: 18px; width: max-content; animation: newsScroll 40s linear infinite; }
.news-marquee-track:hover { animation-play-state: paused; }
@keyframes newsScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.news-card { min-width: 320px; max-width: 320px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: all .3s; }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(37,99,235,.3); }
.news-card .nc-cover { aspect-ratio: 16/9; background: var(--grad); position: relative; }
.news-card .nc-cover img { width: 100%; height: 100%; object-fit: cover; }
.news-card .nc-cover .nc-cat { position: absolute; top: 12px; left: 12px; padding: 3px 11px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--blue-d); font-size: 12px; font-weight: 600; }
.news-card .nc-body { padding: 18px; }
.news-card .nc-date { font-size: 13px; color: var(--text-3); margin-bottom: 8px; }
.news-card .nc-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; line-height: 1.4; }
.news-card .nc-summary { font-size: 13.5px; color: var(--text-2); line-height: 1.6; }
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .news-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .news-list { grid-template-columns: 1fr; } }
.news-detail { max-width: 820px; margin: 0 auto; }
.news-detail .nd-meta { display: flex; align-items: center; gap: 14px; color: var(--text-3); font-size: 14px; margin-bottom: 16px; }
.news-detail .nd-cat { padding: 4px 12px; border-radius: 999px; background: var(--blue-l); color: var(--blue-d); font-weight: 600; font-size: 13px; }
.news-detail h1 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--text); margin-bottom: 16px; line-height: 1.3; }
.news-detail .nd-cover { width: 100%; aspect-ratio: 21/9; border-radius: var(--radius); margin-bottom: 28px; object-fit: cover; }
.news-detail .nd-body { font-size: 16px; line-height: 1.9; color: var(--text-2); }
.news-detail .nd-body p { margin-bottom: 18px; }
.news-detail .nd-body h2, .news-detail .nd-body h3 { color: var(--text); margin: 28px 0 14px; }

/* ---------- 内页 Hero ---------- */
.page-hero { padding: 130px 0 56px; background: var(--grad-soft); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 0, rgba(37,99,235,.08), transparent 60%); }
.page-hero .container { position: relative; }
.breadcrumb { font-size: 13.5px; color: var(--text-3); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--blue); }
.page-title { font-size: clamp(28px, 3.8vw, 42px); font-weight: 800; color: var(--text); letter-spacing: -.01em; }
.page-desc { margin-top: 14px; color: var(--text-2); font-size: 16px; max-width: 680px; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border-soft); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--blue-l); color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.contact-info-item h4 { font-size: 14px; color: var(--text-3); font-weight: 500; margin-bottom: 4px; }
.contact-info-item p { font-size: 16px; font-weight: 600; color: var(--text); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.field input, .field textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-2); color: var(--text); font-family: inherit; font-size: 15px; transition: border-color .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-l); }
.field textarea { resize: vertical; min-height: 120px; }
.field select { width: 100%; padding: 12px 40px 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); background-color: var(--bg-2); color: var(--text); font-family: inherit; font-size: 15px; cursor: pointer; transition: border-color .2s; -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; }
.field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-l); }

/* ---------- CTA 横幅 ---------- */
.cta-band { background: var(--grad); border-radius: 24px; padding: 56px 48px; color: #fff; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 15% 20%, rgba(255,255,255,.18), transparent 60%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; }
.cta-title p { font-size: 15px; opacity: .9; font-weight: 400; margin-top: 6px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-actions .btn-primary { background: #fff; color: var(--blue-d); }
.cta-actions .btn-ghost { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.4); }

/* ---------- 痛点反馈 ---------- */
.pain-cta { background: linear-gradient(135deg, #f0f4f8 0%, #e8eef5 100%); border-radius: 24px; padding: 48px 40px; position: relative; overflow: hidden; }
.pain-cta::before { content: ""; position: absolute; top: -50%; right: -20%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(37,99,235,.08), transparent 70%); pointer-events: none; }
.pain-header { text-align: center; margin-bottom: 36px; position: relative; z-index: 1; }
.pain-title { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; color: var(--text); margin: 0 0 8px; }
.pain-sub { font-size: 15px; color: var(--text-soft); margin: 0; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; position: relative; z-index: 1; }
.pain-card { background: #fff; border-radius: 16px; padding: 24px 20px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,.06); transition: all .3s ease; border: 1px solid rgba(37,99,235,.08); }
.pain-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(37,99,235,.12); border-color: rgba(37,99,235,.2); }
.pain-icon { font-size: 32px; margin-bottom: 12px; display: block; }
.pain-card h3 { font-size: 16px; font-weight: 700; color: var(--text); margin: 0 0 8px; }
.pain-card p { font-size: 14px; color: var(--text-soft); margin: 0; line-height: 1.5; }
.pain-cta-actions { text-align: center; position: relative; z-index: 1; }
.pain-cta-actions .btn-primary { background: var(--blue); color: #fff; padding: 12px 32px; font-size: 15px; }
.pain-cta-actions .btn-ghost { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); padding: 12px 32px; font-size: 15px; margin-left: 12px; }
@media (max-width: 768px) {
  .pain-grid { grid-template-columns: 1fr; }
  .pain-cta { padding: 36px 24px; }
  .pain-cta-actions .btn-ghost { margin-left: 0; margin-top: 10px; }
}

/* ---------- 页脚 ---------- */
.site-footer { background: #111827; color: #cbd5e1; padding: 60px 0 24px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.footer-brand img { height: 40px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 14px; color: #c2ccda; line-height: 1.7; }
.footer-col h5 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; color: #c2ccda; font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 20px; font-size: 13.5px; color: #b8c2d0; }
.footer-bottom a { color: #b8c2d0; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 返回顶部 / 动画 ---------- */
#back-to-top { position: fixed; right: 28px; bottom: 28px; width: 46px; height: 46px; border-radius: 50%; border: none; background: var(--blue); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(12px); transition: all .3s; z-index: 90; }
#back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
#back-to-top:hover { background: var(--blue-d); }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
body { animation: pageIn .4s; }

/* ---------- 联系悬浮框（客户 / 同行 双 modal） ---------- */
.contact-modal { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(15,23,42,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); align-items: center; justify-content: center; padding: 20px; }
.contact-modal.open { display: flex; }
.contact-modal .modal-card { max-width: 480px; width: 100%; max-height: 90vh; overflow: auto; position: relative; background: var(--bg-2); border-radius: var(--radius); box-shadow: 0 24px 70px -12px rgba(15,23,42,.4); animation: fadeUp .3s; }
.modal-close { position: absolute; top: 12px; right: 14px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.22); border: none; font-size: 22px; line-height: 30px; text-align: center; color: #fff; cursor: pointer; z-index: 3; transition: background .2s; }
.modal-close:hover { background: rgba(255,255,255,.4); }
.modal-head { padding: 24px 24px 18px; color: #fff; border-radius: var(--radius) var(--radius) 0 0; }
.modal-head h3 { font-size: 20px; font-weight: 700; color: #fff; }
.modal-head p { margin-top: 4px; font-size: 13px; color: rgba(255,255,255,.92); }
.modal-head.is-customer { background: linear-gradient(135deg, var(--blue), var(--blue-d)); }
.modal-head.is-partner { background: linear-gradient(135deg, #10b981, var(--emerald)); }
.contact-modal .contact-form { padding: 20px 24px 22px; }
.contact-modal .form-tip { margin-top: 12px; text-align: center; font-size: 14px; min-height: 20px; }
.modal-call { text-align: center; font-size: 13px; color: var(--text-3); margin-top: 14px; }
.modal-call a { color: var(--blue-d); font-weight: 600; }
@media (max-width: 560px) { .contact-modal { padding: 12px; } .modal-head { padding: 20px 18px 14px; } .contact-modal .contact-form { padding: 16px 18px 20px; } }
:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.4); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
