/* =========================================================
   康达检测 KANGDA · Premium 设计系统
   环境 / 健康 / 安全 (EHS) · 静态多页站
   ========================================================= */

:root {
  /* 品牌色 */
  --brand: #0ea47a;
  --brand-600: #0c8f6b;
  --brand-700: #0a7559;
  --brand-soft: #e6f7f1;
  --cyan: #2dd4bf;
  --sky: #38bdf8;
  --gold: #e9b949;

  /* 浅色主题 */
  --bg: #f5f8f7;
  --bg-2: #ffffff;
  --bg-elev: #ffffff;
  --text: #0e1a16;
  --text-2: #4a5a54;
  --text-3: #7d8c86;
  --border: rgba(14, 26, 22, 0.08);
  --border-strong: rgba(14, 26, 22, 0.14);
  --glass: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(255, 255, 255, 0.7);
  --shadow: 0 18px 50px -20px rgba(10, 40, 30, 0.28);
  --shadow-lg: 0 40px 80px -30px rgba(10, 40, 30, 0.35);
  --grid-line: rgba(14, 26, 22, 0.05);

  /* 渐变 */
  --grad-brand: linear-gradient(135deg, #0ea47a 0%, #2dd4bf 100%);
  --grad-hero: radial-gradient(1200px 600px at 75% -10%, rgba(45,212,191,0.22), transparent 60%),
               radial-gradient(900px 500px at 10% 10%, rgba(56,189,248,0.14), transparent 55%);

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --maxw: 1200px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

[data-theme="dark"] {
  --bg: #07100d;
  --bg-2: #0b1714;
  --bg-elev: #0e1c18;
  --text: #eaf4f0;
  --text-2: #a9bcb5;
  --text-3: #6f847c;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --glass: rgba(16, 32, 27, 0.55);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow: 0 22px 60px -24px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 50px 100px -36px rgba(0, 0, 0, 0.8);
  --grid-line: rgba(255, 255, 255, 0.045);
  --brand-soft: rgba(14, 164, 122, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* 背景装饰网格 */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 75%);
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.section { padding: 110px 0; position: relative; }
.section-sm { padding: 72px 0; }

/* ============ 导航 ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h);
  z-index: 100; display: flex; align-items: center;
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  background: var(--glass);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.nav.hidden { transform: translateY(-100%); }
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 19px; letter-spacing: 0.3px; }
.brand .logo-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--grad-brand); display: grid; place-items: center;
  box-shadow: 0 8px 22px -8px rgba(14,164,122,0.7); color: #fff;
}
.brand .logo-mark svg { width: 22px; height: 22px; }
.brand small { display: block; font-size: 11px; font-weight: 600; color: var(--text-3); letter-spacing: 2px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 15px; border-radius: 10px; font-size: 15px; font-weight: 500;
  color: var(--text-2); position: relative; transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: var(--text); background: var(--border); }
.nav-links a.active { color: var(--brand); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--bg-elev); display: grid; place-items: center; cursor: pointer;
  color: var(--text-2); transition: all 0.25s var(--ease);
}
.theme-toggle:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-2px); }
.theme-toggle svg { width: 20px; height: 20px; }

.btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  padding: 13px 24px; border-radius: 13px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 14px 34px -12px rgba(14,164,122,0.6); }
.btn-primary:hover { box-shadow: 0 20px 44px -12px rgba(14,164,122,0.75); }
.btn-ghost { background: var(--bg-elev); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-outline { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn-outline:hover { background: var(--border); }

.hamburger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-elev); cursor: pointer; }
.hamburger span { display: block; width: 18px; height: 2px; background: var(--text); margin: 3px auto; transition: 0.3s; }

/* ============ Hero ============ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: var(--nav-h); overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; z-index: 0; }
.hero-grad { position: absolute; inset: 0; z-index: 0; background: var(--grad-hero); }
.hero .container { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-border); backdrop-filter: blur(10px);
  font-size: 13px; font-weight: 600; color: var(--brand); margin-bottom: 26px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.hero h1 { font-size: clamp(34px, 5.4vw, 66px); line-height: 1.08; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 22px; }
.hero h1 .grad { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--text-2); max-width: 620px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 42px; margin-top: 64px; flex-wrap: wrap; }
.hero-stats .hs { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; flex: 1 1 0; min-width: 150px; padding: 20px 16px; background: var(--brand-soft); border: 1px solid var(--brand); border-radius: 16px; }
.hero-stats .hs b { font-size: clamp(28px, 3vw, 40px); font-weight: 800; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; line-height: 1; }
.hero-stats .hs span { font-size: 13px; color: var(--text-3); }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--text-3); font-size: 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-hint .mouse { width: 22px; height: 36px; border: 2px solid var(--border-strong); border-radius: 12px; position: relative; }
.scroll-hint .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 3px; height: 7px; background: var(--brand); border-radius: 2px; animation: scroll 1.6s infinite; }
@keyframes scroll { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 100%{opacity:0;transform:translate(-50%,12px)} }

/* ============ 通用区块标题 ============ */
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--brand); margin-bottom: 16px; }
.sec-tag::before { content: ""; width: 28px; height: 2px; background: var(--grad-brand); border-radius: 2px; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 42px); font-weight: 800; line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 16px; }
.sec-head p { color: var(--text-2); font-size: 16px; }

