/* =========================================================================
   香港智豐科技 — 本站自定义语义样式
   主题：深藏青 + 科技青，专业商务风，标准圆角 10px
   ========================================================================= */

@font-face {
  font-family: 'NotoTC';
  src: url('../fonts/NotoSansTC-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'NotoTC';
  src: url('../fonts/NotoSansTC-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --c-primary: #0E2A47;
  --c-primary-deep: #081B30;
  --c-accent: #17B6C4;
  --c-accent2: #3D7BD9;
  --c-bg: #F5F8FB;
  --c-text: #1F2D3D;
  --c-muted: #5B6B7B;
  --c-line: #E3EAF1;
  --c-white: #FFFFFF;
  --radius: 10px;
  --shadow-sm: 0 2px 10px rgba(14, 42, 71, .08);
  --shadow-md: 0 10px 30px rgba(14, 42, 71, .14);
  --c-primary-rgb: 14, 42, 71;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'NotoTC', -apple-system, BlinkMacSystemFont, 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.3; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 通用语义色 ---------- */
.bg-primary { background: var(--c-primary); }
.bg-primary-deep { background: var(--c-primary-deep); }
.bg-accent { background: var(--c-accent); }
.bg-accent-gradient { background: linear-gradient(135deg, var(--c-accent), var(--c-accent2)); }
.bg-primary-5 { background: rgba(14, 42, 71, .06); }
.text-primary { color: var(--c-primary); }
.text-accent { color: var(--c-accent); }
.text-muted { color: var(--c-muted); }
.text-white { color: #fff; }
.border-accent { border-color: var(--c-accent); }
.hover-bg-accent-20:hover { background: rgba(23, 182, 196, .18); }
.focus-border-accent:focus { border-color: var(--c-accent); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-accent { background: var(--c-accent); color: #fff; }
.btn-accent:hover { background: #129faa; transform: translateY(-2px); }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: #16395e; transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-outline-dark { background: transparent; border-color: var(--c-line); color: var(--c-primary); }
.btn-outline-dark:hover { border-color: var(--c-accent); color: var(--c-accent); }
.btn .lucide, .btn svg { width: 18px; height: 18px; }

/* ---------- 区块标题 ---------- */
.section { padding: 88px 0; }
.section.bg-light { background: var(--c-bg); }
.sec-head { margin-bottom: 44px; }
.sec-head-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--c-muted); }
.sec-head-link:hover { color: var(--c-accent); }
.sec-head-link svg { width: 16px; height: 16px; }
.tag-all-bar { margin-bottom: 24px; }
.sec-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.sec-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--c-accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.sec-kicker::before {
  content: '';
  width: 22px; height: 2px;
  background: var(--c-accent);
}
.sec-title { font-size: 32px; font-weight: 700; color: var(--c-primary); }
.sec-sub { max-width: 620px; margin-top: 12px; color: var(--c-muted); font-size: 15px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent2));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 19px;
  flex: none;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text .l1 { font-size: 17px; font-weight: 700; color: var(--c-primary); }
.logo-text .l2 { font-size: 11px; letter-spacing: .18em; color: var(--c-muted); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a, .nav-drop > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--c-text);
  border-radius: 8px;
  transition: color .2s;
  position: relative;
}
.main-nav > a:hover, .nav-drop > a:hover { color: var(--c-accent); }
.main-nav > a.active, .nav-drop > a.active { color: var(--c-accent); font-weight: 700; }
.main-nav > a.active::after, .nav-drop > a.active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--c-accent);
}
.nav-drop { position: relative; display: inline-flex; align-items: center; }
.nav-drop-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  display: inline-flex;
  align-items: center;
  padding: 6px;
  border-radius: 6px;
}
.nav-drop-toggle .lucide, .nav-drop-toggle svg { width: 15px; height: 15px; transition: transform .25s; }
.nav-drop.open .nav-drop-toggle .lucide, .nav-drop.open .nav-drop-toggle svg { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .25s ease;
}
.nav-drop.open .nav-drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 8px;
  color: var(--c-text);
}
.nav-drop-menu a .lucide, .nav-drop-menu a svg { width: 17px; height: 17px; color: var(--c-accent); }
.nav-drop-menu a:hover { background: var(--c-bg); color: var(--c-accent); }

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--c-primary);
  font-size: 15px;
}
.nav-phone .lucide, .nav-phone svg { width: 17px; height: 17px; color: var(--c-accent); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  color: var(--c-primary);
}
.nav-toggle .lucide, .nav-toggle svg { width: 26px; height: 26px; }

