﻿/**
 * 橙云科技 TopOrange - 自定义样式
 * WordPress 子主题样式表
 * Theme Name: TopOrange Custom
 * Template: twentytwentyfive
 */

/* ============================================
   CSS 变量定义
============================================ */
:root {
  --color-primary: #FF6B35;      /* 品牌橙 */
  --color-secondary: #2C3E50;    /* 深蓝灰 */
  --color-accent: #27AE60;       /* 成功绿 */
  --color-bg: #F8F9FA;           /* 背景色 */
  --color-text: #333333;         /* 文字色 */
  --color-text-light: #666666;   /* 浅色文字 */
  --color-border: #E0E0E0;       /* 边框色 */
  --color-white: #FFFFFF;
  
  --font-heading: "Noto Sans SC", "思源黑体", "Microsoft YaHei", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  --font-data: "DIN Pro", "Roboto Mono", monospace;
  
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  
  --transition: all 0.3s ease;
}
/* ============================================
   ★ 2026-07-24 美化增强 v2
   提升整体精致度，保留现有浅橙主色调
============================================ */

/* 全局质感 */
body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Hero 区增强 */
.hero-section {
  background: linear-gradient(160deg, #FFF8F3 0%, #FFE8DC 60%, #FFF0E6 100%);
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; right: -80px; bottom: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,107,53,0.12) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute; left: -60px; top: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,107,53,0.07) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero-title {
  font-size: 2.8rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 560px;
  margin-left: auto; margin-right: auto;
}
.hero-service-tags {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.5rem; margin-bottom: 2.5rem;
}
.hero-service-tags .service-tag {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.35rem 1rem;
  background: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,107,53,0.25);
  border-radius: 20px;
  font-size: 0.88rem; color: var(--color-secondary);
  font-weight: 500; backdrop-filter: blur(4px);
}
.hero-stats-row {
  display: flex; justify-content: center;
  gap: 3.5rem; flex-wrap: wrap; margin-bottom: 2.5rem;
}
.hero-stat-item { text-align: center; }
.hero-stat-num {
  display: block;
  font-family: var(--font-data);
  font-size: 2.4rem; font-weight: 800;
  color: var(--color-primary); line-height: 1;
}
.hero-stat-label {
  display: block; font-size: 0.85rem;
  color: var(--color-text-light); margin-top: 0.25rem;
}
.hero-buttons .btn {
  padding: 0.85rem 2.2rem; font-size: 1.05rem;
  border-radius: 10px; font-weight: 700;
  box-shadow: 0 4px 14px rgba(255,107,53,0.3);
  transition: all 0.25s ease;
  letter-spacing: 0.3px;
}
.hero-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,107,53,0.4);
}
.hero-buttons .btn-outline { box-shadow: none; border-width: 2px; }
.hero-buttons .btn-outline:hover {
  box-shadow: 0 4px 14px rgba(255,107,53,0.2);
}

/* 统计数字区增强 */
.stat-item {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem; text-align: center;
  border: 1px solid rgba(255,107,53,0.08);
  transition: all 0.3s ease;
  position: relative; overflow: hidden;
}
.stat-item::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 0; height: 0;
  border-left: 24px solid transparent;
  border-top: 24px solid rgba(255,107,53,0.08);
}
.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(255,107,53,0.12), 0 2px 8px rgba(0,0,0,0.06);
  border-color: rgba(255,107,53,0.2);
}
.stat-number {
  font-family: var(--font-data);
  font-size: 2.8rem; font-weight: 800;
  color: var(--color-primary); display: block;
  line-height: 1; letter-spacing: -1px;
}
.stat-label { font-size: 0.95rem; color: var(--color-text-light); margin-top: 0.5rem; }

