/* ============================================
   中创众投 企业孵化一站式服务平台 - 设计系统
   配色: 深蓝主色 + 橙金强调
   ============================================ */

:root {
  /* 品牌色 - 默认值，会被 layout/front.php 中的动态主题覆盖 */
  --c-primary: #0B2447;
  --c-primary-dark: #061635;
  --c-primary-light: #19376D;
  --c-primary-soft: #576CBC;
  --c-accent: #FF8C42;
  --c-accent-dark: #F47B2C;
  --c-accent-light: #FFA66B;
  --c-accent-soft: #FFF1E6;

  /* 中性色 */
  --c-bg: #F8FAFC;
  --c-bg-alt: #F1F5F9;
  --c-surface: #FFFFFF;
  --c-text: #1A1A2E;
  --c-text-muted: #64748B;
  --c-text-light: #94A3B8;
  --c-border: #E2E8F0;
  --c-border-light: #F1F5F9;

  /* 功能色 */
  --c-success: #10B981;
  --c-danger: #EF4444;
  --c-warning: #F59E0B;
  --c-info: #3B82F6;

  /* 阴影 */
  --shadow-xs: 0 1px 2px rgba(11, 36, 71, 0.04);
  --shadow-sm: 0 2px 8px rgba(11, 36, 71, 0.06);
  --shadow-md: 0 6px 20px rgba(11, 36, 71, 0.08);
  --shadow-lg: 0 14px 40px rgba(11, 36, 71, 0.12);
  --shadow-accent: 0 8px 24px rgba(255, 140, 66, 0.3);

  /* 圆角 */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 999px;

  /* 间距 */
  --container: 1200px;
  --header-h: 72px;

  /* 字体 */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-accent); }

img { max-width: 100%; display: block; }

ul, ol { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* ===== 容器 ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-dark));
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 140, 66, 0.4);
}
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-dark {
  background: var(--c-primary);
  color: #fff;
}
.btn-dark:hover { background: var(--c-primary-light); color: #fff; }
.btn-ghost {
  background: var(--c-accent-soft);
  color: var(--c-accent-dark);
}
.btn-ghost:hover { background: var(--c-accent); color: #fff; }
.btn-lg { padding: 15px 36px; font-size: 16px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ===== 顶部公告条 ===== */
.topbar {
  background: var(--c-primary-dark);
  color: rgba(255,255,255,.85);
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar .tb-info { display: flex; gap: 24px; }
.topbar .tb-info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar .tb-links { display: flex; gap: 18px; }
.topbar .tb-links a:hover { color: var(--c-accent); }
.topbar svg { width: 14px; height: 14px; }

/* ===== 导航栏 ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: var(--shadow-md); }
.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 20px;
  letter-spacing: -1px;
  box-shadow: var(--shadow-sm);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { font-size: 19px; color: var(--c-primary); letter-spacing: -.5px; }
.logo-text small { font-size: 11px; color: var(--c-text-muted); }

.nav-menu { display: flex; gap: 2px; align-items: center; flex-wrap: nowrap; min-width: 0; flex: 1; justify-content: center; }
.nav-search-item { display: none; list-style: none; }
.nav-extra { display: none; }
.nav-menu > li > a {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 10px;
  border-radius: var(--radius);
  font-size: 14px; font-weight: 500;
  color: var(--c-text);
  position: relative;
  white-space: nowrap;
}
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--c-primary); background: var(--c-bg-alt); }
.nav-menu > li > a .caret { width: 10px; height: 10px; transition: transform .2s; }
.has-dropdown:hover > a .caret { transform: rotate(180deg); }
/* 下拉锚定到按钮所在的 li，弹窗紧挨按钮下方显示 */
.nav-menu > li.has-dropdown { position: relative; }

/* 下拉菜单 */
.dropdown {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 560px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-border-light);
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  opacity: 0; visibility: hidden;
  transition: all .2s;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a {
  display: flex; flex-direction: column;
  padding: 10px 12px;
  border-radius: var(--radius);
}
.dropdown a:hover { background: var(--c-bg-alt); }
.dropdown a strong { font-size: 14px; color: var(--c-text); }
.dropdown a small { font-size: 12px; color: var(--c-text-muted); margin-top: 2px; }

/* 「更多」小下拉（左对齐、紧挨按钮正下方） */
.dropdown.dropdown-sm {
  min-width: 150px;
  grid-template-columns: 1fr;
  padding: 10px;
  left: 0;
  right: auto;
  transform: translateY(8px);
}
.dropdown.dropdown-sm a { padding: 10px 14px; }
.has-dropdown:hover .dropdown.dropdown-sm { transform: translateY(0); }

.nav-cta { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }
.nav-cta-search { display: flex; gap: 6px; margin-right: 6px; flex-shrink: 0; align-items: center; }
.nav-phone {
  display: flex; align-items: center; gap: 6px;
  font-weight: 700; color: var(--c-primary);
  font-size: 15px;
  white-space: nowrap;
}
.nav-phone svg { width: 16px; height: 16px; color: var(--c-accent); flex-shrink: 0; }

.menu-toggle { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--c-primary); background: none; border: none; cursor: pointer; flex-shrink: 0; }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--c-primary-dark) 0%, var(--c-primary) 50%, var(--c-primary-light) 100%);
  color: #fff;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,140,66,.25), transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -300px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(87,108,188,.3), transparent 70%);
  border-radius: 50%;
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 13px; color: rgba(255,255,255,.9);
  margin-bottom: 24px;
}
.hero-badge .dot { width: 8px; height: 8px; background: var(--c-accent); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.hero h1 {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero h1 .grad {
  background: linear-gradient(90deg, var(--c-accent-light), var(--c-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p.lead {
  font-size: 18px;
  color: rgba(255,255,255,.8);
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; margin-bottom: 40px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-trust .t-item { display: flex; flex-direction: column; }
.hero-trust .t-num { font-size: 28px; font-weight: 800; color: var(--c-accent-light); }
.hero-trust .t-label { font-size: 13px; color: rgba(255,255,255,.65); }

/* Hero 卡片表单 */
.hero-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  color: var(--c-text);
}
.hero-card h3 { font-size: 20px; margin-bottom: 6px; color: var(--c-primary); }
.hero-card .sub { font-size: 13px; color: var(--c-text-muted); margin-bottom: 22px; }
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--c-text); }
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  font-size: 14px;
  background: var(--c-bg);
  transition: all .2s;
  color: var(--c-text);
}
.form-control:focus {
  outline: none;
  border-color: var(--c-accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,140,66,.12);
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-card .btn { width: 100%; margin-top: 6px; }
.hero-card .note { font-size: 12px; color: var(--c-text-light); margin-top: 12px; text-align: center; }

/* ===== 通用区块 ===== */
.section { padding: 80px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--c-accent-soft);
  color: var(--c-accent-dark);
  border-radius: var(--radius-full);
  font-size: 13px; font-weight: 600;
  margin-bottom: 16px;
}
.section h2 {
  font-size: 36px; font-weight: 800; color: var(--c-primary);
  letter-spacing: -.5px; margin-bottom: 14px;
}
.section-desc { font-size: 16px; color: var(--c-text-muted); }

.bg-alt { background: var(--c-bg-alt); }
.bg-dark { background: var(--c-primary); color: #fff; }
.bg-dark h2, .bg-dark .section-tag { color: #fff; }

/* ===== 五大业务线 ===== */
.biz-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.biz-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--c-border-light);
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.biz-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--c-accent);
  transform: scaleX(0);
  transition: transform .3s;
}
.biz-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.biz-card:hover::before { transform: scaleX(1); }
.biz-icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-accent-soft);
  color: var(--c-accent-dark);
}
.biz-icon svg { width: 32px; height: 32px; }
.biz-card h3 { font-size: 18px; color: var(--c-primary); margin-bottom: 8px; }
.biz-card p { font-size: 13px; color: var(--c-text-muted); }
.biz-card .count {
  display: inline-block; margin-top: 14px;
  font-size: 12px; color: var(--c-accent-dark);
  background: var(--c-accent-soft);
  padding: 3px 12px; border-radius: var(--radius-full);
}