/* 移动端抽屉 */
.nav-drawer {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  background: #fff;
  z-index: 999;
  padding: 20px 24px;
  overflow-y: auto;
}
.nav-drawer.open { display: block; }
.nav-drawer nav { display: flex; flex-direction: column; gap: 4px; }
.nav-drawer nav > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  font-size: 16px;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-text);
}
.nav-drawer .nav-drop { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--c-line); }
.nav-drawer .nav-drop > a { flex: 1; padding: 14px 4px; font-size: 16px; color: var(--c-text); }
.nav-drawer .nav-drop-toggle { padding: 14px 4px; color: var(--c-text); }
.nav-drawer .nav-drop-menu {
  position: static;
  width: 100%;
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 2px 0 10px;
  background: transparent;
  border: none;
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav-drawer .nav-drop.open .nav-drop-menu { display: flex; }
.nav-drawer .nav-drop-menu a.sub {
  padding: 11px 4px 11px 18px;
  font-size: 14px;
  color: var(--c-muted);
  border-bottom: none;
}
.nav-drawer nav a.active { color: var(--c-accent); font-weight: 700; }
.nav-drawer .nav-drop-toggle .lucide, .nav-drawer .nav-drop-toggle svg { width: 16px; height: 16px; transition: transform .25s; }
.nav-drawer .nav-drop.open .nav-drop-toggle .lucide, .nav-drawer .nav-drop.open .nav-drop-toggle svg { transform: rotate(180deg); }

/* ---------- Hero ---------- */
.hero-swiper { position: relative; height: 640px; overflow: hidden; }
.hero-slide {
  position: relative;
  height: 640px;
  background-size: cover;
  background-position: center;
}
.hero-mask {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,27,48,.92) 0%, rgba(14,42,71,.72) 48%, rgba(14,42,71,.35) 100%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--c-accent);
  font-weight: 700;
  margin-bottom: 18px;
}
.hero-kicker::before { content: ''; width: 28px; height: 2px; background: var(--c-accent); }
.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  max-width: 720px;
  margin-bottom: 20px;
}
.hero-title .accent { color: var(--c-accent); }
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,.85);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-copy > * { opacity: 0; transform: translateY(28px); transition: all .8s cubic-bezier(.2,.7,.2,1); }
.swiper-slide-active .hero-copy > * { opacity: 1; transform: none; }
.swiper-slide-active .hero-copy > :nth-child(2) { transition-delay: .15s; }
.swiper-slide-active .hero-copy > :nth-child(3) { transition-delay: .3s; }
.swiper-slide-active .hero-copy > :nth-child(4) { transition-delay: .45s; }
.hero-swiper .swiper-pagination { bottom: 90px; z-index: 5; }
.hero-swiper .swiper-pagination-bullet { background: rgba(255,255,255,.5); }
.hero-swiper .swiper-pagination-bullet-active { background: var(--c-accent); }

/* Hero 数据条 */
.hero-stats {
  position: relative;
  z-index: 3;
  margin-top: -64px;
}
.stats-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.stat-item { padding: 28px 24px; text-align: center; }
.stat-num { font-size: 32px; font-weight: 700; color: var(--c-primary); }
.stat-num .unit { font-size: 16px; color: var(--c-accent); margin-left: 2px; }
.stat-label { font-size: 13px; color: var(--c-muted); margin-top: 4px; }

