/* ============================================
   重庆龙居山陵园官网 — 全局样式表
   域名：www.longjushan.vip
   品牌色：生态绿#2E7D32 / 沉稳灰#4A4A4A / 信任金#C8A45C / 浅灰白#F8F9FA / 生命蓝#1E88E5
   ============================================ */

/* ---- 1. 重置与基础 ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", "Noto Serif SC", sans-serif;
  color: #333; background: #F8F9FA; line-height: 1.7; font-size: 16px;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #2E7D32; text-decoration: none; transition: color .2s; }
a:hover { color: #1B5E20; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 16px; }

/* ---- 2. 工具类 ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 16px; } .gap-3 { gap: 24px; } .gap-4 { gap: 32px; }
.mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; } .mt-6 { margin-top: 64px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; } .mb-5 { margin-bottom: 48px; } .mb-6 { margin-bottom: 64px; }
.py-3 { padding-top: 24px; padding-bottom: 24px; }
.py-4 { padding-top: 32px; padding-bottom: 32px; }
.py-5 { padding-top: 48px; padding-bottom: 48px; }
.py-6 { padding-top: 64px; padding-bottom: 64px; }
.hidden { display: none !important; }
.color-green { color: #2E7D32; }
.color-gold { color: #C8A45C; }
.color-blue { color: #1E88E5; }
.bg-white { background: #fff; }
.bg-light { background: #F8F9FA; }
.font-serif { font-family: "Noto Serif SC", "Songti SC", "SimSun", serif; }

/* ---- 3. 按钮 ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 28px; border-radius: 6px; font-size: 15px; font-weight: 500;
  transition: transform .15s, box-shadow .2s, background .2s; cursor: pointer; min-height: 44px;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.btn:active { transform: translateY(0); }
.btn-primary { background: #2E7D32; color: #fff; }
.btn-primary:hover { background: #1B5E20; }
.btn-secondary { background: #C8A45C; color: #fff; }
.btn-secondary:hover { background: #A67C2E; }
.btn-outline { background: transparent; border: 2px solid #2E7D32; color: #2E7D32; }
.btn-outline:hover { background: #2E7D32; color: #fff; }
.btn-white { background: #fff; color: #2E7D32; }
.btn-white:hover { background: #f0f0f0; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 18px; font-size: 14px; }

/* ---- 4. 卡片 ---- */
.card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.06); transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); transform: translateY(-2px); }
.card-body { padding: 24px; }
.card-img { width: 100%; height: 200px; object-fit: cover; background: #e8e8e8; }
.card-title { font-size: 18px; font-weight: 600; color: #222; margin-bottom: 8px; }
.card-text { color: #555; font-size: 14px; line-height: 1.6; }

/* ---- 5. 标签/徽章 ---- */
.tag {
  display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 500;
}
.tag-green { background: #E8F5E9; color: #2E7D32; }
.tag-gold { background: #FFF8E1; color: #C8A45C; }
.tag-blue { background: #E3F2FD; color: #1E88E5; }
.tag-gray { background: #F5F5F5; color: #666; }

/* ---- 6. 导航栏 ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06); transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: #222; }
.brand .en { font-size: 12px; color: #888; font-weight: 400; letter-spacing: 1px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 14px; color: #444; font-weight: 500; position: relative; }
.nav-links a:hover { color: #2E7D32; }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: #2E7D32; transition: width .25s;
}
.nav-links a:hover::after { width: 100%; }
.nav-hotline { font-size: 13px; color: #C8A45C; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.nav-toggle { display: none; font-size: 24px; color: #444; }

/* ---- 7. 移动端导航 ---- */
@media (max-width: 1024px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 20px; gap: 0; border-bottom: 1px solid #eee; box-shadow: 0 8px 16px rgba(0,0,0,.08); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid #f5f5f5; width: 100%; }
  .nav-links a::after { display: none; }
  .nav-hotline { display: none; }
  .nav-toggle { display: block; }
}

/* ---- 8. 底部快速联系栏（仅移动端） ---- */
.mobile-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: #fff; border-top: 1px solid #eee; padding: 8px 16px; gap: 8px;
}
@media (max-width: 768px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 60px; }
}

/* ---- 9. 面包屑 ---- */
.breadcrumb { font-size: 13px; color: #888; padding: 16px 0; }
.breadcrumb a { color: #888; }
.breadcrumb a:hover { color: #2E7D32; }
.breadcrumb span { margin: 0 6px; color: #ccc; }
.breadcrumb .current { color: #555; }

/* ---- 10. 页面标题区 ---- */
.page-header { background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%); color: #fff; padding: 100px 0 60px; }
.page-header h1 { font-size: 36px; font-weight: 700; margin-bottom: 12px; }
.page-header p { font-size: 16px; opacity: .9; max-width: 700px; }
@media (max-width: 768px) {
  .page-header { padding: 80px 0 40px; }
  .page-header h1 { font-size: 26px; }
}

/* ---- 11. 章节标题 ---- */
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 28px; font-weight: 700; color: #222; margin-bottom: 10px; }
.section-title p { font-size: 15px; color: #666; max-width: 600px; margin: 0 auto; }
@media (max-width: 768px) { .section-title h2 { font-size: 22px; } }

/* ---- 12. 证据数字模块 ---- */
.evidence-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.evidence-item { text-align: center; padding: 24px; }
.evidence-item .num { font-size: 36px; font-weight: 700; color: #2E7D32; line-height: 1; }
.evidence-item .num.gold { color: #C8A45C; }
.evidence-item .label { font-size: 14px; color: #666; margin-top: 8px; }

/* ---- 13. 产品卡片网格 ---- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---- 14. 时间轴 ---- */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 4px; bottom: 4px; width: 2px; background: #e0e0e0; }
.timeline-item { position: relative; padding-bottom: 28px; }
.timeline-item::before { content: ''; position: absolute; left: -28px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: #2E7D32; border: 3px solid #fff; box-shadow: 0 0 0 2px #2E7D32; }
.timeline-item .year { font-size: 14px; font-weight: 700; color: #C8A45C; margin-bottom: 4px; }
.timeline-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.timeline-item p { font-size: 14px; color: #666; }

/* ---- 15. FAQ ---- */
.faq-item { border-bottom: 1px solid #eee; }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; cursor: pointer; font-weight: 600; font-size: 16px; color: #222; }
.faq-question::after { content: '+'; font-size: 20px; color: #2E7D32; font-weight: 400; transition: transform .2s; }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner { padding: 0 0 20px; font-size: 15px; color: #555; line-height: 1.8; }

/* ---- 16. 表格 ---- */
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { background: #F5F7FA; text-align: left; padding: 14px 16px; font-weight: 600; color: #222; border-bottom: 2px solid #e0e0e0; }
.data-table td { padding: 14px 16px; border-bottom: 1px solid #eee; color: #444; }
.data-table tr:hover td { background: #FAFAFA; }
.data-table .highlight { color: #2E7D32; font-weight: 600; }

/* ---- 17. 表单 ---- */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 500; color: #444; margin-bottom: 6px; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 12px 14px; border: 1px solid #ddd; border-radius: 8px;
  font-size: 16px; transition: border-color .2s, box-shadow .2s; background: #fff;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none; border-color: #2E7D32; box-shadow: 0 0 0 3px rgba(46,125,50,.1);
}
.form-textarea { min-height: 120px; resize: vertical; }

/* ---- 18. 页脚 ---- */
.footer { background: #1a1a1a; color: #aaa; font-size: 14px; }
.footer a { color: #aaa; }
.footer a:hover { color: #fff; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 600; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; padding: 48px 0; }
.footer-bottom { border-top: 1px solid #333; padding: 20px 0; text-align: center; font-size: 13px; color: #777; }

/* ---- 19. 动画 ---- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate { animation: fadeInUp .6s ease both; }

/* ---- 20. 首页：首屏 Banner ---- */
.hero {
  position: relative; min-height: 720px; display: flex; align-items: center;
  background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 60%, #4CAF50 100%);
  color: #fff; overflow: hidden; padding-top: 80px;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { font-size: 42px; font-weight: 700; line-height: 1.3; margin-bottom: 16px; max-width: 700px; }
.hero .subtitle { font-size: 18px; opacity: .92; margin-bottom: 10px; max-width: 600px; }
.hero .badges { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero .badge { background: rgba(255,255,255,.15); backdrop-filter: blur(4px); padding: 6px 14px; border-radius: 20px; font-size: 13px; }
.hero .cta-group { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 768px) {
  .hero { min-height: 560px; padding-top: 70px; }
  .hero h1 { font-size: 28px; }
  .hero .subtitle { font-size: 15px; }
}

/* ---- 21. 案例卡片 ---- */
.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.case-card { background: #fff; border-radius: 12px; padding: 28px; box-shadow: 0 2px 8px rgba(0,0,0,.06); transition: box-shadow .2s; }
.case-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.case-card .case-type { font-size: 12px; font-weight: 600; color: #C8A45C; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.case-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; color: #222; }
.case-card .case-summary { font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 12px; }
.case-card .case-result { font-size: 13px; color: #2E7D32; font-weight: 500; }

/* ---- 22. 响应式网格 ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---- 23. 步骤/流程 ---- */
.steps { display: flex; gap: 16px; counter-reset: step; }
.step { flex: 1; background: #fff; border-radius: 12px; padding: 24px; position: relative; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -14px; left: 20px; width: 28px; height: 28px; background: #2E7D32; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.step h4 { font-size: 15px; font-weight: 600; margin: 10px 0 8px; }
.step p { font-size: 13px; color: #666; line-height: 1.6; }
@media (max-width: 768px) { .steps { flex-direction: column; } }

/* ---- 24. 内部链接模块（GEO优化） ---- */
.related-links { background: #fff; border-radius: 12px; padding: 24px; border-left: 4px solid #2E7D32; }
.related-links h4 { font-size: 16px; font-weight: 600; margin-bottom: 12px; color: #222; }
.related-links ul { display: flex; flex-wrap: wrap; gap: 10px; }
.related-links li a { display: inline-block; padding: 6px 14px; background: #F5F7FA; border-radius: 6px; font-size: 13px; color: #444; transition: background .2s; }
.related-links li a:hover { background: #E8F5E9; color: #2E7D32; }

/* ---- 25. 团队卡片 ---- */
.team-card { text-align: center; }
.team-card .avatar { width: 100px; height: 100px; border-radius: 50%; background: #E8F5E9; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 36px; color: #2E7D32; }
.team-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.team-card .role { font-size: 13px; color: #888; margin-bottom: 8px; }
.team-card .bio { font-size: 13px; color: #666; line-height: 1.6; }

/* ---- 26. 荣誉徽章 ---- */
.honor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.honor-item { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 10px; padding: 16px 20px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.honor-item .icon { width: 40px; height: 40px; border-radius: 8px; background: #FFF8E1; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.honor-item .title { font-size: 14px; font-weight: 600; color: #222; }
.honor-item .source { font-size: 12px; color: #888; }

/* ---- 27. 资源下载卡片 ---- */
.resource-card { display: flex; align-items: flex-start; gap: 20px; background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.resource-card .resource-icon { width: 56px; height: 56px; border-radius: 10px; background: #E8F5E9; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.resource-card .resource-meta { font-size: 12px; color: #888; margin-top: 4px; }

/* ---- 28. 打印优化 ---- */
@media print { .navbar, .mobile-cta, .btn { display: none !important; } body { background: #fff; font-size: 12pt; line-height: 1.5; } a { text-decoration: underline; color: #000; } }