/* ===== 服务卡片网格 ===== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--c-border-light);
  transition: all .3s;
  display: flex; flex-direction: column;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--c-accent-light); }
.svc-card .ic {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--c-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.svc-card .ic svg { width: 24px; height: 24px; }
.svc-card h4 { font-size: 18px; color: var(--c-primary); margin-bottom: 8px; }
.svc-card .desc { font-size: 14px; color: var(--c-text-muted); margin-bottom: 14px; flex: 1; }
.svc-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.svc-card .tag {
  font-size: 12px;
  padding: 3px 10px;
  background: var(--c-bg-alt);
  color: var(--c-text-muted);
  border-radius: var(--radius-full);
}
.svc-card .more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600;
  color: var(--c-accent-dark);
}
.svc-card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.svc-card:hover .more svg { transform: translateX(4px); }

/* ===== 数据统计带 ===== */
.stats-band {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.stats-band::after {
  content: "";
  position: absolute; top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,140,66,.3), transparent 70%);
  border-radius: 50%;
}
.stat-item { text-align: center; position: relative; z-index: 1; }
.stat-item .num { font-size: 42px; font-weight: 800; color: var(--c-accent-light); line-height: 1; }
.stat-item .num small { font-size: 20px; }
.stat-item .label { font-size: 15px; color: rgba(255,255,255,.75); margin-top: 10px; }

/* ===== 服务流程 ===== */
.flow { display: flex; justify-content: space-between; position: relative; }
.flow::before {
  content: "";
  position: absolute; top: 32px; left: 8%; right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--c-accent) 0, var(--c-accent) 8px, transparent 8px, transparent 16px);
}
.flow-step { flex: 1; text-align: center; position: relative; z-index: 1; }
.flow-step .step-num {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--c-accent);
  color: var(--c-accent-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800;
  box-shadow: var(--shadow-sm);
}
.flow-step h5 { font-size: 16px; color: var(--c-primary); margin-bottom: 6px; }
.flow-step p { font-size: 13px; color: var(--c-text-muted); padding: 0 8px; }

