/* ===================================
   北京中财国商企业管理集团有限公司
   官网样式 - 简洁现代风
   =================================== */

:root {
  --primary: #1a3a5c;
  --primary-dark: #0d2340;
  --primary-light: #2a5a8c;
  --accent: #c9a050;
  --accent-light: #e0c878;
  --text: #2a2a2a;
  --text-light: #5a5a5a;
  --white: #ffffff;
  --bg-light: #f5f7fa;
  --bg-gray: #eef0f4;
  --border: #e0e2e6;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --radius: 8px;
  --max-width: 1200px;
  --font: "PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); line-height: 1.6; background: var(--white); }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white); border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: var(--shadow); }
.header-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.logo-icon {
  width: 44px; height: 44px; background: var(--primary);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 22px; font-weight: bold; letter-spacing: 2px;
}
.logo-text { font-size: 18px; font-weight: 600; color: var(--primary); }
.logo-text small { display: block; font-size: 11px; color: var(--text-light); font-weight: 400; }

.nav { display: flex; gap: 8px; list-style: none; }
.nav a {
  text-decoration: none; color: var(--text); padding: 8px 16px;
  border-radius: 4px; font-size: 14px; transition: all 0.2s;
}
.nav a:hover,.nav a.active { color: var(--primary); background: var(--bg-light); }

.phone-top { font-size: 16px; font-weight: 600; color: var(--primary); white-space: nowrap; }
.phone-top span { font-size: 12px; color: var(--text-light); display: block; }

/* Mobile menu */
.menu-btn { display: none; width: 36px; height: 36px; cursor: pointer; background: none; border: none; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--primary); margin: 5px auto; transition: 0.3s; }

/* ===== HERO ===== */
.hero {
  margin-top: 72px; background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: var(--white); padding: 80px 24px 100px; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
}
.hero h1 {
  font-size: 42px; font-weight: 700; margin-bottom: 16px; position: relative;
  letter-spacing: 2px;
}
.hero h1 span { color: var(--accent); }
.hero .subtitle {
  font-size: 18px; opacity: 0.85; margin-bottom: 32px; position: relative;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }
.btn { display: inline-block; padding: 14px 32px; border-radius: 30px; font-size: 15px; text-decoration: none; font-weight: 500; transition: all 0.3s; cursor: pointer; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: var(--white); transform: translateY(-2px); }
.btn-sm { padding: 10px 24px; font-size: 14px; }

.hero-stats {
  display: flex; gap: 60px; justify-content: center; margin-top: 56px;
  position: relative;
}
.stat-item { text-align: center; }
.stat-num { font-size: 38px; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 14px; opacity: 0.7; margin-top: 4px; }

/* ===== SECTION COMMON ===== */
.section { padding: 80px 24px; }
.section-gray { background: var(--bg-light); }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 12px; font-size: 32px; color: var(--primary-dark); }
.section-desc { text-align: center; color: var(--text-light); margin-bottom: 48px; font-size: 15px; }

/* ===== SERVICES ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.service-card {
  background: var(--white); border-radius: var(--radius); padding: 32px 24px;
  box-shadow: var(--shadow); transition: all 0.3s; text-align: center;
  border: 1px solid transparent;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); border-color: var(--primary-light); }
.service-icon { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--bg-light); display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--primary); }
.service-card h3 { font-size: 18px; margin-bottom: 8px; color: var(--primary-dark); }
.service-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ===== ABOUT ===== */
.about-flex { display: flex; gap: 60px; align-items: center; flex-wrap: wrap; }
.about-text { flex: 1; min-width: 300px; }
.about-text h3 { font-size: 24px; color: var(--primary-dark); margin-bottom: 16px; }
.about-text p { font-size: 15px; color: var(--text-light); margin-bottom: 12px; line-height: 1.8; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.about-feat { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--primary); }
.about-feat::before { content: '✓'; color: var(--accent); font-weight: bold; font-size: 16px; }
.about-image { flex: 1; min-width: 300px; background: var(--bg-light); border-radius: var(--radius); height: 360px;
  display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 16px;
  position: relative; overflow: hidden;
}
.about-image .placeholder-text { font-size: 48px; opacity: 0.3; }

/* ===== PROCESS ===== */
.process-steps { display: flex; gap: 0; justify-content: center; flex-wrap: wrap; counter-reset: step; }
.process-step {
  flex: 1; min-width: 200px; max-width: 240px; text-align: center;
  padding: 24px 16px; position: relative;
}
.process-step::after {
  content: '→'; position: absolute; right: -12px; top: 40px;
  font-size: 24px; color: var(--border); font-weight: bold;
}
.process-step:last-child::after { display: none; }
.step-num {
  width: 56px; height: 56px; margin: 0 auto 16px;
  background: var(--primary); color: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700;
}
.process-step h4 { font-size: 16px; color: var(--primary-dark); margin-bottom: 6px; }
.process-step p { font-size: 13px; color: var(--text-light); }

/* ===== CONTACT CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white); text-align: center; padding: 60px 24px;
}
.cta-section h2 { font-size: 28px; margin-bottom: 8px; }
.cta-section p { font-size: 16px; opacity: 0.8; margin-bottom: 24px; }
.contact-info-inline { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.contact-info-inline .item { text-align: center; }
.contact-info-inline .item .label { font-size: 13px; opacity: 0.6; }
.contact-info-inline .item .value { font-size: 18px; font-weight: 600; margin-top: 4px; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  padding: 20px 0; font-size: 16px; font-weight: 600; color: var(--primary-dark);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.faq-q::after { content: '+'; font-size: 22px; color: var(--primary); transition: 0.3s; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s; }
.faq-item.open .faq-a { max-height: 200px; }
.faq-a p { padding-bottom: 20px; color: var(--text-light); font-size: 14px; line-height: 1.8; }

/* ===== FOOTER ===== */
.footer { background: var(--primary-dark); color: rgba(255,255,255,0.7); padding: 48px 24px 24px; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer h4 { color: var(--white); margin-bottom: 16px; font-size: 15px; }
.footer p,.footer a { font-size: 13px; line-height: 2; }
.footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 12px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header-inner { padding: 10px 16px; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--white);
    flex-direction: column; padding: 16px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .menu-btn { display: block; }
  .phone-top { font-size: 13px; }
  .hero { padding: 60px 16px 80px; margin-top: 64px; }
  .hero h1 { font-size: 28px; }
  .hero .subtitle { font-size: 15px; }
  .hero-stats { gap: 30px; flex-wrap: wrap; }
  .stat-num { font-size: 28px; }
  .section { padding: 50px 16px; }
  .section-title { font-size: 24px; }
  .about-flex { flex-direction: column; gap: 30px; }
  .process-step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-info-inline { gap: 20px; }
}