/* ============ 卡片 / 玻璃拟态 ============ */
.glass-card {
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius); padding: 30px; position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
}
.glass-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand); }

/* 业务板块网格 */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card { padding: 32px 28px; }
.svc-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 20px; transition: transform 0.4s var(--ease); }
.svc-card:hover .svc-icon { transform: scale(1.08) rotate(-4deg); }
.svc-icon svg { width: 28px; height: 28px; }
.svc-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.svc-card p { color: var(--text-2); font-size: 14.5px; }
.svc-card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--brand); font-weight: 600; font-size: 14px; }
.svc-card .more svg { width: 16px; height: 16px; transition: transform 0.3s; }
.svc-card:hover .more svg { transform: translateX(4px); }

/* 关于 */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.about-visual {
  position: relative; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--grad-hero); border: 1px solid var(--border); display: grid; place-items: center;
}
.about-visual .orb { width: 60%; aspect-ratio: 1; border-radius: 50%; background: var(--grad-brand); filter: blur(2px); opacity: 0.85; animation: float 7s ease-in-out infinite; box-shadow: var(--shadow-lg); }
@keyframes float { 0%,100%{transform:translateY(-10px) scale(1)} 50%{transform:translateY(10px) scale(1.04)} }
.about-text p { color: var(--text-2); margin-bottom: 18px; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.about-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text); }
.about-points svg { width: 20px; height: 20px; color: var(--brand); flex-shrink: 0; margin-top: 2px; }

/* 资质荣誉 */
.honor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.honor { text-align: center; padding: 30px 20px; }
.honor .ico { width: 50px; height: 50px; margin: 0 auto 16px; color: var(--brand); }
.honor .ico svg { width: 100%; height: 100%; }
.honor b { display: block; font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.honor span { font-size: 13px; color: var(--text-3); }

/* 数据条 */
.stats-band { background: var(--grad-brand); border-radius: var(--radius-lg); padding: 50px 40px; color: #fff; position: relative; overflow: hidden; }
.stats-band::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='2' cy='2' r='1' fill='rgba(255,255,255,0.18)'/%3E%3C/svg%3E"); opacity: .5; }
.stats-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; z-index: 1; }
.stat { text-align: center; }
.stat b { font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; display: block; line-height: 1; }
.stat span { font-size: 14px; opacity: 0.9; }

/* 资讯 */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.news-thumb { height: 180px; background: var(--grad-hero); position: relative; overflow: hidden; }
.news-thumb svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.8; }
.news-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.news-meta { font-size: 12.5px; color: var(--brand); font-weight: 600; margin-bottom: 10px; }
.news-card h3 { font-size: 17px; font-weight: 700; line-height: 1.4; margin-bottom: 12px; }
.news-card p { font-size: 14px; color: var(--text-2); flex: 1; }
.news-card .more { margin-top: 16px; color: var(--brand); font-weight: 600; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
.news-card .more svg { width: 16px; height: 16px; }

/* 流程 */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.flow-item { position: relative; padding: 28px 22px; }
.flow-item .num { font-size: 40px; font-weight: 800; color: var(--brand-soft); line-height: 1; margin-bottom: 12px; }
.flow-item h4 { font-size: 17px; margin-bottom: 8px; }
.flow-item p { font-size: 14px; color: var(--text-2); }

/* 联系 */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info .ci { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--border); }
.contact-info .ci:last-child { border-bottom: none; }
.contact-info .ci .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.contact-info .ci .ico svg { width: 22px; height: 22px; }
.contact-info .ci b { font-size: 15px; display: block; margin-bottom: 2px; }
.contact-info .ci span { font-size: 14px; color: var(--text-2); }
.form-card { padding: 32px; }
.form-card h3 { font-size: 20px; margin-bottom: 6px; }
.form-card > p { color: var(--text-2); font-size: 14px; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--border-strong);
  background: var(--bg-2); color: var(--text); font-family: inherit; font-size: 15px; transition: border 0.25s, box-shadow 0.25s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 12.5px; color: var(--text-3); margin-top: 10px; }