/* 服务卡片增强 */
.section-title {
  text-align: center; font-size: 2.1rem;
  margin-bottom: 1rem; color: var(--color-secondary); font-weight: 800;
}
.section-title::after {
  content: ''; display: block;
  width: 48px; height: 4px;
  background: linear-gradient(90deg, var(--color-primary), #FF9A6C);
  border-radius: 2px; margin: 1rem auto 0;
}
.service-card {
  background: var(--color-white); border-radius: var(--radius-lg);
  padding: 2.5rem 2rem; text-align: center;
  border: 1px solid rgba(255,107,53,0.08);
  transition: all 0.3s ease;
  position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), #FF9A6C);
  transform: scaleX(0); transition: transform 0.3s ease;
  transform-origin: left;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(255,107,53,0.15), 0 4px 12px rgba(0,0,0,0.06);
  border-color: rgba(255,107,53,0.2);
}
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, #FFF5F0, #FFE4D6);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem; font-size: 2rem;
  transition: transform 0.3s ease;
}
.service-card:hover .service-icon { transform: scale(1.08) rotate(-3deg); }
.service-title { font-size: 1.2rem; margin-bottom: 0.75rem; font-weight: 700; }
.service-desc { color: var(--color-text-light); font-size: 0.95rem; line-height: 1.7; }
.service-actions { display: flex; gap: 0.75rem; justify-content: center; margin-top: 1.25rem; flex-wrap: wrap; }
.service-actions a { padding: 0.5rem 1.2rem; border-radius: 8px; font-size: 0.9rem; font-weight: 600; transition: all 0.25s ease; }
.service-actions a:first-child { background: var(--color-primary); color: #fff; }
.service-actions a:first-child:hover { background: #e55a2b; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,107,53,0.3); }
.service-actions a:last-child { background: transparent; color: var(--color-primary); border: 1.5px solid var(--color-primary); }
.service-actions a:last-child:hover { background: var(--color-primary); color: #fff; }

/* 政策匹配工具增强 */
.tools-section {
  padding: var(--spacing-xxl) var(--spacing-lg);
  background: linear-gradient(160deg, #FFF8F5 0%, #FFECE0 100%);
  position: relative;
}
.tools-section::before {
  content: '';
  position: absolute; right: -100px; top: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,107,53,0.08) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.tool-card {
  max-width: 920px; margin: 0 auto;
  background: var(--color-white); border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(255,107,53,0.1), 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid rgba(255,107,53,0.12);
}
.matcher-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.matcher-field label { display: block; font-weight: 700; font-size: 0.88rem; color: var(--color-secondary); margin-bottom: 0.5rem; letter-spacing: 0.3px; }
.matcher-field select { width: 100%; padding: 0.75rem 1rem; border: 2px solid var(--color-border); border-radius: 10px; font-size: 0.95rem; transition: all 0.25s ease; cursor: pointer; color: var(--color-text); }
.matcher-field select:hover { border-color: rgba(255,107,53,0.4); }
.matcher-field select:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(255,107,53,0.12); }
.matcher-action button { width: 100%; padding: 0.85rem; font-size: 1.05rem; background: var(--color-primary); color: #fff; border: none; border-radius: 10px; font-weight: 700; cursor: pointer; transition: all 0.25s ease; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(255,107,53,0.35); }
.matcher-action button:hover { background: #e55a2b; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,107,53,0.4); }

/* 信任引擎增强 */
.logo-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.logo-placeholder {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.6rem 1.4rem; background: var(--color-bg); border-radius: 10px;
  border: 1.5px solid var(--color-border);
  font-weight: 600; font-size: 0.9rem; color: var(--color-secondary);
  transition: all 0.25s ease; letter-spacing: 0.3px; min-width: 90px;
}
.logo-placeholder:hover { border-color: var(--color-primary); box-shadow: 0 4px 14px rgba(255,107,53,0.15); transform: translateY(-3px); color: var(--color-primary); background: rgba(255,107,53,0.05); }
.rollup-item {
  text-align: center; padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #FFF5F0, #FFE4D6);
  border-radius: var(--radius-lg); min-width: 200px; flex: 1;
  border: 1px solid rgba(255,107,53,0.12);
  transition: all 0.3s ease;
}
.rollup-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(255,107,53,0.15); }
.rollup-value { display: block; font-family: var(--font-data); font-size: 2rem; font-weight: 800; color: var(--color-primary); }
.process-flow { max-width: 960px; margin: 3rem auto 0; padding: 2rem; background: var(--color-bg); border-radius: 16px; border: 1px solid rgba(255,107,53,0.08); }
.process-steps { display: flex; align-items: center; justify-content: center; gap: 0.5rem; flex-wrap: wrap; }
.step { text-align: center; min-width: 130px; padding: 1rem 0.75rem; background: var(--color-white); border-radius: 12px; border: 1px solid rgba(255,107,53,0.08); transition: all 0.3s ease; }
.step:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(255,107,53,0.12); border-color: rgba(255,107,53,0.2); }
.step-num { width: 36px; height: 36px; line-height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--color-primary), #FF9A6C); color: var(--color-white); font-weight: 800; font-size: 1rem; margin: 0 auto 0.5rem; box-shadow: 0 3px 8px rgba(255,107,53,0.3); }
.step-text { font-size: 0.88rem; color: var(--color-secondary); font-weight: 600; line-height: 1.4; }
.step-text small { display: block; color: var(--color-text-light); font-weight: 400; font-size: 0.78rem; margin-top: 2px; }
.step-arrow { font-size: 1.2rem; color: var(--color-primary); font-weight: 700; opacity: 0.6; }

/* CTA 增强 */
.cta-section { padding: 5rem 2rem; background: linear-gradient(160deg, #FF6B35 0%, #E8531A 50%, #D4441A 100%); color: var(--color-white); text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.cta-section::after { content: ''; position: absolute; left: -60px; bottom: -60px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.cta-title { color: var(--color-white); font-size: 2.2rem; margin-bottom: 0.75rem; font-weight: 800; letter-spacing: -0.5px; position: relative; z-index: 1; }
.cta-desc { font-size: 1.1rem; opacity: 0.9; margin-bottom: 2rem; position: relative; z-index: 1; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-buttons .btn { padding: 0.85rem 2.5rem; font-size: 1.05rem; border-radius: 10px; font-weight: 700; box-shadow: 0 4px 16px rgba(0,0,0,0.2); transition: all 0.25s ease; }
.cta-buttons .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.25); }
.cta-buttons .btn-outline { background: transparent; color: var(--color-white); border: 2px solid rgba(255,255,255,0.6); backdrop-filter: blur(4px); }
.cta-buttons .btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* 数据区增强 */
.chart-container { background: var(--color-white); border-radius: 16px; padding: 2rem; min-height: 380px; border: 1px solid rgba(255,107,53,0.08); box-shadow: 0 2px 12px rgba(0,0,0,0.04); transition: all 0.3s ease; }
.chart-container:hover { box-shadow: 0 4px 20px rgba(255,107,53,0.08); }
.chart-title { font-size: 1.05rem; margin-bottom: 1.25rem; color: var(--color-secondary); font-weight: 700; display: flex; align-items: center; gap: 0.5rem; }
.chart-title::before { content: ''; display: inline-block; width: 4px; height: 18px; background: linear-gradient(180deg, var(--color-primary), #FF9A6C); border-radius: 2px; }
.project-list { background: var(--color-white); border-radius: 16px; padding: 1.5rem; border: 1px solid rgba(255,107,53,0.08); box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.project-item { display: flex; justify-content: space-between; align-items: center; padding: 0.9rem 1rem; background: var(--color-bg); border-radius: 10px; margin-bottom: 0.6rem; transition: all 0.25s ease; gap: 1rem; }
.project-item:hover { background: rgba(255,107,53,0.05); transform: translateX(4px); box-shadow: 0 2px 8px rgba(255,107,53,0.08); }
.project-name { font-weight: 600; color: var(--color-secondary); font-size: 0.95rem; line-height: 1.4; }
.project-category { font-size: 0.8rem; padding: 3px 10px; background: var(--color-primary); color: var(--color-white); border-radius: 6px; font-weight: 600; white-space: nowrap; flex-shrink: 0; }

/* 最新动态增强 */
.news-item { display: flex; gap: 1.25rem; padding: 1.25rem 1.5rem; background: var(--color-white); border-radius: 12px; margin-bottom: 0.75rem; transition: all 0.25s ease; align-items: center; border: 1px solid transparent; }
.news-item:hover { box-shadow: 0 4px 16px rgba(255,107,53,0.1); border-color: rgba(255,107,53,0.15); transform: translateY(-2px); }
.news-title { flex: 1; font-weight: 600; font-size: 0.98rem; color: var(--color-secondary); line-height: 1.5; }
.news-date { color: var(--color-text-light); font-size: 0.85rem; white-space: nowrap; flex-shrink: 0; }

/* FAQ 增强 */
.faq-item summary { list-style: none; cursor: pointer; padding: 1.25rem 1.5rem; font-weight: 700; color: var(--color-secondary); display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: 1.02rem; background: var(--color-white); border-radius: 10px; transition: all 0.25s ease; }
.faq-item summary:hover { background: rgba(255,107,53,0.04); color: var(--color-primary); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--color-primary); font-weight: 700; transition: all 0.3s ease; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--color-primary); border-radius: 10px 10px 0 0; border-bottom: 1px solid rgba(255,107,53,0.08); }
.faq-item .faq-answer { padding: 1.25rem 1.5rem 1.5rem; color: var(--color-text-light); line-height: 1.85; font-size: 0.97rem; background: var(--color-white); border-radius: 0 0 10px 10px; }

/* 页脚增强 */
.site-footer { background: linear-gradient(160deg, #FFF5F0 0%, #FFE4D6 100%); color: var(--color-secondary); padding: var(--spacing-xl) var(--spacing-lg); position: relative; }
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--color-primary), #FF9A6C, var(--color-primary)); }
.footer-bottom { text-align: center; margin-top: var(--spacing-lg); padding-top: var(--spacing-lg); border-top: 1px solid rgba(255,107,53,0.15); font-size: 0.88rem; color: var(--color-text-light); }

/* 留资弹窗增强 */
.lead-fab { background: linear-gradient(135deg, var(--color-primary), #E8531A); box-shadow: 0 4px 20px rgba(255,107,53,0.4); backdrop-filter: blur(4px); }
.lead-fab:hover { background: #e55a2b; box-shadow: 0 8px 30px rgba(255,107,53,0.5); transform: translateY(-3px); }
.lead-modal__box { border-radius: 20px; border: 1px solid rgba(255,107,53,0.12); box-shadow: 0 20px 60px rgba(255,107,53,0.2), 0 8px 24px rgba(0,0,0,0.1); }
.lead-submit { background: linear-gradient(135deg, var(--color-primary), #E8531A); box-shadow: 0 4px 14px rgba(255,107,53,0.35); transition: all 0.25s ease; }
.lead-submit:hover { background: #e55a2b; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,107,53,0.4); }

/* 按钮全局质感 */
.btn { border-radius: 10px; letter-spacing: 0.3px; }
.btn-primary { background: var(--color-primary); color: var(--color-white); box-shadow: 0 4px 14px rgba(255,107,53,0.3); }
.btn-primary:hover { background: #e55a2b; color: var(--color-white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,107,53,0.4); }
.btn-outline { background: transparent; color: var(--color-primary); border: 2px solid var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: var(--color-white); }

/* 响应式微调 */
@media (min-width: 769px) {
  .hero-stats-row { gap: 4rem; }
  .hero-stat-num { font-size: 2.8rem; }
}
@media (max-width: 768px) {
  .hero-section { padding: 3rem 1.25rem 2.5rem; }
  .hero-title { font-size: 1.9rem; }
  .hero-stats-row { gap: 1.5rem; margin-bottom: 2rem; }
  .hero-stat-num { font-size: 1.8rem; }
  .tool-card { padding: 1.75rem 1.25rem; }
  .process-flow { padding: 1.5rem 1rem; }
  .step { min-width: 100px; padding: 0.75rem 0.5rem; }
  .step-arrow { display: none; }
  .cta-section { padding: 3.5rem 1.25rem; }
  .cta-title { font-size: 1.6rem; }
}
@media (max-width: 480px) {
  .hero-section { padding: 2.5rem 1rem 2rem; }
  .hero-title { font-size: 1.6rem; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero-buttons { flex-direction: column; }
  .section-title { font-size: 1.5rem; }
  .service-card { padding: 2rem 1.25rem; }
  .tool-card { padding: 1.5rem 1rem; }
  .step { min-width: 80px; }
  .rollup-item { padding: 1.5rem 1rem; }
  .rollup-value { font-size: 1.6rem; }
  .chart-container { padding: 1.25rem; }
  .news-item { flex-direction: column; gap: 0.5rem; }
  .news-date { align-self: flex-start; }
  .faq-item summary { font-size: 0.95rem; padding: 1rem 1.25rem; }
  .faq-item .faq-answer { font-size: 0.93rem; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; }
}

/* 减少动画（无障碍）*/
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ============================================
   全局重置
============================================ */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: var(--spacing-sm);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-secondary);
}

/* ============================================
   导航栏
============================================ */
.site-header {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--color-primary);
}

/* header logo：缩到 32px 与导航文字协调（原为 40px） */
.site-header a.site-logo > img {
  height: 24px !important;
  width: auto !important;
  max-height: 24px !important;
  border-radius: 6px;
  vertical-align: middle;
}
.site-header .site-logo span {
  font-weight: 700 !important;
  color: var(--color-secondary) !important;
  letter-spacing: 0.5px;
  display: inline-block;
  vertical-align: middle;
  line-height: 24px;
  font-size: 1.1rem;
}

.site-header .wp-block-navigation {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--spacing-sm) var(--spacing-lg);
}

.site-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.nav-link {
  padding: var(--spacing-xs) var(--spacing-sm);
  color: var(--color-secondary);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover {
  background: var(--color-bg);
  color: var(--color-primary);
}

.nav-link.active {
  color: var(--color-primary);
}

/* ============================================
   Hero 首屏区
============================================ */
.hero-section {
  background: linear-gradient(135deg, #FFF5F0 0%, #FFE8DE 100%);
  color: var(--color-secondary);
  padding: var(--spacing-xxl) var(--spacing-lg);
  text-align: center;
}

.hero-title {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text);
  margin-bottom: var(--spacing-lg);
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background: #e55a2b;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ============================================
   数据统计区
============================================ */
.stats-section {
  background: var(--color-white);
  padding: var(--spacing-xl) var(--spacing-lg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-family: var(--font-data);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  display: block;
}

.stat-label {
  font-size: 1rem;
  color: var(--color-text-light);
  margin-top: var(--spacing-xs);
}

/* ============================================
   服务板块区
============================================ */
.services-section {
  padding: var(--spacing-xxl) var(--spacing-lg);
  background: var(--color-bg);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: var(--spacing-xl);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--color-border);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--color-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  font-size: 2rem;
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.service-desc {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-link {
  display: inline-block;
  margin-top: var(--spacing-md);
  color: var(--color-primary);
  font-weight: 600;
}

.service-link:hover {
  color: var(--color-secondary);
}

/* ============================================
   服务卡片按钮区
============================================ */
.service-actions {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  margin-top: var(--spacing-md);
}

/* ============================================
   信任标签
============================================ */
.trust-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: linear-gradient(135deg, #FFF5F0, #FFE8DE);
  border: 1px solid rgba(255,107,53,0.3);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-secondary);
}

/* ============================================
   工具引擎 - 政策匹配
============================================ */
.tools-section {
  padding: var(--spacing-xxl) var(--spacing-lg);
  background: linear-gradient(135deg, #FFF8F5 0%, #FFECE0 100%);
}

.section-desc {
  text-align: center;
  color: var(--color-text-light);
  font-size: 1.05rem;
  margin-bottom: var(--spacing-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.tool-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.matcher-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
}

.matcher-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-secondary);
  margin-bottom: var(--spacing-xs);
}

.matcher-field select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  background: var(--color-white);
  transition: var(--transition);
  cursor: pointer;
}

.matcher-field select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255,107,53,0.15);
}

.matcher-action {
  display: flex;
  align-items: flex-end;
}

.matcher-action button {
  width: 100%;
  padding: 0.75rem;
  font-size: 1.05rem;
  justify-content: center;
}

/* ============================================
   信任引擎
============================================ */
.trust-section {
  padding: var(--spacing-xxl) var(--spacing-lg);
  background: var(--color-white);
}

.trust-logos {
  max-width: 1000px;
  margin: 0 auto var(--spacing-xl);
}

.logo-wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-md);
}

.logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-secondary);
  transition: var(--transition);
}

.logo-placeholder:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.trust-rollup {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  margin: var(--spacing-xl) auto;
  max-width: 900px;
  flex-wrap: wrap;
}

.rollup-item {
  text-align: center;
  padding: var(--spacing-lg);
  background: linear-gradient(135deg, #FFF5F0, #FFE8DE);
  border-radius: var(--radius-lg);
  min-width: 200px;
  flex: 1;
}

.rollup-number {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: var(--spacing-xs);
}

.rollup-value {
  display: block;
  font-family: var(--font-data);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
}

.process-flow {
  max-width: 900px;
  margin: var(--spacing-xl) auto 0;
  padding: var(--spacing-lg);
  background: var(--color-bg);
  border-radius: var(--radius-lg);
}

.process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.step {
  text-align: center;
  min-width: 120px;
}

.step-num {
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto var(--spacing-xs);
}

.step-text {
  font-size: 0.9rem;
  color: var(--color-secondary);
  font-weight: 500;
}

.step-text small {
  display: block;
  color: var(--color-text-light);
  font-weight: 400;
  font-size: 0.8rem;
}

.step-arrow {
  font-size: 1.5rem;
  color: var(--color-primary);
  font-weight: 700;
}

/* ============================================
   CTA 留资区
============================================ */
.cta-section {
  padding: var(--spacing-xxl) var(--spacing-lg);
  background: linear-gradient(135deg, var(--color-primary) 0%, #E8531A 100%);
  color: var(--color-white);
  text-align: center;
}

.cta-title {
  color: var(--color-white);
  font-size: 2rem;
  margin-bottom: var(--spacing-sm);
}

.cta-desc {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: var(--spacing-lg);
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* ============================================
   数据可视化区
============================================ */
.data-section {
  padding: var(--spacing-xxl) var(--spacing-lg);
  background: var(--color-white);
}

.data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .data-grid {
    grid-template-columns: 1fr;
  }
}

.chart-container {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  min-height: 400px;
}

.chart-title {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-secondary);
}

.project-list {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
}

.project-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm);
  background: var(--color-white);
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-xs);
  transition: var(--transition);
}

.project-item:hover {
  box-shadow: var(--shadow-sm);
}

.project-name {
  font-weight: 500;
  color: var(--color-secondary);
}

.project-category {
  font-size: 0.85rem;
  padding: 2px 8px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-sm);
}

/* ============================================
   最新动态
============================================ */
.news-section {
  padding: var(--spacing-xl) var(--spacing-lg);
  background: var(--color-bg);
}

.news-list {
  max-width: 800px;
  margin: 0 auto;
}

.news-item {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: var(--color-white);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-sm);
  transition: var(--transition);
}

.news-item:hover {
  box-shadow: var(--shadow-sm);
}

.news-tag {
  padding: 4px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.news-tag.policy {
  background: #FFF3E0;
  color: #E65100;
}

.news-tag.tech {
  background: #E3F2FD;
  color: #1565C0;
}

.news-tag.talent {
  background: #E8F5E9;
  color: #2E7D32;
}

.news-title {
  flex: 1;
  font-weight: 500;
}

.news-date {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* ============================================
   页脚
============================================ */
.site-footer {
  background: linear-gradient(135deg, #FFF5F0 0%, #FFE8DE 100%);
  color: var(--color-secondary);
  padding: var(--spacing-xl) var(--spacing-lg);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
}

/* ===== 2026-07-24 美化补丁：页脚白字修复 ===== */
/* 原背景是浅橙渐变，白字几乎不可见。改为深色文字+橙色下划线小条，保留原背景不动 */
.footer-section h4 {
  color: var(--color-secondary) !important; /* 改白→深蓝灰 */
  margin-bottom: var(--spacing-sm);
  font-size: 1.05rem;
  position: relative;
  padding-bottom: 0.6rem;
}
.footer-section h4::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 28px; height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}
.footer-section .footer-brand h4 {
  font-size: 1.2rem;
  color: var(--color-primary) !important;
}
.footer-section .footer-brand h4::after { display: none; }

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a {
  color: var(--color-secondary) !important; /* 改白→深蓝灰，可读 */
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  transition: var(--transition);
}
.footer-links a::before {
  content: '›';
  margin-right: 6px;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.05rem;
}
.footer-links a:hover {
  color: var(--color-primary) !important;
  transform: translateX(2px);
}

/* 页脚内"预约后获取"按钮：原来是 rgba(255,255,255,0.8) 在浅底几乎隐形 */
.footer-links .btn-link {
  color: var(--color-primary) !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-links .btn-link::before { content: none; }

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  text-align: center;
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255,107,53,0.2);
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* ============================================
   响应式
============================================ */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

/* ============================================
   ★ Phase 3 补充：移动端全面修复 (375px 适配)
   修复截图发现的问题：Hero截断、导航截断、固定宽度溢出
============================================ */

/* ---- 全局：强制换行，防止固定宽度溢出 ---- */
*, *::before, *::after {
  box-sizing: border-box;
  max-width: 100%;
}

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden; /* 防止横向滚动 */
  font-size: 16px;    /* 基准字号 */
}

/* ---- 修复 trust-tags 固定宽度溢出（inline style max-width:1200px）---- */
.trust-tags {
  max-width: 100% !important; /* 覆盖 inline style */
  width: 100%;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  overflow-x: auto;           /* 标签过多时横向滚动，不撑破容器 */
  -webkit-overflow-scrolling: touch;
}

.trust-tag-item {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ---- 修复 section-desc 固定宽度 600px 溢出 ---- */
.section-desc {
  max-width: 100% !important; /* 覆盖 inline style */
  padding: 0 1rem;
  word-break: break-word;
}

/* ---- Hero 区域：375px 专项优化 ---- */
@media (max-width: 480px) {
  .hero-section {
    padding: 2rem 1rem !important;
  }
  .hero-content {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  .hero-title {
    font-size: 1.45rem !important; /* 从1.75rem进一步缩小 */
    line-height: 1.35 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .hero-subtitle {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    word-break: break-word !important;
    text-align: center !important;
  }
/* 副标题强制换行修复 */
.hero-subtitle {
  font-size: 0.82rem !important;
  line-height: 1.65 !important;
  word-break: break-all !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
  text-align: center !important;
  padding: 0 0.5rem !important;
}

  .hero-buttons {
    flex-direction: column !important;
    align-items: stretch !important; /* 按钮撑满宽度 */
    gap: 0.5rem !important;
  }

  .hero-buttons .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
  }
}

/* 平板 481-768px Hero 优化 */
@media (min-width: 481px) and (max-width: 768px) {
  .hero-title {
    font-size: 1.75rem !important;
    line-height: 1.4 !important;
  }
  .hero-subtitle {
    font-size: 1rem !important;
  }
}

/* ---- 导航：375px 全面重构 ---- */
@media (max-width: 768px) {
  .site-header .wp-block-navigation {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 0.5rem 1rem !important;
    gap: 0.5rem !important;
    overflow: hidden !important;
  }

  .nav-links {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    scrollbar-width: none !important;
    padding-bottom: 2px !important;
    gap: 0.25rem !important;
    display: flex !important;
  }
/* 导航：移动端可换行、可横向滚动，带遮罩提示 */
.nav-links {
  display: flex;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
  scrollbar-width: none;
  gap: 0.2rem !important;
  max-width: 100%;
  position: relative;
}
/* 导航右侧渐变遮罩提示可滚动 */
.nav-links::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 32px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9));
  pointer-events: none;
}
/* 导航 nav-link 480px 字号修正 */
.nav-link {
  font-size: 0.82rem !important;
  padding: 0.5rem 0.5rem !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

  .nav-links::-webkit-scrollbar {
    display: none !important;
  }

  /* 导航项：最小触摸目标 44px */
  .nav-link {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 44px !important;
    padding: 0.5rem 0.75rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
}

/* ---- 服务标签：375px 换行 ---- */
@media (max-width: 480px) {
  .service-tags, .hero-service-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0.4rem !important;
    padding: 0 0.5rem !important;
  }

  .service-tag {
    display: inline-block !important;
    padding: 0.3rem 0.65rem !important;
    font-size: 0.85rem !important;
    white-space: normal !important;
    text-align: center !important;
  }
}

/* ---- 统计数据：375px 单列 ---- */
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .stat-item {
    padding: 1rem !important;
  }

  .stat-number {
    font-size: 1.75rem !important;
  }

  .stat-label {
    font-size: 0.85rem !important;
  }
}

/* ---- 数据区图表：375px 全宽 ---- */
@media (max-width: 480px) {
  .data-grid {
    grid-template-columns: 1fr !important;
  }

  .chart-container {
    min-height: 280px !important;
    padding: 1rem !important;
  }

  .project-list {
    padding: 0.75rem !important;
  }

  .project-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.4rem !important;
  }
}

/* ---- FAQ：375px 优化 ---- */
@media (max-width: 480px) {
  .faq-list {
    padding: 0 0.5rem !important;
  }

  .faq-item summary {
    font-size: 0.95rem !important;
    padding: 1rem !important;
  }

  .faq-item .faq-answer {
    font-size: 0.92rem !important;
  }
}

/* ---- CTA 区：375px 优化 ---- */
@media (max-width: 480px) {
  .cta-section {
    padding: 3rem 1rem !important;
  }

  .cta-title {
    font-size: 1.5rem !important;
  }

  .cta-desc {
    font-size: 0.95rem !important;
  }

  .cta-buttons {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.6rem !important;
  }

  .cta-buttons .btn {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* ---- 浮窗 CTA：375px 优化 ---- */
@media (max-width: 480px) {
  .lead-fab {
    right: 12px !important;
    bottom: 76px !important;
    padding: 0.7rem 0.9rem !important;
    font-size: 0.9rem !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }

  .to-top {
    right: 12px !important;
    bottom: 20px !important;
  }

  .lead-modal__box {
    padding: 1.25rem !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
  }
}

/* ---- 页脚：375px 优化 ---- */
@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr !important;
  }
}

/* ---- 全局：修复固定宽度溢出（兜底）---- */
[class*="trust-"] {
  max-width: 100% !important;
  overflow-x: auto !important;
}

/* ---- 触摸目标最小 44px（可访问性 WCAG）---- */
a, button, [role="button"] {
  min-height: 44px; /* 移动端触摸友好 */
}

/* ---- 防止图片撑破容器 ---- */
img {
  max-width: 100% !important;
  height: auto !important;
}


/* =============================================
   关于我们页面 - 愿景/服务体系/战略方向
   ============================================= */
.page-id-13 .site-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--color-text);
}
.page-id-13 .about-vision,
.page-id-13 .about-service,
.page-id-13 .about-strategy {
  margin: 40px 0;
  padding: 28px 32px;
  background: linear-gradient(135deg, #FFF8F5 0%, #FFF0EA 100%);
  border-radius: 12px;
  border-left: 4px solid var(--color-primary);
}
.page-id-13 .about-vision h2,
.page-id-13 .about-service h2,
.page-id-13 .about-strategy h2 {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 12px;
  font-weight: 700;
}
.page-id-13 .about-vision p,
.page-id-13 .about-service p,
.page-id-13 .about-strategy p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--color-text);
  line-height: 1.8;
}
.page-id-13 .about-vision {
  border-left-color: #FF8C42;
  background: linear-gradient(135deg, #FFF8F0 0%, #FFE8CC 100%);
}
.page-id-13 .about-service {
  border-left-color: #FF6B35;
}
.page-id-13 .about-strategy {
  border-left-color: #E8531A;
}

/* ============================================
   文章列表页
============================================ */
.articles-main {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-lg);
  min-height: 60vh;
}

