/* === 厚德财税 官网样式 === */
:root {
  --primary: #1a56db;
  --primary-dark: #1340a0;
  --primary-light: #e8f0fe;
  --accent: #d97706;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-gray: #f9fafb;
  --border: #e5e7eb;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
  --max-w: 1200px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* 顶部通知条 */
.top-bar {
  background: var(--primary); color: #fff; text-align: center;
  padding: 6px 16px; font-size: 0.85rem;
}

/* 导航 */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: #fff; border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w); margin: 0 auto; padding: 12px 24px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--primary); }
.logo-icon {
  width: 36px; height: 36px; background: var(--primary);
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 0.9rem;
}
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: 0.93rem; color: var(--text-light); font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }
.nav-cta {
  background: var(--primary) !important; color: #fff !important;
  padding: 8px 20px !important; border-radius: 4px !important; font-weight: 600 !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 5px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #1a56db 0%, #1340a0 100%);
  padding: 80px 0 100px; color: #fff; position: relative; overflow: hidden;
}
.hero-content { text-align: center; position: relative; z-index: 1; }
.hero-badge {
  display: inline-block; background: rgba(255,255,255,0.15); color: #fff;
  padding: 5px 18px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: 24px;
}
.hero h1 { font-size: 2.6rem; font-weight: 800; line-height: 1.3; margin-bottom: 16px; }
.hero h1 .sub { display: block; font-size: 0.4em; font-weight: 400; color: rgba(255,255,255,0.7); margin-top: 6px; }
.hero p { font-size: 1.05rem; color: rgba(255,255,255,0.85); max-width: 640px; margin: 0 auto 32px; line-height: 1.8; }
.hero-stats { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 2.2rem; font-weight: 800; line-height: 1.2; }
.hero-stat-label { font-size: 0.88rem; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* 通用区块 */
.section { padding: 72px 0; }
.section-gray { background: var(--bg-gray); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
  display: inline-block; background: var(--primary-light); color: var(--primary);
  padding: 4px 16px; border-radius: 20px; font-size: 0.82rem; font-weight: 700; margin-bottom: 12px;
}
.section-title { font-size: 1.8rem; font-weight: 700; margin-bottom: 12px; }
.section-subtitle { font-size: 0.95rem; color: var(--text-light); max-width: 560px; margin: 0 auto; }

/* 核心优势卡片 */
.adv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.adv-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 24px; transition: all 0.3s; position: relative;
}
.adv-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.adv-icon { font-size: 2rem; margin-bottom: 14px; }
.adv-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.adv-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

/* 业务板块 */
.services-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.service-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; display: flex; gap: 16px; align-items: flex-start; transition: all 0.3s;
  border-left: 3px solid transparent;
}
.service-item:hover { border-left-color: var(--primary); transform: translateX(4px); }
.service-icon { flex-shrink: 0; width: 44px; height: 44px; background: var(--primary-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.service-text h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.service-text p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; }

/* 数字统计 */
.numbers-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.num-card { text-align: center; padding: 24px; }
.num-value { font-size: 2.2rem; font-weight: 800; color: var(--primary); }
.num-label { font-size: 0.88rem; color: var(--text-light); margin-top: 4px; }

/* 联系我们 */
.contact-section { background: var(--primary); padding: 72px 0; color: #fff; }
.contact-section .section-title { color: #fff; }
.contact-section .section-subtitle { color: rgba(255,255,255,0.6); }
.contact-section .section-tag { background: rgba(255,255,255,0.12); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 0 auto; }
.contact-item {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 20px 24px; display: flex; gap: 14px; align-items: flex-start;
}
.contact-icon { flex-shrink: 0; width: 40px; height: 40px; background: rgba(255,255,255,0.12); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.contact-text h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; color: #fff; }
.contact-text p { font-size: 0.88rem; color: rgba(255,255,255,0.6); }
.contact-text a { color: #fbbf24; font-weight: 600; }
.contact-phone { font-size: 1.5rem; font-weight: 800; color: #fff !important; letter-spacing: 1px; }

/* Footer */
.footer { background: #111827; color: rgba(255,255,255,0.5); padding: 48px 0 24px; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; margin-bottom: 24px; }
.footer-brand h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.footer-brand p { font-size: 0.86rem; line-height: 1.6; }
.footer-nav { display: flex; gap: 48px; }
.footer-nav-col h4 { font-size: 0.9rem; font-weight: 600; color: #fff; margin-bottom: 10px; }
.footer-nav-col ul { list-style: none; }
.footer-nav-col ul li { margin-bottom: 6px; }
.footer-nav-col ul li a { font-size: 0.85rem; transition: color 0.2s; }
.footer-nav-col ul li a:hover { color: #fbbf24; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 18px; text-align: center; font-size: 0.82rem; }
.footer-bottom a { color: #fbbf24; }

/* 新闻列表 */
.news-list { max-width: 800px; margin: 0 auto; }
.news-item {
  padding: 20px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; gap: 20px;
}
.news-item:last-child { border-bottom: none; }
.news-date { font-size: 0.82rem; color: var(--text-light); white-space: nowrap; flex-shrink: 0; padding-top: 2px; }
.news-item h3 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.news-item h3 a { color: var(--text); transition: color 0.2s; }
.news-item h3 a:hover { color: var(--primary); }
.news-item p { font-size: 0.88rem; color: var(--text-light); }
.news-content { max-width: 800px; margin: 0 auto; line-height: 2; font-size: 0.95rem; }
.news-content h2 { font-size: 1.3rem; margin: 24px 0 12px; }

/* 响应式 */
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column; justify-content: center; align-items: center; gap: 24px; z-index: 999; }
  .nav-links.active { display: flex; }
  .menu-toggle { display: flex; z-index: 1000; }
  .hero h1 { font-size: 1.8rem; }
  .hero-stats { gap: 24px; }
  .adv-grid, .numbers-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.4rem; }
  .footer-grid { flex-direction: column; }
  .footer-nav { flex-direction: column; gap: 24px; }
}
@media (max-width: 480px) {
  .adv-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: repeat(2,1fr); }
  .hero h1 { font-size: 1.4rem; }
}