.form-ok { display: none; padding: 14px 16px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-700); font-size: 14px; font-weight: 600; margin-top: 14px; }
.form-ok.show { display: block; }

/* 页脚 */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 64px 0 28px; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 44px; }
.footer-col h4 { font-size: 15px; margin-bottom: 18px; }
.footer-col p { color: var(--text-2); font-size: 14px; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--text-2); font-size: 14px; padding: 6px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--text-3); font-size: 13px; }
.footer .brand { margin-bottom: 16px; }

/* 动画 reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.40s; }

/* 面包屑 */
.crumb { padding: 110px 0 0; }
.crumb .links { font-size: 14px; color: var(--text-3); }
.crumb .links a:hover { color: var(--brand); }
.crumb h1 { font-size: clamp(28px, 4vw, 46px); font-weight: 800; margin-top: 12px; }

/* 服务详情 */
.detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.detail-main h2 { font-size: 26px; margin: 26px 0 14px; }
.detail-main p { color: var(--text-2); margin-bottom: 16px; }
.detail-main ul.ticks li { display: flex; gap: 10px; margin-bottom: 10px; color: var(--text); }
.detail-main ul.ticks svg { width: 20px; height: 20px; color: var(--brand); flex-shrink: 0; margin-top: 3px; }
.side-card { position: sticky; top: 90px; }
.side-card h4 { font-size: 16px; margin-bottom: 14px; }
.side-card a { display: flex; justify-content: space-between; padding: 12px 14px; border-radius: 10px; color: var(--text-2); font-size: 14px; transition: 0.2s; }
.side-card a:hover, .side-card a.active { background: var(--brand-soft); color: var(--brand-700); }

/* CTA band */
.cta-band { text-align: center; padding: 80px 24px; }
.cta-band h2 { font-size: clamp(24px, 3.4vw, 40px); font-weight: 800; margin-bottom: 16px; }
.cta-band p { color: var(--text-2); max-width: 560px; margin: 0 auto 30px; }

/* ============ 响应式 ============ */
@media (max-width: 980px) {
  .svc-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid, .detail-grid { grid-template-columns: 1fr; gap: 36px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .side-card { position: static; }
}
@media (max-width: 680px) {
  .section { padding: 76px 0; }
  .nav-links, .nav-actions .btn { display: none; }
  .hamburger { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--bg-elev); border-bottom: 1px solid var(--border); padding: 16px; gap: 4px; box-shadow: var(--shadow);
  }
  .svc-grid, .news-grid, .honor-grid, .flow { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}

/* 移动端抽屉 */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 99; background: var(--bg); padding: 90px 24px 24px;
  transform: translateX(100%); transition: transform 0.4s var(--ease); display: flex; flex-direction: column; gap: 6px;
}
.mobile-drawer.open { transform: none; }
.mobile-drawer a { padding: 16px; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--border); }
.mobile-drawer .btn { margin-top: 20px; justify-content: center; }

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   新增强 · ehscare 对标升级样式
   ========================================================= */
.brand-logo { height: 38px; width: auto; border-radius: 6px; }

.nav-links { display: flex; align-items: center; gap: 0; }
.nav-links > a, .nav-links > .nav-item > a {
  padding: 9px 16px; border-radius: 10px; font-size: 15px; font-weight: 500;
  color: var(--text-2); position: relative; transition: color 0.25s, background 0.25s;
  display: inline-flex; align-items: center; gap: 5px;
}
.nav-links > a:hover, .nav-links > .nav-item:hover > a { color: var(--text); background: var(--border); }
.nav-links > a.active, .nav-links > .nav-item > a.active { color: var(--brand); }
.chev { width: 13px; height: 13px; opacity: 0.7; transition: transform 0.25s; }
.nav-item:hover .chev { transform: rotate(180deg); }