.articles-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.articles-header .page-title {
  font-size: 2rem;
  color: var(--color-secondary);
  margin-bottom: var(--spacing-xs);
}

.articles-header .page-desc {
  color: var(--color-text-light);
  font-size: 1.1rem;
}

.articles-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.article-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xs);
}

.article-tag {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
}

.article-tag.policy {
  background: #FFF3E0;
  color: #E65100;
}

.article-tag.tech {
  background: #E3F2FD;
  color: #1565C0;
}

.article-tag.talent {
  background: #E8F5E9;
  color: #2E7D32;
}

.article-date {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.article-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xs);
}

.article-title a {
  color: var(--color-secondary);
}

.article-title a:hover {
  color: var(--color-primary);
}

.article-excerpt {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-sm);
}

.article-link {
  color: var(--color-primary);
  font-weight: 500;
}

.article-link:hover {
  color: var(--color-secondary);
}

.pagination {
  margin-top: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
}

.pagination-info {
  color: var(--color-text-light);
}

.pagination-links {
  display: flex;
  gap: var(--spacing-sm);
}

.no-articles {
  text-align: center;
  padding: var(--spacing-xl);
  color: var(--color-text-light);
}

/* ============================================
   隐藏文章页无用元素
============================================ */
/* 隐藏文章内容底部的无效导航链接（href="#"） */
.wp-block-column.is-vertically-aligned-bottom .wp-block-navigation a[href="#"] {
    display: none !important;
}