/* ===== 顾问团队 ===== */
.consult-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.consult-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--c-border-light);
  transition: all .3s;
}
.consult-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.consult-avatar {
  width: 80px; height: 80px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 700;
}
.consult-card h5 { font-size: 17px; color: var(--c-primary); margin-bottom: 4px; }
.consult-card .title { font-size: 13px; color: var(--c-accent-dark); font-weight: 600; margin-bottom: 10px; }
.consult-card .bio { font-size: 12px; color: var(--c-text-muted); margin-bottom: 16px; min-height: 34px; }
.consult-card .btn { width: 100%; }

/* ===== 优势特色 ===== */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.adv-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--c-border-light);
  transition: all .3s;
}
.adv-card:hover { box-shadow: var(--shadow-md); }
.adv-card .big {
  font-size: 56px; font-weight: 800;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 12px;
}
.adv-card h5 { font-size: 18px; color: var(--c-primary); margin-bottom: 8px; }
.adv-card p { font-size: 13px; color: var(--c-text-muted); }

/* ===== 案例对比表 ===== */
.case-table {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.case-table table { width: 100%; border-collapse: collapse; }
.case-table th, .case-table td { padding: 18px 20px; text-align: center; font-size: 14px; }
.case-table thead { background: var(--c-primary); color: #fff; }
.case-table th { font-weight: 600; }
.case-table tbody tr { border-bottom: 1px solid var(--c-border-light); }
.case-table tbody tr:last-child { border-bottom: none; }
.case-table .highlight { background: var(--c-accent-soft); color: var(--c-accent-dark); font-weight: 700; }
.case-table .save { color: var(--c-success); font-weight: 700; }

/* ===== CTA 区块 ===== */
.cta-band {
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-dark));
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; top: -100px; right: 10%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,.15), transparent 70%);
  border-radius: 50%;
}
.cta-band h3 { font-size: 28px; font-weight: 800; margin-bottom: 10px; }
.cta-band p { font-size: 16px; opacity: .9; }
.cta-band .btn-white {
  background: #fff;
  color: var(--c-accent-dark);
  flex-shrink: 0;
}
.cta-band .btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ===== Footer ===== */
.footer {
  background: var(--c-primary-dark);
  color: rgba(255,255,255,.7);
  padding: 64px 0 0;
}