.dropdown, .mega-menu {
  position: absolute; top: calc(var(--nav-h) - 8px); left: 0; z-index: 101;
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s var(--ease);
}
.nav-item { position: relative; }
.nav-item:hover .dropdown, .nav-item:hover .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown { min-width: 190px; padding: 10px; display: flex; flex-direction: column; }
.dropdown a { padding: 9px 14px; border-radius: 9px; font-size: 14.5px; color: var(--text-2); transition: 0.2s; }
.dropdown a:hover { background: var(--brand-soft); color: var(--brand-700); }

.mega-menu { left: 0; transform: translate(0, -10px); display: flex; flex-direction: column; gap: 14px; padding: 16px; min-width: 190px; max-width: 225px; }
.mega-col { display: flex; flex-direction: column; }
.mega-col:nth-child(1) { flex: 1 1 0; min-width: 0; }
.mega-col:nth-child(2) { flex: 1 1 0; min-width: 0; }
.mega-col:nth-child(3) { flex: 1 1 0; min-width: 0; }
.mega-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-3); margin-bottom: 12px; }
.mega-col a { padding: 7px 0; font-size: 14px; color: var(--text-2); border-bottom: 1px solid transparent; transition: 0.2s; }
.mega-col a:hover { color: var(--brand); padding-left: 6px; border-color: var(--brand-soft); }

/* 移动端抽屉子标题 */
.mobile-sub { padding: 12px 16px 4px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: var(--brand); text-transform: uppercase; }
.mobile-drawer a.sub { font-size: 15px; padding: 10px 16px 10px 30px; color: var(--text-2); border-bottom: none; }

/* Hero 背景图版 */
.hero.bg-img { position: relative; min-height: 92vh; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; object-fit: cover; width: 100%; height: 100%; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--bg) 0%, rgba(var(--bg),0.85) 40%, rgba(var(--bg),0.2) 100%); }
[data-theme="dark"] .hero-overlay { background: linear-gradient(90deg, var(--bg) 0%, rgba(7,16,13,0.85) 45%, rgba(7,16,13,0.35) 100%); }
.hero.bg-img .container { z-index: 2; }
.hero.bg-img h1 { max-width: 720px; }
.hero.bg-img p.lead { max-width: 600px; }

/* 通用 compact Hero（子页） */
.hero-compact { padding: 160px 0 80px; position: relative; overflow: hidden; background: var(--grad-hero); }
.hero-compact h1 { font-size: clamp(30px, 4.5vw, 54px); font-weight: 800; line-height: 1.1; }
.hero-compact p { color: var(--text-2); max-width: 680px; margin-top: 14px; }

/* 服务分类展示 */
.cat-block { margin-bottom: 42px; }
.cat-block h3 { font-size: 20px; font-weight: 700; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.cat-block h3::before { content: ""; width: 5px; height: 22px; background: var(--grad-brand); border-radius: 3px; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card { padding: 22px; display: flex; flex-direction: column; }
.cat-card h4 { font-size: 16px; margin-bottom: 6px; }
.cat-card p { font-size: 13.5px; color: var(--text-2); flex: 1; }

/* 案例 */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { overflow: hidden; padding: 0; }
.case-thumb { height: 210px; overflow: hidden; position: relative; }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.case-card:hover .case-thumb img { transform: scale(1.08); }
.case-body { padding: 24px; }
.case-tag { font-size: 12px; font-weight: 700; color: var(--brand); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.case-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.case-card p { font-size: 14px; color: var(--text-2); }

/* 团队 */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { text-align: center; padding: 28px 22px; }
.team-avatar { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; border: 3px solid var(--brand-soft); }
.team-card h4 { font-size: 16px; margin-bottom: 2px; }
.team-card span { font-size: 13px; color: var(--brand); }
.team-card p { font-size: 13.5px; color: var(--text-2); margin-top: 10px; }

/* 资讯分类 Tab */
.news-tabs { display: flex; gap: 10px; margin-bottom: 32px; flex-wrap: wrap; }
.news-tab { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--bg-elev); color: var(--text-2); font-size: 14px; font-weight: 600; cursor: pointer; transition: 0.25s; }
.news-tab:hover, .news-tab.active { background: var(--brand); color: #fff; border-color: var(--brand); }

@media (max-width: 980px) {
  .mega-menu, .dropdown { display: none; }
  .nav-item > a .chev { display: none; }
  .cat-grid, .cases-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .cat-grid, .cases-grid, .team-grid { grid-template-columns: 1fr; }
  .hero.bg-img { min-height: auto; padding-bottom: 60px; }
  .hero-compact { padding: 130px 0 50px; }
}