/* 隐藏包含无效链接的整块导航 - 在底部 column 中的导航 */
.wp-block-column.is-vertically-aligned-bottom .wp-block-navigation {
    display: none !important;
}

/* 隐藏 powered by WordPress */
.powered-by-wordpress,
[class*="powered-by"] {
    display: none !important;
}

/* ============================================
   ★ 2026-07 升级：可读性 / 交互 / 转化 组件
============================================ */

/* 全站可读性微调 */
body { font-size: 16.5px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.section-desc { line-height: 1.75; }
/* 锚点跳转时避免被吸顶导航遮挡 */
:root { scroll-behavior: smooth; }
section[id], .data-section, .faq-section { scroll-margin-top: 84px; }

/* 导航：移动端可换行、可横向滚动，避免溢出 */
.site-header .wp-block-navigation {
  display: flex; align-items: center; justify-content: space-between; gap: var(--spacing-md);
}
.nav-links { display: flex; flex-wrap: wrap; gap: 0.25rem; }
@media (max-width: 860px) {
  .site-header .wp-block-navigation { flex-direction: column; align-items: flex-start; padding: 0.75rem 1rem; }
  .nav-links { width: 100%; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
/* 导航：移动端可换行、可横向滚动，带遮罩提示 */
.nav-links {
  display: flex;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
  scrollbar-width: none;
  gap: 0.2rem !important;
  max-width: 100%;
  position: relative;
}
/* 导航右侧渐变遮罩提示可滚动 */
.nav-links::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 32px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9));
  pointer-events: none;
}
/* 导航 nav-link 480px 字号修正 */
.nav-link {
  font-size: 0.82rem !important;
  padding: 0.5rem 0.5rem !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
  .nav-link { white-space: nowrap; }
}