/* ===== 页脚网格排版 ===== */
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 24px; height: 3px;
  border-radius: 2px;
  background: var(--c-accent);
}
.footer-col > a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.65);
  padding: 6px 0;
  transition: color .2s, transform .2s, padding-left .2s;
}
.footer-col > a:hover {
  color: #fff;
  padding-left: 6px;
}
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo strong { display: block; color: #fff; font-size: 18px; letter-spacing: -.3px; }
.footer-logo small { display: block; color: rgba(255,255,255,.45); font-size: 11px; margin-top: 2px; }
.footer-intro {
  color: rgba(255,255,255,.5);
  font-size: 13px;
  line-height: 1.9;
  margin-top: 16px;
  max-width: 300px;
}
.footer-contact-col .fc-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,.65);
  margin-bottom: 14px;
  line-height: 1.6;
}
.footer-contact-col .fc-ico { flex-shrink: 0; font-size: 15px; filter: grayscale(.2); }
.footer-contact-col .fc-item a { color: rgba(255,255,255,.65); transition: color .2s; }
.footer-contact-col .fc-item a:hover { color: #fff; }
.footer-qr { text-align: center; }
.footer-qr .qr-box {
  width: 110px; height: 110px;
  background: #fff;
  border-radius: var(--radius);
  margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center;
}
.footer-qr .qr-box svg { width: 90px; height: 90px; }
.footer-qr p { font-size: 12px; }

.footer-bottom {
  display: flex; justify-content: center; align-items: center;
  padding: 22px 0; font-size: 13px;
  color: rgba(255,255,255,.45);
}
.footer-bottom .links { display: flex; gap: 18px; }
.footer-bottom a:hover { color: var(--c-accent); }

/* ===== 浮动客服 ===== */
.float-service {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-primary);
  transition: all .2s;
  position: relative;
}
.float-btn:hover { background: var(--c-accent); color: #fff; transform: scale(1.08); }
.float-btn svg { width: 24px; height: 24px; }
.float-btn.primary { background: var(--c-accent); color: #fff; }
.float-btn .tip {
  position: absolute; right: 62px;
  background: var(--c-primary);
  color: #fff;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: var(--radius);
  white-space: nowrap;
  opacity: 0; visibility: hidden;
  transform: translateX(8px);
  transition: all .2s;
}
.float-btn:hover .tip { opacity: 1; visibility: visible; transform: translateX(0); }

/* ===== 通用工具 ===== */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.section-tabs {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; flex-wrap: wrap;
}
.section-tabs .tab {
  padding: 9px 22px;
  border-radius: var(--radius-full);
  font-size: 14px; font-weight: 600;
  color: var(--c-text-muted);
  background: #fff;
  border: 1px solid var(--c-border);
  cursor: pointer;
  transition: all .2s;
}
.section-tabs .tab.active, .section-tabs .tab:hover {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}

/* ===== 面包屑 ===== */
.breadcrumb-bar {
  background: var(--c-primary);
  color: rgba(255,255,255,.85);
  padding: 28px 0;
}
.breadcrumb-bar .container { display: flex; justify-content: space-between; align-items: center; }
.breadcrumb-bar h1 { font-size: 26px; color: #fff; font-weight: 700; }
.breadcrumb { display: flex; gap: 8px; font-size: 14px; }
.breadcrumb a:hover { color: var(--c-accent); }
.breadcrumb .sep { color: rgba(255,255,255,.4); }

/* ===== 详情页 ===== */
.detail-layout { padding: 60px 0; }
.detail-layout .container { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.detail-main { background: #fff; border-radius: var(--radius-md); padding: 40px; box-shadow: var(--shadow-sm); }
.detail-main h2 { font-size: 24px; color: var(--c-primary); margin: 32px 0 16px; padding-bottom: 12px; border-bottom: 2px solid var(--c-accent-soft); display: inline-block; }
.detail-main h2:first-child { margin-top: 0; }
.detail-main h3 { font-size: 18px; color: var(--c-primary); margin: 24px 0 10px; }
.detail-main p { font-size: 15px; color: var(--c-text); margin-bottom: 14px; line-height: 1.85; }
.detail-main ul.check-list { margin: 16px 0; }
.detail-main ul.check-list li {
  padding-left: 28px; position: relative; margin-bottom: 10px; font-size: 15px;
}
.detail-main ul.check-list li::before {
  content: "✓"; position: absolute; left: 0;
  width: 20px; height: 20px;
  background: var(--c-success); color: #fff;
  border-radius: 50%; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}
.detail-side { position: sticky; top: calc(var(--header-h) + 20px); }
.side-card { background: #fff; border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.side-card h4 { font-size: 17px; color: var(--c-primary); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--c-border-light); }
.side-card .quick-form .form-control { margin-bottom: 10px; }
.side-hot li { padding: 12px 0; border-bottom: 1px solid var(--c-border-light); display: flex; gap: 10px; }
.side-hot li:last-child { border-bottom: none; }
.side-hot .rank { width: 22px; height: 22px; border-radius: 6px; background: var(--c-bg-alt); color: var(--c-text-muted); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.side-hot li:nth-child(1) .rank, .side-hot li:nth-child(2) .rank, .side-hot li:nth-child(3) .rank { background: var(--c-accent); color: #fff; }
.side-hot a { font-size: 14px; line-height: 1.5; }
.side-hot a:hover { color: var(--c-accent-dark); }

/* ===== 关于我们页 ===== */
.about-hero { background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary-light)); color: #fff; padding: 70px 0; text-align: center; }
.about-hero h1 { font-size: 40px; margin-bottom: 16px; }
.about-hero p { font-size: 17px; opacity: .85; max-width: 680px; margin: 0 auto; }
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 30px; top: 0; bottom: 0; width: 2px; background: var(--c-border); }
.timeline-item { position: relative; padding-left: 80px; margin-bottom: 36px; }
.timeline-item::before { content: ""; position: absolute; left: 22px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--c-accent); border: 4px solid #fff; box-shadow: 0 0 0 2px var(--c-accent); }
.timeline-item .year { font-size: 22px; font-weight: 800; color: var(--c-accent-dark); }
.timeline-item h5 { font-size: 17px; color: var(--c-primary); margin: 4px 0 6px; }
.timeline-item p { font-size: 14px; color: var(--c-text-muted); }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { text-align: center; padding: 36px 24px; background: #fff; border-radius: var(--radius-md); border: 1px solid var(--c-border-light); }
.value-card .ic { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 14px; background: var(--c-accent-soft); color: var(--c-accent-dark); display: flex; align-items: center; justify-content: center; }
.value-card .ic svg { width: 28px; height: 28px; }
.value-card h5 { font-size: 18px; color: var(--c-primary); margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--c-text-muted); }

/* ===== 联系我们页 ===== */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info-card { background: var(--c-primary); color: #fff; border-radius: var(--radius-lg); padding: 40px; }
.contact-info-card h3 { font-size: 24px; margin-bottom: 24px; }
.contact-info-card .ci-item { display: flex; gap: 14px; margin-bottom: 24px; }
.contact-info-card .ci-item .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-card .ci-item .ic svg { width: 22px; height: 22px; color: var(--c-accent-light); }
.contact-info-card .ci-item h6 { font-size: 14px; opacity: .7; margin-bottom: 4px; }
.contact-info-card .ci-item p { font-size: 16px; font-weight: 600; }
.contact-form-card { background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }

/* ===== 动画 ===== */
@keyframes fadeUp { from { transform: translateY(24px); } to { transform: translateY(0); } }
.reveal { opacity: 1; }
.reveal.in { animation: fadeUp .7s cubic-bezier(.16,1,.3,1); }

/* ===== 业务领域分类总览页 ===== */
.svc-cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.svc-cat-card {
  display: flex; align-items: flex-start; gap: 24px;
  background: #fff;
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-md);
  padding: 36px;
  transition: all .3s cubic-bezier(.4,0,.2,1);
}
.svc-cat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.svc-cat-icon {
  width: 72px; height: 72px; flex-shrink: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.svc-cat-icon svg { width: 34px; height: 34px; }
.svc-cat-body { flex: 1; min-width: 0; }
.svc-cat-body h3 { font-size: 22px; color: var(--c-primary); margin-bottom: 6px; }
.svc-cat-label { font-size: 14px; color: var(--c-text-muted); margin-bottom: 10px; }
.svc-cat-desc { font-size: 14px; color: var(--c-text-muted); line-height: 1.7; margin-bottom: 16px; }
.svc-cat-count {
  display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 600;
  color: var(--c-accent-dark);
  background: var(--c-accent-soft);
  padding: 5px 14px;
  border-radius: var(--radius-full);
}

/* ===== 服务详情页内容 ===== */
.svc-detail { font-size: 15px; line-height: 1.85; color: #3a4256; }
.svc-section { margin-bottom: 36px; }
.svc-h2 { font-size: 22px; color: var(--c-primary); margin-bottom: 18px; padding-left: 14px; border-left: 4px solid var(--c-accent-dark); line-height: 1.4; }
.svc-p { margin-bottom: 14px; color: #5b6478; }
.svc-list { list-style: none; padding: 0; }
.svc-list li { padding: 10px 0 10px 28px; position: relative; border-bottom: 1px dashed #eef0f5; color: #3a4256; }
.svc-list li::before { content: '✓'; position: absolute; left: 0; top: 10px; color: var(--c-accent-dark); font-weight: 700; font-size: 14px; }
.svc-adv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.svc-adv-item { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: linear-gradient(135deg,#f8f9fc,#fff); border-radius: 12px; border: 1px solid #eef0f5; }
.svc-adv-num { font-size: 24px; font-weight: 800; color: var(--c-accent); flex-shrink: 0; }
.svc-flow { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.svc-flow-step { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 100px; }
.svc-flow-num { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg,var(--c-accent),var(--c-accent-dark)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.svc-flow-txt { font-size: 13px; color: #3a4256; text-align: center; }
.svc-flow-arrow { color: #c0c8d8; font-size: 18px; }
.svc-cta { background: linear-gradient(135deg,#FFF7E6,#fff); border-radius: 14px; padding: 28px; text-align: center; border: 1px solid #FFE7C2; }
.svc-cta h3 { font-size: 18px; color: var(--c-primary); margin-bottom: 8px; }
.svc-cta p { color: #8a93a6; font-size: 14px; }

/* ===== 服务详情页：结构化纯文本渲染 ===== */
.detail-structured { color: #3a4256; line-height: 1.8; }
.ds-section { margin-bottom: 48px; }
.ds-title {
  font-size: 22px; font-weight: 700; color: var(--c-primary);
  margin-bottom: 20px; padding-left: 16px; position: relative;
}
.ds-title::before {
  content: '';
  position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 4px; border-radius: 2px;
  background: linear-gradient(180deg, var(--c-accent), var(--c-accent-dark));
}
.ds-text { margin-bottom: 14px; color: #5b6478; font-size: 15px; }
.ds-feature-list { list-style: none; padding: 0; margin: 0; }
.ds-feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid #f0f2f7;
  font-size: 15px; color: #3a4256;
}
.ds-feature-list li:last-child { border-bottom: none; }
.ds-check {
  width: 22px; height: 22px; flex-shrink: 0;
  border-radius: 50%; background: linear-gradient(135deg, var(--c-accent), var(--c-accent-dark));
  color: #fff; font-size: 13px; display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.ds-advantage-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.ds-advantage-card {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid #f0f2f7; border-radius: 12px;
  padding: 22px 20px; box-shadow: 0 4px 14px rgba(11,36,71,.04);
}
.ds-adv-num {
  font-size: 32px; font-weight: 800; color: var(--c-accent);
  line-height: 1; min-width: 44px;
}
.ds-adv-text { font-size: 15px; color: #3a4256; font-weight: 500; }
.ds-flow {
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px;
}
.ds-flow-item {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  min-width: 90px; flex: 1; max-width: 120px;
}
.ds-flow-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-dark));
  color: #fff; font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.ds-flow-text { font-size: 14px; color: #5b6478; line-height: 1.4; }
.ds-flow-arrow {
  color: #c2c8d4; font-size: 20px; font-weight: 700;
  align-self: flex-start; margin-top: 10px;
}

/* ===== 响应式 ===== */

/* ---- 中屏（<=1280px）：轻度压缩，导航已精简为 5 项 + 更多 ---- */
@media (max-width: 1280px) {
  .nav-menu > li > a { padding: 8px 9px; }
  .nav-cta .nav-cta-search input { width: 96px; }
  .nav-cta .nav-cta-search { margin-right: 2px; }
}

/* ---- 中小屏（<=1120px）：进一步压缩 ---- */
@media (max-width: 1120px) {
  .nav-menu > li > a { padding: 7px 6px; font-size: 13px; }
  .nav-menu { gap: 0; }
  .nav-cta .nav-cta-search input { width: 84px; font-size: 12px; }
  .nav-cta .btn-sm { padding: 7px 12px; font-size: 12px; }
  .nav-cta { gap: 4px; }
}

/* ---- 平板（<=1024px）---- */
@media (max-width: 1024px) {
  /* 触屏无 hover，平铺显示全部导航项，隐藏「更多」下拉 */
  .nav-more { display: none; }
  .nav-extra { display: block; }
  /* 导航允许换行成两行 */
  .nav { height: auto; min-height: var(--header-h); padding: 8px 0; flex-wrap: wrap; }
  .nav-menu { flex-wrap: wrap; gap: 0; }
  .nav-menu > li > a {
    padding: 6px 9px;
    font-size: 13px;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    max-width: 52px;
  }
  .nav-menu > li > a .caret { display: none; }
  .nav-cta .nav-cta-search input { width: 90px; font-size: 12px; }
  .nav-phone { font-size: 14px; gap: 4px; }
  .nav-phone svg { width: 14px; height: 14px; }

  /* 业务领域下拉菜单改为 3 列 2 行 */
  .dropdown {
    min-width: 420px;
    grid-template-columns: repeat(3, 1fr);
    padding: 16px;
  }
  .dropdown a { padding: 8px 10px; }
  .dropdown a strong { font-size: 13px; }
  .dropdown a small { font-size: 11px; }

  .biz-grid, .consult-grid { grid-template-columns: repeat(3, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-intro { max-width: 640px; }
  .detail-layout .container { grid-template-columns: 1fr; }
  /* 内联 grid 响应式 */
  .contact-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .case-item-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
  .activity-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .franchise-stats { grid-template-columns: repeat(2, 1fr) !important; }
  .franchise-form-grid { grid-template-columns: 1fr 1fr !important; }
  .article-nav-grid { grid-template-columns: 1fr !important; }
  .consultant-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important; }
}

/* ---- 手机（<=768px）---- */
@media (max-width: 768px) {
  /* --- 移动端导航 --- */
  .nav { gap: 8px; justify-content: space-between; }
  .logo { min-width: 0; flex: 0 1 auto; }
  .logo-mark { width: 38px; height: 38px; font-size: 18px; border-radius: 10px; }
  .logo-text { min-width: 0; }
  .logo-text strong { font-size: 15px; letter-spacing: -0.3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
  .logo-text small { display: none; }
  .nav-cta { flex: 1; justify-content: flex-end; gap: 8px; min-width: 0; }
  .nav-cta .nav-phone,
  .nav-cta .btn { display: none; }
  .nav-cta-search { display: flex !important; flex: 1; margin-right: 0; min-width: 0; max-width: 220px; }
  .nav-cta-search input { width: 100%; padding: 6px 12px; font-size: 13px; }
  .menu-toggle { display: flex; }

  /* 移动端菜单内搜索入口 */
  .nav-search-item { display: block !important; padding: 4px 0 14px; border-bottom: 1px solid var(--c-border-light); }

  /* 移动端隐藏「更多」下拉，平铺显示全部导航项 */
  .nav-more { display: none !important; }
  .nav-extra { display: block !important; }
  .nav-extra > a {
    display: flex; width: 100%; justify-content: flex-start;
    padding: 14px 8px; font-size: 15px; white-space: nowrap;
    border-bottom: 1px solid var(--c-border-light); border-radius: 0;
  }
  .nav-search-item form { display: flex; gap: 8px; width: 100%; }
  .nav-search-item input {
    flex: 1; min-width: 0;
    padding: 10px 16px;
    border: 1.5px solid var(--c-border);
    border-radius: 24px;
    font-size: 14px;
    outline: none;
  }
  .nav-search-item input:focus { border-color: var(--c-primary); }
  .nav-search-item button {
    border: none; background: var(--c-primary); color: #fff;
    border-radius: 24px; width: 46px; height: 42px;
    cursor: pointer; font-size: 15px; flex-shrink: 0;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 20px;
    box-shadow: 0 8px 24px rgba(11,36,71,.12);
    border-top: 1px solid var(--c-border);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    gap: 0;
  }
  .nav-menu.mobile-open { display: flex; }
  .nav-menu > li { width: 100%; }
  .nav-menu > li > a {
    padding: 14px 8px;
    font-size: 15px;
    width: 100%;
    justify-content: flex-start;
    border-bottom: 1px solid var(--c-border-light);
    border-radius: 0;
    white-space: nowrap;
    text-align: left;
    line-height: 1.2;
    max-width: none;
  }
  .nav-menu > li > a .caret { display: inline-block; }
  .nav-menu > li:last-child > a { border-bottom: none; }
  .nav-menu > li > a:hover,
  .nav-menu > li > a.active { background: var(--c-bg-alt); }

  /* 移动端下拉菜单 */
  .dropdown {
    position: static;
    transform: none;
    min-width: 0;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    grid-template-columns: 1fr;
    gap: 0;
    opacity: 1;
    visibility: visible;
    display: none;
  }
  .has-dropdown.expanded .dropdown { display: grid; padding: 0 0 8px 16px; transform: none !important; }
  .has-dropdown.expanded .dropdown.dropdown-sm { transform: none !important; }
  .dropdown a { padding: 10px 8px; border-bottom: 1px solid var(--c-border-light); }
  .has-dropdown.expanded > a .caret { transform: rotate(180deg); }
  .dropdown a:last-child { border-bottom: none; }

  /* --- 顶栏 --- */
  .topbar .tb-info { display: none; }
  .topbar .tb-links { gap: 10px; font-size: 12px; flex-wrap: wrap; justify-content: center; width: 100%; }

  /* --- Hero --- */
  .hero { padding: 40px 0 50px; }
  .hero .container { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: 28px; }
  .hero p.lead { font-size: 15px; }
  .hero-badge { font-size: 13px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { flex-wrap: wrap; gap: 12px; }
  .hero-card { padding: 24px 20px; }

  /* --- Section --- */
  .section { padding: 44px 0; }
  .section h2 { font-size: 24px; }
  .section-head { margin-bottom: 32px; }
  .section-tabs { gap: 6px; flex-wrap: wrap; }
  .section-tabs button { padding: 6px 14px; font-size: 13px; }

  /* --- Grid 布局 --- */
  .biz-grid, .svc-grid, .svc-cat-grid, .consult-grid,
  .adv-grid, .value-grid { grid-template-columns: 1fr; }
  .svc-cat-card { flex-direction: column; padding: 24px; }
  .svc-cat-icon { width: 56px; height: 56px; }
  .svc-cat-icon svg { width: 26px; height: 26px; }

  /* --- Stats --- */
  .stats-band { grid-template-columns: 1fr 1fr; padding: 28px 16px; gap: 16px; }
  .stat-item .num { font-size: 28px; }

  /* --- Flow --- */
  .flow { flex-direction: column; gap: 20px; }
  .flow::before { display: none; }
  .flow-step { min-width: 0; }

  /* --- CTA Band --- */
  .cta-band { flex-direction: column; text-align: center; padding: 32px 20px; gap: 16px; }

  /* --- Footer --- */
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; padding-bottom: 36px; }
  .footer-brand-col { grid-column: 1 / -1; text-align: center; }
  .footer-intro { max-width: 100%; text-align: center; margin-left: auto; margin-right: auto; }
  .footer-logo { justify-content: center; }
  .footer-col h4 { margin-bottom: 12px; text-align: center; }
  .footer-col h4::after { left: 50%; transform: translateX(-50%); }
  .footer-col > a { text-align: center; padding: 5px 0; }
  .footer-contact-col { grid-column: 1 / -1; text-align: center; border-top: 1px solid rgba(255,255,255,.1); padding-top: 16px; margin-top: 4px; }
  .footer-contact-col .fc-item { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; padding: 16px 0; }
  .footer-bottom .fb-links { justify-content: center; flex-wrap: wrap; }

  /* --- 详情页 --- */
  .detail-layout .container { grid-template-columns: 1fr; }
  .detail-main { padding: 20px 16px; }
  .float-btn { right: 16px; bottom: 16px; width: 48px; height: 48px; font-size: 20px; }

  /* --- 服务流程 --- */
  .svc-adv-grid { grid-template-columns: 1fr; }
  .svc-flow { flex-direction: column; gap: 12px; }
  .svc-flow-arrow { transform: rotate(90deg); }

  /* --- 数字化建设 --- */
  .ds-advantage-grid { grid-template-columns: 1fr; }
  .ds-flow { flex-direction: column; align-items: stretch; }
  .ds-flow-item { max-width: none; width: 100%; flex-direction: row; gap: 14px; text-align: left; }
  .ds-flow-num { margin-bottom: 0; }
  .ds-flow-arrow { align-self: center; transform: rotate(90deg); margin-top: 0; }

  /* --- 内联 grid 响应式 --- */
  .contact-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
  .case-item-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .activity-grid { grid-template-columns: 1fr !important; }
  .franchise-stats { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
  .franchise-form-grid { grid-template-columns: 1fr !important; }
  .article-nav-grid { grid-template-columns: 1fr !important; }
  .consultant-grid { grid-template-columns: 1fr !important; }

  /* --- 卡片间距 --- */
  .biz-card, .adv-card, .consult-card, .svc-card { padding: 20px; }
  .case-table { font-size: 13px; }

  /* --- Banner 轮播 --- */
  .banner-carousel { height: 300px !important; }
  .banner-caption { padding: 24px 20px 20px !important; }
  .banner-caption h2 { font-size: 22px !important; }
  .banner-slide { padding: 24px 20px; }
  .banner-slide h2 { font-size: 22px; }

  /* --- 表单 --- */
  .form-grid-2 { grid-template-columns: 1fr; }
  .form-control { font-size: 16px; } /* >=16px 防止 iOS 自动缩放 */

  /* --- 表单卡片 / 内容卡片 --- */
  .auth-card { padding: 24px !important; }
  .article-content { padding: 24px 20px !important; }
  .article-content p, .article-content li { font-size: 15px; }
  .activity-meta { gap: 10px; font-size: 13px; }
  .profile-actions { flex-direction: column; }
  .profile-actions .btn { width: 100%; text-align: center; }
  .profile-actions a { text-align: center; }

  /* --- 搜索结果 --- */
  .search-form { flex-direction: column; gap: 8px; }
  .search-form input { width: 100%; }
  .search-form button { width: 100%; }

  /* --- 文章列表项 --- */
  .article-list-item { padding: 18px 20px !important; }
  .article-list-item h3 { font-size: 17px !important; }

  /* --- 案例卡片 --- */
  .case-card { padding: 20px !important; }
  .case-card h3 { font-size: 18px !important; }

  /* --- 顾问卡片 --- */
  .consultant-card { padding: 20px !important; }

  /* --- 活动卡片 --- */
  .activity-card-img { height: 140px !important; }

  /* --- 面包屑 --- */
  .breadcrumb-bar h1 { font-size: 22px !important; }

  /* --- 禁用页面 --- */
  .disabled-box { padding: 32px 20px !important; }
  .disabled-box h2 { font-size: 22px !important; }

  /* --- 404 页面 --- */
  .error-page .error-code { font-size: 80px !important; }
  .error-page h2 { font-size: 20px !important; }
  .error-page .error-actions { flex-direction: column; gap: 10px; }
  .error-page .error-actions .btn { width: 100%; }

  /* --- FAQ --- */
  .faq-item summary { padding: 14px 16px !important; font-size: 15px !important; }
  .faq-answer { padding: 0 16px 14px 42px !important; font-size: 14px !important; }

  /* --- 文章/活动详情 --- */
  .article-content img, .activity-detail-img { max-height: 240px !important; }

  /* --- 分页 --- */
  .pager { flex-wrap: wrap; gap: 4px; }
  .pager a, .pager span { padding: 6px 10px; font-size: 13px; }
}

/* ---- 小手机（<=480px）---- */
@media (max-width: 480px) {
  :root { --header-h: 60px; }
  .container { padding-left: 14px; padding-right: 14px; }
  .logo-mark { width: 36px; height: 36px; font-size: 16px; border-radius: 10px; }
  .logo-text strong { font-size: 16px; }
  .logo-text small { font-size: 10px; }

  .topbar { padding: 6px 0; }
  .topbar .tb-links a { font-size: 11px; }

  .hero h1 { font-size: 24px; }
  .hero p.lead { font-size: 14px; }
  .hero-actions .btn { font-size: 14px; padding: 12px 20px; }
  .hero-card { padding: 20px 16px; }

  .section { padding: 36px 0; }
  .section h2 { font-size: 20px; }
  .section-desc { font-size: 14px; }
  .section-tag { font-size: 11px; padding: 4px 12px; }

  .stats-band { grid-template-columns: 1fr 1fr; padding: 20px 12px; gap: 12px; }
  .stat-item .num { font-size: 24px; }
  .stat-item .label { font-size: 12px; }

  .biz-card, .adv-card, .consult-card, .svc-card, .svc-cat-card { padding: 18px; }
  .biz-card h3, .svc-cat-card h3 { font-size: 17px; }

  .cta-band { padding: 28px 16px; }
  .cta-band h2 { font-size: 20px; }

  .footer-col h4 { font-size: 14px; }
  .footer-col a { font-size: 13px; }

  .nav-menu > li > a { padding: 12px 8px; font-size: 14px; }

  .flow-step .step-num { width: 32px; height: 32px; font-size: 15px; }
  .flow-step h4 { font-size: 15px; }
  .flow-step p { font-size: 13px; }

  .dropdown a strong { font-size: 13px; }
  .dropdown a small { font-size: 11px; }

  /* 内联 grid 全部单列 */
  .franchise-stats { grid-template-columns: 1fr 1fr !important; }
  .franchise-stats > div > div:first-child { font-size: 22px !important; }

  .case-item-grid > div:last-child { padding: 16px !important; }

  .detail-main { padding: 16px 12px; }
  .detail-main h2 { font-size: 18px; }
  .detail-main h3 { font-size: 16px; }
  .detail-main p, .detail-main li { font-size: 14px; }

  .float-btn { width: 44px; height: 44px; font-size: 18px; right: 12px; bottom: 12px; }

  .banner-slide { padding: 20px 16px; min-height: 180px; }
  .banner-slide h2 { font-size: 18px; }
  .banner-slide p { font-size: 13px; }
  .banner-carousel { height: 220px !important; }
  .banner-caption { padding: 16px 14px 12px !important; }
  .banner-caption h2 { font-size: 17px !important; }

  .btn { font-size: 14px; padding: 10px 18px; }
  .btn-lg { font-size: 15px; padding: 12px 24px; }
  .btn-sm { font-size: 13px; padding: 6px 14px; }

  /* --- 表单卡片 / 内容卡片 --- */
  .auth-card { padding: 18px !important; }
  .article-content { padding: 18px 14px !important; }
  .article-content p, .article-content li { font-size: 14px; }

  /* --- 案例卡片 --- */
  .case-card { padding: 16px !important; }

  /* --- 顾问卡片 --- */
  .consultant-card { padding: 16px !important; }
  .consultant-card h3 { font-size: 18px !important; }

  /* --- 面包屑 --- */
  .breadcrumb-bar h1 { font-size: 20px !important; }

  /* --- 活动卡片 --- */
  .activity-card-img { height: 120px !important; }

  /* --- 禁用页面 --- */
  .disabled-box { padding: 24px 16px !important; }

  /* --- 404 页面 --- */
  .error-page .error-code { font-size: 64px !important; }
}