/* ---------- 服务卡片 ---------- */
.grid-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); border-color: rgba(23,182,196,.4); }
.service-thumb { aspect-ratio: 4/3; overflow: hidden; }
.service-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-thumb img { transform: scale(1.06); }
.service-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.service-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(23,182,196,.1);
  color: var(--c-accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.service-icon .lucide, .service-icon svg { width: 24px; height: 24px; }
.service-body h3 { font-size: 19px; color: var(--c-primary); margin-bottom: 10px; }
.service-body p { font-size: 14px; color: var(--c-muted); margin: 0 0 16px; flex: 1; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--c-accent);
}
.service-link .lucide, .service-link svg { width: 16px; height: 16px; transition: transform .25s; }
.service-card:hover .service-link .lucide, .service-card:hover .service-link svg { transform: translateX(4px); }

/* ---------- 案例卡片 ---------- */
.grid-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .3s ease;
}
.case-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }
.case-thumb { aspect-ratio: 16/10; overflow: hidden; }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.case-card:hover .case-thumb img { transform: scale(1.06); }
.case-body { padding: 22px; }
.case-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-accent);
  background: rgba(23,182,196,.1);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 12px;
}
.case-body h3 { font-size: 17px; color: var(--c-primary); margin-bottom: 8px; }
.case-body p { font-size: 14px; color: var(--c-muted); margin: 0; }

/* ---------- 新闻卡片 ---------- */
.grid-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .3s ease;
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }
.news-thumb { aspect-ratio: 16/9; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-thumb img { transform: scale(1.06); }
.news-body { padding: 22px; }
.news-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--c-muted); margin-bottom: 10px; }
.news-meta .cat { color: var(--c-accent); font-weight: 700; }
.news-body h3 { font-size: 17px; color: var(--c-primary); margin-bottom: 8px; }
.news-body p { font-size: 14px; color: var(--c-muted); margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }

/* 最新文章：純文字列表，三欄 */
.grid-news-text { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-text-item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 22px;
  transition: all .3s ease;
}
.news-text-item:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.news-text-item a { display: block; }
.news-text-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--c-muted); margin-bottom: 10px; }
.news-text-meta .cat { color: var(--c-accent); font-weight: 700; }
.news-text-item h3 { font-size: 16px; color: var(--c-primary); margin-bottom: 8px; line-height: 1.5; }
.news-text-item p { font-size: 14px; color: var(--c-muted); margin: 0; line-height: 1.6; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }

/* ---------- 筛选 Tabs ---------- */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-tabs button,
.filter-tabs a {
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s;
  background: #f1f5f8;
  color: var(--c-muted);
}
.filter-tabs a:hover { color: var(--c-primary); background: #e6edf3; }
.filter-tabs button.bg-accent,
.filter-tabs a.active { background: var(--c-accent) !important; color: #fff !important; border-color: var(--c-accent); }
.filter-tabs a.active:hover { background: var(--c-accent) !important; color: #fff !important; }

/* ---------- 关于 / 分栏 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-list { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.feature-list li { display: flex; gap: 14px; }
.feature-list .fi {
  flex: none;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(23,182,196,.1);
  color: var(--c-accent);
  display: flex; align-items: center; justify-content: center;
}
.feature-list .fi .lucide, .feature-list .fi svg { width: 18px; height: 18px; }
.feature-list h4 { font-size: 16px; color: var(--c-primary); margin-bottom: 2px; }
.feature-list p { font-size: 14px; color: var(--c-muted); margin: 0; }

/* ---------- 团队 ---------- */
.grid-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  padding-bottom: 22px;
  transition: all .3s;
}
.team-card:hover { box-shadow: var(--shadow-md); }
.team-avatar { aspect-ratio: 1/1; overflow: hidden; margin-bottom: 16px; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { font-size: 16px; color: var(--c-primary); }
.team-card .role { font-size: 13px; color: var(--c-accent); margin-top: 4px; }

/* ---------- 流程步骤 ---------- */
.grid-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.step-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 28px 22px;
  position: relative;
}
.step-num {
  font-size: 30px;
  font-weight: 700;
  color: rgba(23,182,196,.18);
  margin-bottom: 12px;
}
.step-card h4 { font-size: 16px; color: var(--c-primary); margin-bottom: 8px; }
.step-card p { font-size: 13px; color: var(--c-muted); margin: 0; }

/* ---------- 自研系統目錄 ---------- */
.grid-systems { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.sys-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 26px 22px; transition: all .3s ease;
  display: flex; flex-direction: column; gap: 12px;
}
.sys-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); border-color: rgba(23,182,196,.4); }
.sys-top { display: flex; align-items: center; gap: 14px; }
.sys-icon {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(23,182,196,.1); color: var(--c-accent);
  display: flex; align-items: center; justify-content: center;
}
.sys-icon .lucide, .sys-icon svg { width: 22px; height: 22px; }
.sys-num { font-size: 13px; font-weight: 700; color: var(--c-muted); margin-left: auto; }
.sys-card h3 { font-size: 16px; color: var(--c-primary); }
.sys-card p { font-size: 13px; color: var(--c-muted); margin: 0; line-height: 1.7; }
a.sys-card { text-decoration: none; color: inherit; }
.sys-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--c-accent); margin-top: 4px; }
.sys-link .lucide, .sys-link svg { width: 15px; height: 15px; transition: transform .25s; }
.sys-card:hover .sys-link .lucide, .sys-card:hover .sys-link svg { transform: translateX(4px); }