/* 真实立项条目（可点击） */
.project-item.is-link { text-decoration: none; }
.project-item .project-name { font-size: 0.95rem; line-height: 1.4; padding-right: .5rem; }
.project-item .project-sub { display:block; font-size: 0.78rem; color: var(--color-text-light); margin-top: 2px; }
.project-item:hover .project-name { color: var(--color-primary); }

/* ============================================
   FAQ 常见问题（可折叠）— 兼顾 GEO/SEO
============================================ */
.faq-section { padding: var(--spacing-xxl) var(--spacing-lg); background: var(--color-bg); }
.faq-list { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; transition: var(--transition); }
.faq-item[open] { border-color: var(--color-primary); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.25rem; font-weight: 600; color: var(--color-secondary);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--color-primary); font-weight: 700; transition: var(--transition); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 1.25rem 1.2rem; color: var(--color-text-light); line-height: 1.8; font-size: 0.97rem; }

/* ============================================
   留资弹窗 + 表单
============================================ */
.lead-fab {
  position: fixed; right: 20px; bottom: 90px; z-index: 1200;
  background: var(--color-primary); color: #fff; border: none; cursor: pointer;
  padding: 0.85rem 1.1rem; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  box-shadow: var(--shadow-lg); display: inline-flex; align-items: center; gap: .4rem;
}
.lead-fab:hover { background: #e55a2b; color:#fff; transform: translateY(-2px); }
.lead-modal { position: fixed; inset: 0; z-index: 1300; display: none; align-items: center; justify-content: center; padding: 1rem; }
.lead-modal.open { display: flex; }
.lead-modal__mask { position: absolute; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(2px); }
.lead-modal__box {
  position: relative; width: 100%; max-width: 460px; background: #fff; border-radius: var(--radius-xl);
  padding: 1.75rem; box-shadow: var(--shadow-lg); animation: leadIn .25s ease;
}
@keyframes leadIn { from { opacity: 0; transform: translateY(16px);} to {opacity:1; transform:none;} }
.lead-modal__box h3 { margin: 0 0 .35rem; color: var(--color-secondary); font-size: 1.35rem; }
.lead-modal__box p.sub { margin: 0 0 1.1rem; color: var(--color-text-light); font-size: .95rem; }
.lead-modal__close { position: absolute; top: 12px; right: 14px; background: none; border: none; font-size: 1.5rem; color: var(--color-text-light); cursor: pointer; line-height: 1; }
.lead-field { margin-bottom: .8rem; }
.lead-field label { display: block; font-size: .85rem; font-weight: 600; color: var(--color-secondary); margin-bottom: .3rem; }
.lead-field input, .lead-field select, .lead-field textarea {
  width: 100%; padding: .65rem .75rem; border: 2px solid var(--color-border); border-radius: var(--radius-md);
  font-size: .95rem; font-family: inherit; transition: var(--transition); background:#fff;
}
.lead-field input:focus, .lead-field select:focus, .lead-field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(255,107,53,.15); }
.lead-hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.lead-submit { width: 100%; justify-content: center; margin-top: .35rem; font-size: 1.05rem; padding: .8rem; }
.lead-note { text-align: center; font-size: .8rem; color: var(--color-text-light); margin: .7rem 0 0; }
.lead-success { text-align: center; padding: 1.5rem .5rem; }
.lead-success .tick { font-size: 2.5rem; }

/* 返回顶部 */
.to-top { position: fixed; right: 20px; bottom: 24px; z-index: 1100; width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-secondary); color: #fff; border: none; cursor: pointer; font-size: 1.2rem; opacity: 0; visibility: hidden;
  transition: var(--transition); box-shadow: var(--shadow-md); }
.to-top.show { opacity: .85; visibility: visible; }
.to-top:hover { opacity: 1; background: var(--color-primary); }

@media (max-width: 480px) {
  .lead-fab { right: 12px; bottom: 76px; padding: .7rem .9rem; font-size: .9rem; }
  .to-top { right: 12px; }
}
/* hero-content overflow fix */
@media (max-width: 480px) {
  .hero-content { display: block; width: 100% !important; max-width: 100% !important; overflow-x: hidden !important; }
  .hero-section { overflow-x: hidden !important; }
}