.grid-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.group-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 28px 24px; transition: all .3s ease;
}
.group-card:hover { box-shadow: var(--shadow-md); }
.group-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(14,42,71,.08); color: var(--c-primary);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.group-icon .lucide, .group-icon svg { width: 22px; height: 22px; }
.group-card h3 { font-size: 17px; color: var(--c-primary); margin-bottom: 8px; }
.group-card > p { font-size: 13px; color: var(--c-muted); margin: 0 0 16px; line-height: 1.7; }
.group-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.group-chips span {
  font-size: 12px; color: var(--c-primary); background: var(--c-bg);
  border-radius: 999px; padding: 5px 12px;
}

.grid-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---------- CTA 条 ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--c-primary) 0%, var(--c-primary-deep) 100%);
  border-radius: 18px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: 28px; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.8); margin: 0; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--c-primary-deep); color: rgba(255,255,255,.78); margin-top: 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 40px;
}
.f-logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; line-height: 1.15; }
.f-logo .logo-mark { background: linear-gradient(135deg, var(--c-accent), var(--c-accent2)); }
.f-logo .l1 { color: #fff; font-size: 17px; font-weight: 700; }
.f-logo .l2 { color: rgba(255,255,255,.5); font-size: 11px; letter-spacing: .18em; }
.f-col p { font-size: 14px; margin: 0 0 16px; }
.f-col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.f-col ul li { margin-bottom: 12px; }
.f-col ul a { font-size: 14px; transition: color .2s; }
.f-col ul a:hover { color: var(--c-accent); }
.f-social { display: flex; gap: 10px; margin-top: 18px; }
.f-social a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: all .2s;
}
.f-social a:hover { background: var(--c-accent); }
.f-social .lucide, .f-social svg { width: 18px; height: 18px; }
.f-contact-line { display: flex; gap: 10px; font-size: 14px; margin-bottom: 12px; align-items: flex-start; color: inherit; text-decoration: none; }
.f-contact-line:hover { color: var(--c-accent); }
.f-contact-line .lucide, .f-contact-line svg { width: 17px; height: 17px; color: var(--c-accent); flex: none; margin-top: 3px; }
.f-subscribe { display: flex; gap: 8px; margin-top: 16px; }
.f-subscribe input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 14px;
  outline: none;
}
.f-subscribe input::placeholder { color: rgba(255,255,255,.45); }
.f-subscribe button { padding: 11px 18px; border-radius: var(--radius); }
.f-sub-note { font-size: 12px; color: rgba(255,255,255,.45); margin-top: 10px; }
.f-wechat { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 18px; }
.f-wechat-qr { display: block; width: 104px; height: 104px; padding: 3px; background: #fff; border-radius: 4px; object-fit: contain; }
.f-wechat-label { font-size: 12px; color: rgba(255,255,255,.72); letter-spacing: .5px; }
.footer-bar {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}

/* ---------- 友情链接（仅首页桌面端） ---------- */
.friend-links { border-top: 1px solid var(--c-line); padding: 22px 0; }
.friend-links .container { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.friend-links h4 { font-size: 13px; font-weight: 600; color: var(--c-muted); margin: 0; white-space: nowrap; }
.friend-links ul { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }
.friend-links a { font-size: 13px; color: var(--c-muted); }
.friend-links a:hover { color: var(--c-accent); }

/* ---------- 内页头图 ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--c-primary) 0%, var(--c-primary-deep) 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: #fff; font-size: 36px; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 620px; margin: 0; }
.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-bottom: 16px;
}
.breadcrumb a:hover { color: var(--c-accent); }
.breadcrumb span { margin: 0 8px; opacity: .5; }

/* ---------- 详情页 ---------- */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 80px;
}
.detail-main { min-width: 0; }
.detail-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(23,182,196,.1); color: var(--c-accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.detail-icon .lucide, .detail-icon svg { width: 26px; height: 26px; }
.detail-main h1 { font-size: 30px; color: var(--c-primary); margin-bottom: 12px; }
.detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: 13px; color: var(--c-muted); margin-bottom: 24px; }
.detail-meta span { display: inline-flex; align-items: center; gap: 6px; }
.detail-meta svg { flex: none; }
.detail-hero { border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
.detail-hero img { width: 100%; height: auto; }
.detail-body { color: #64748B; }
.detail-body h2 { font-size: 20px; color: var(--c-primary); margin: 28px 0 14px; }
.detail-body h1, .detail-body h2, .detail-body h3, .detail-body h4, .detail-body h5, .detail-body h6 {
  color: #0F172A; font-weight: 700; line-height: 1.4;
}
.detail-body h3 { font-size: 17px; margin: 24px 0 12px; }
.detail-body h4 { font-size: 16px; margin: 20px 0 10px; }
.detail-body h5, .detail-body h6 { font-size: 15px; margin: 18px 0 8px; }
.detail-body p { margin: 0 0 16px; font-size: 15px; color: #64748B; }
.detail-body p strong, .detail-body li strong { color: #1F2D3D; }
.detail-body ul { margin: 0 0 16px 0; padding-left: 20px; }
.detail-body ul li { list-style: disc; margin-bottom: 8px; font-size: 15px; }
.detail-body ol { margin: 0 0 16px 0; padding-left: 24px; list-style: decimal; }
.detail-body ol li { list-style: decimal; margin-bottom: 8px; font-size: 15px; }
.detail-body ol ol { list-style: lower-alpha; padding-left: 24px; }
.detail-body ul ul, .detail-body ol ul { list-style: circle; padding-left: 24px; }
.detail-body table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 14px; }
.detail-body th, .detail-body td { border: 1px solid var(--c-line); padding: 10px 14px; text-align: left; }
.detail-body th { background: var(--c-bg); color: var(--c-primary); }
.detail-body img { border-radius: var(--radius); margin: 12px 0; display: block; max-width: 100%; height: auto; margin-left: auto; margin-right: auto; }
/* ---------- 列表分页 ---------- */
.list-pager { display: flex; justify-content: center; margin-top: 40px; }
.list-pager .pagination {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.list-pager .pagination li { margin: 0; }
.list-pager .pagination li > a,
.list-pager .pagination li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  transition: all .2s ease;
}
.list-pager .pagination li > a:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
  box-shadow: var(--shadow-sm);
}
.list-pager .pagination li.active > span {
  border-color: var(--c-accent);
  background: var(--c-accent);
  color: #fff;
  font-weight: 700;
}
.list-pager .pagination li.disabled > span {
  color: #b7c2cd;
  background: var(--c-bg);
  cursor: not-allowed;
}

.detail-pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
}
.detail-pager a {
  font-size: 14px;
  color: var(--c-muted);
  max-width: 45%;
}
.detail-pager a:hover { color: var(--c-accent); }
.detail-pager a.next { text-align: right; margin-left: auto; }
.detail-aside { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.aside-box {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 24px;
}
.aside-box h4 { font-size: 16px; color: var(--c-primary); margin-bottom: 16px; }
.aside-rec { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--c-line); }
.aside-rec:first-of-type { border-top: none; padding-top: 0; }
.aside-rec img { width: 84px; height: 64px; object-fit: cover; border-radius: 8px; flex: none; }
.aside-rec-icon {
  width: 84px; height: 64px; border-radius: 8px; flex: none;
  background: var(--c-bg); color: var(--c-accent);
  display: flex; align-items: center; justify-content: center;
}
.aside-rec-icon .lucide, .aside-rec-icon svg { width: 24px; height: 24px; }
.aside-rec h5 { font-size: 14px; color: var(--c-text); line-height: 1.4; }
.aside-rec h5:hover { color: var(--c-accent); }
.aside-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.aside-tags span,
.aside-tags a {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--c-bg);
  color: var(--c-muted);
  transition: background .2s, color .2s;
}
.aside-tags a:hover { background: rgba(23,182,196,.12); color: var(--c-accent); }

/* ---------- 侧栏服务清单 ---------- */
.aside-service-list { display: flex; flex-direction: column; }
.aside-service {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0; border-top: 1px solid var(--c-line);
}
.aside-service:first-child { border-top: none; padding-top: 0; }
.aside-service:last-child { padding-bottom: 0; }
.aside-service-icon {
  width: 36px; height: 36px; flex: none; border-radius: 9px;
  background: rgba(23,182,196,.12); color: var(--c-accent);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.aside-service-icon .lucide, .aside-service-icon svg { width: 18px; height: 18px; }
.aside-service-text { min-width: 0; display: block; }
.aside-service-text strong {
  display: block; font-size: 14px; font-weight: 600; line-height: 1.4;
  color: var(--c-text); transition: color .2s;
}
.aside-service-text small {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; margin-top: 3px;
  font-size: 12px; line-height: 1.5; color: var(--c-muted);
}
.aside-service:hover .aside-service-icon { background: var(--c-accent); color: #fff; }
.aside-service:hover .aside-service-text strong { color: var(--c-accent); }

/* ---------- 全部標籤雲 ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.tag-cloud-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--c-line);
  font-size: 14px; color: var(--c-text);
  transition: border-color .2s, color .2s, background .2s;
}
.tag-cloud-chip:hover { border-color: var(--c-accent); color: var(--c-accent); }
.tag-cloud-chip .count {
  font-size: 12px; color: var(--c-muted);
  background: var(--c-bg); border-radius: 999px; padding: 2px 9px;
}
.tag-cloud-chip:hover .count { color: var(--c-accent); background: rgba(23,182,196,.12); }

.tag-empty { text-align: center; padding: 72px 0; }
.tag-empty p { color: var(--c-muted); margin-bottom: 20px; }
.aside-cta { background: var(--c-primary); border-radius: var(--radius); padding: 26px; }
.aside-cta h4 { color: #fff; }
.aside-cta p { font-size: 13px; color: rgba(255,255,255,.75); margin: 0 0 16px; }

/* ---------- 联系页 ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; padding-top: 56px; padding-bottom: 80px; }
.contact-info-card { display: flex; flex-direction: column; gap: 22px; }
.contact-line { display: flex; gap: 16px; }
.contact-line .ci {
  flex: none; width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(23,182,196,.1);
  color: var(--c-accent);
  display: flex; align-items: center; justify-content: center;
}
.contact-line .ci .lucide, .contact-line .ci svg { width: 20px; height: 20px; }
.contact-line h4 { font-size: 15px; color: var(--c-primary); margin-bottom: 2px; }
.contact-line p { font-size: 14px; color: var(--c-muted); margin: 0; }
.contact-line p a { color: var(--c-primary); text-decoration: none; }
.contact-line p a:hover { color: var(--c-accent); }
.form-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 14px; font-weight: 700; color: var(--c-primary); }
.form-field input, .form-field select, .form-field textarea {
  padding: 12px 14px;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  background: #fff;
  color: var(--c-text);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--c-accent); }
.form-field textarea { resize: vertical; min-height: 120px; }

/* ---------- 时间线（关于页） ---------- */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 6px; bottom: 6px;
  width: 2px; background: var(--c-line);
}
.timeline-item { position: relative; padding-bottom: 32px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -26px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--c-accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--c-accent);
}
.timeline-item .year { font-size: 15px; font-weight: 700; color: var(--c-accent); }
.timeline-item h4 { font-size: 16px; color: var(--c-primary); margin: 4px 0; }
.timeline-item p { font-size: 14px; color: var(--c-muted); margin: 0; }

/* ---------- 资质徽章 ---------- */
.badge-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.badge-card {
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
}
.badge-card .lucide, .badge-card svg { width: 30px; height: 30px; color: var(--c-accent); margin-bottom: 12px; }
.badge-card h4 { font-size: 15px; color: var(--c-primary); }
.badge-card p { font-size: 13px; color: var(--c-muted); margin: 4px 0 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-services, .grid-cases, .grid-news, .grid-news-text { grid-template-columns: repeat(2, 1fr); }
  .grid-systems, .grid-groups, .grid-flow { grid-template-columns: repeat(2, 1fr); }
  .grid-team { grid-template-columns: repeat(2, 1fr); }
  .grid-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .nav-phone { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .sec-title { font-size: 26px; }
  .hero-swiper, .hero-slide { height: 520px; }
  .hero-title { font-size: 32px; }
  .hero-sub { font-size: 15px; }
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .stats-card { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .grid-services, .grid-cases, .grid-news, .grid-news-text { grid-template-columns: 1fr; }
  .grid-systems, .grid-groups, .grid-flow { grid-template-columns: 1fr; }
  .grid-team, .grid-steps, .badge-row { grid-template-columns: repeat(2, 1fr); }
  .cta-band { padding: 36px 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-hero { padding: 48px 0; }
  .page-hero h1 { font-size: 28px; }
  #fs-root { display: none !important; }
  .friend-links { display: none !important; }
}

@media (max-width: 480px) {
  .grid-team, .grid-steps, .badge-row { grid-template-columns: 1fr; }
  .stat-item { padding: 20px 12px; }
  .detail-pager { flex-direction: column; }
  .detail-pager a.next { text-align: left; margin-left: 0; }
}

/* ---------- 悬浮客服（自包含样式，不依赖 Tailwind 子集） ---------- */
#fs-root {
  position: fixed;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
#fs-root [data-fs] {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #fff;
  background: var(--c-primary);
  box-shadow: var(--shadow-md);
  transition: all .2s ease;
}
#fs-root [data-fs="chat"] {
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent2));
}
#fs-root [data-fs]:hover { transform: translateY(-2px); }
#fs-root [data-fs] .lucide, #fs-root [data-fs] svg { width: 20px; height: 20px; }
#fs-root [data-fs] span { font-size: 11px; line-height: 1; }

.fs-chat {
  position: fixed;
  right: 12px;
  bottom: 12px;
  width: min(320px, calc(100% - 24px));
  height: 420px;
  max-height: 80vh;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.fs-chat [data-msgs] {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  background: var(--c-bg);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fs-chat [data-msgs] .flex { display: flex; }
.fs-chat [data-msgs] .flex > div { max-width: 80%; }
.fs-chat [data-quick] {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 12px;
  border-top: 1px solid var(--c-line);
}
.fs-chat [data-quick] button {
  font-size: 12px;
  padding: 6px 10px;
  border: none;
  border-radius: 6px;
  background: var(--c-bg);
  color: var(--c-primary);
  cursor: pointer;
}
.fs-chat [data-quick] button:hover { background: rgba(23,182,196,.18); }
.fs-chat [data-form] {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--c-line);
}
.fs-chat [data-input] {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--c-line);
  border-radius: 6px;
  outline: none;
  font-family: inherit;
  font-size: 14px;
}
.fs-chat [data-form] button {
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent2));
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
}
.fs-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.6);
  padding: 12px;
}
.fs-overlay > div {
  position: relative;
  width: 256px;
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  #fs-root { top: auto; bottom: 16px; transform: none; }
}
