/*
Theme Name: 乐学时代教育
Theme URI: https://www.lexueshidai.com
Author: Lexue
Description: 乐学时代教育 - 专注成人学历提升与职业教育培训的WordPress主题，蓝色教育风设计，响应式布局。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: lexue-edu
*/

/* ============================================================
   乐学时代教育 - 主题样式
   主色: 教育蓝 #2b5de9 / 深蓝 #1b3a8f / 辅助金 #f5a623
   ============================================================ */

:root {
  --primary: #2b5de9;
  --primary-dark: #1b3a8f;
  --primary-light: #e8eeff;
  --accent: #f5a623;
  --accent-dark: #e0910a;
  --text-main: #2a2f3a;
  --text-sub: #6b7280;
  --bg-gray: #f5f7fb;
  --border: #e5e8f0;
  --white: #ffffff;
  --radius: 12px;
  --shadow-sm: 0 2px 8px rgba(27, 58, 143, 0.06);
  --shadow-md: 0 6px 24px rgba(27, 58, 143, 0.10);
  --shadow-lg: 0 12px 40px rgba(27, 58, 143, 0.16);
  --container: 1200px;
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background: var(--white);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------------- 顶部信息条 ---------------- */
.topbar { background: var(--primary-dark); color: rgba(255,255,255,0.85); font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topbar a { color: rgba(255,255,255,0.85); }
.topbar a:hover { color: var(--accent); }
.topbar .topbar-right { display: flex; gap: 20px; }

/* ---------------- 头部导航 ---------------- */
.header { position: sticky; top: 0; z-index: 1000; background: var(--white); box-shadow: var(--shadow-sm); height: var(--header-h); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 46px; width: auto; display: block; }
.footer .logo img { height: 40px; }
.logo-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px; font-weight: 800;
  box-shadow: 0 4px 12px rgba(43, 93, 233, 0.35);
}
.logo-text { line-height: 1.2; }
.logo-text strong { font-size: 21px; color: var(--primary-dark); letter-spacing: 1px; }
.logo-text span { display: block; font-size: 11px; color: var(--text-sub); letter-spacing: 2px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > li { position: relative; }
.main-nav > li > a { display: block; padding: 10px 16px; font-size: 15px; color: var(--text-main); border-radius: 8px; transition: all 0.25s; }
.main-nav > li > a:hover, .main-nav > li.current-menu-item > a, .main-nav > li.current-menu-ancestor > a { color: var(--primary); background: var(--primary-light); }
.main-nav .menu-item-has-children > a::after {
  content: ""; display: inline-block; width: 6px; height: 6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); margin-left: 6px; margin-bottom: 2px; transition: transform 0.25s;
}
.main-nav .menu-item-has-children:hover > a::after { transform: rotate(-135deg); }
.main-nav .sub-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 220px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.25s;
  z-index: 100;
}
.main-nav .menu-item-has-children:hover .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .sub-menu a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 14px; color: var(--text-main); transition: all 0.2s; }
.main-nav .sub-menu a:hover { background: var(--primary-light); color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 24px; border-radius: 8px; font-size: 15px; font-weight: 600;
  transition: all 0.25s; border: none; white-space: nowrap; cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(43,93,233,0.35); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(245,166,35,0.4); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-lg { padding: 14px 36px; font-size: 16px; border-radius: 10px; }
.btn-sm { padding: 7px 16px; font-size: 13px; border-radius: 6px; }

/* 汉堡菜单 */
.hamburger { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; border-radius: 8px; }
.hamburger span { width: 22px; height: 2px; background: var(--text-main); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- 通用区块 ---------------- */
.section { padding: 80px 0; }
.section-gray { background: var(--bg-gray); }
.section-blue { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head .eyebrow {
  display: inline-block; font-size: 13px; color: var(--primary);
  background: var(--primary-light); padding: 4px 16px; border-radius: 20px;
  font-weight: 600; margin-bottom: 14px; letter-spacing: 1px;
}
.section-head h2 { font-size: 32px; font-weight: 800; color: var(--text-main); letter-spacing: 1px; }
.section-head p { color: var(--text-sub); margin-top: 12px; font-size: 15px; }
.section-blue .section-head h2 { color: #fff; }
.section-blue .section-head p { color: rgba(255,255,255,0.8); }
.section-blue .section-head .eyebrow { background: rgba(255,255,255,0.15); color: #fff; }

/* ---------------- 首页 Hero ---------------- */
.hero {
  position: relative;
  background: linear-gradient(120deg, #16327a 0%, #2b5de9 55%, #4a7dff 100%);
  color: #fff; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 65%);
  top: -180px; right: -120px;
}
.hero::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 65%);
  bottom: -160px; left: -100px;
}
.hero .container {
  position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 60px; align-items: center; padding-top: 84px; padding-bottom: 84px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 18px; border-radius: 30px; font-size: 13px; margin-bottom: 22px;
}
.hero h1 { font-size: 46px; font-weight: 800; line-height: 1.25; letter-spacing: 2px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .sub { margin-top: 18px; font-size: 16px; color: rgba(255,255,255,0.85); max-width: 520px; }
.hero-actions { margin-top: 34px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-trust { margin-top: 30px; display: flex; gap: 32px; }
.hero-trust .item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.85); }
.hero-trust .item .dot {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}

/* 移动端表单折叠按钮 (桌面端隐藏, 表单本身在页面中) */
.hero-consult-btn { display: none; }

.hero-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px; padding: 30px; box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.hero-card h3 { font-size: 20px; margin-bottom: 4px; }
.hero-card .form-sub { font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 20px; }
.hero-card .field { margin-bottom: 14px; }
.hero-card label { display: block; font-size: 13px; margin-bottom: 6px; color: rgba(255,255,255,0.85); }
.hero-card .field input, .hero-card .field select {
  width: 100%; padding: 11px 14px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.12);
  color: #fff; font-size: 14px; outline: none;
}
.hero-card .field input::placeholder { color: rgba(255,255,255,0.5); }
.hero-card .field select option { color: var(--text-main); background: #fff; }
.hero-card .field input:focus, .hero-card .field select:focus { border-color: var(--accent); background: rgba(255,255,255,0.18); }
.hero-card .btn-accent { width: 100%; padding: 13px; font-size: 16px; margin-top: 6px; }
.hero-card .privacy { font-size: 12px; color: rgba(255,255,255,0.55); text-align: center; margin-top: 12px; }

/* ---------------- 数据看板 ---------------- */
.stats-strip {
  background: var(--white); box-shadow: var(--shadow-lg); border-radius: 20px;
  margin-top: -46px; position: relative; z-index: 5;
  display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden;
}
.stats-strip .stat { text-align: center; padding: 34px 20px; border-right: 1px solid var(--border); }
.stats-strip .stat:last-child { border-right: none; }
.stats-strip .stat .num { font-size: 38px; font-weight: 800; color: var(--primary); font-family: Georgia, "Times New Roman", serif; line-height: 1.2; }
.stats-strip .stat .num em { font-style: normal; font-size: 22px; margin-left: 2px; }
.stats-strip .stat .label { font-size: 14px; color: var(--text-sub); margin-top: 6px; }

/* ---------------- 业务板块 ---------------- */
.biz-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.biz-tab {
  padding: 10px 28px; border-radius: 30px; background: var(--white);
  border: 1.5px solid var(--border); font-size: 15px; font-weight: 600;
  color: var(--text-sub); transition: all 0.25s;
}
.biz-tab:hover { border-color: var(--primary); color: var(--primary); }
.biz-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(43,93,233,0.3); }

.biz-grid { display: none; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.biz-grid.active { display: grid; animation: fadeUp 0.5s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.biz-card {
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--border);
  padding: 28px 24px; transition: all 0.3s; position: relative; overflow: hidden; display: block;
}
.biz-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0; transition: opacity 0.3s;
}
.biz-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.biz-card:hover::before { opacity: 1; }
.biz-icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--primary-light);
  display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 18px;
  transition: all 0.3s;
}
.biz-icon .icon-img { width: 70%; height: 70%; object-fit: contain; display: block; }
.biz-card:hover .biz-icon { background: var(--primary); }
.biz-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.biz-card p { font-size: 13.5px; color: var(--text-sub); line-height: 1.65; }
.biz-card .biz-meta { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.biz-card .biz-meta span { font-size: 11.5px; color: var(--primary); background: var(--primary-light); padding: 3px 10px; border-radius: 20px; }
.biz-card .biz-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 18px; font-size: 13.5px; font-weight: 600; color: var(--primary); }
.biz-card .biz-link::after { content: "→"; transition: transform 0.2s; }
.biz-card:hover .biz-link::after { transform: translateX(4px); }

/* ---------------- 核心优势 ---------------- */
.advantage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.adv-card {
  background: var(--white); border-radius: var(--radius); padding: 32px 28px;
  border: 1px solid var(--border); transition: all 0.3s; position: relative;
}
.adv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.adv-card .adv-num {
  position: absolute; top: 20px; right: 24px; font-size: 44px; font-weight: 800;
  color: var(--primary-light); font-family: Georgia, serif; line-height: 1;
}
.adv-card .adv-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  margin-bottom: 18px; color: #fff; box-shadow: 0 6px 16px rgba(43,93,233,0.3);
}
.adv-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.adv-card p { font-size: 13.5px; color: var(--text-sub); }
.adv-card .adv-tag {
  display: inline-block; margin-top: 14px; font-size: 12px;
  color: var(--accent-dark); background: #fff7e6; padding: 3px 12px; border-radius: 20px; font-weight: 600;
}

/* ---------------- 流程 ---------------- */
.flow-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.flow-step { text-align: center; position: relative; }
.flow-step .step-circle {
  width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 2px solid rgba(255,255,255,0.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 800; color: var(--accent); position: relative;
}
.flow-step:not(:last-child) .step-circle::after {
  content: ""; position: absolute; left: calc(100% + 4px); top: 50%;
  width: calc(100% - 60px); border-top: 2px dashed rgba(255,255,255,0.35);
}
.flow-step h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; color: #fff; }
.flow-step p { font-size: 12.5px; color: rgba(255,255,255,0.7); }

/* ---------------- 新闻中心 ---------------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--border);
  overflow: hidden; transition: all 0.3s; display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-cover {
  height: 190px; background: linear-gradient(135deg, var(--primary-light), #dfe9ff);
  display: flex; align-items: center; justify-content: center; font-size: 44px;
  position: relative; overflow: hidden;
}
.news-cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(27,58,143,0.35), transparent 60%);
}
.news-cover .news-cat {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  font-size: 12px; color: #fff; background: var(--primary); padding: 3px 12px; border-radius: 20px;
}
.news-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.news-body .date { font-size: 12px; color: var(--text-sub); }
.news-body h4 { font-size: 16px; font-weight: 700; margin: 10px 0 8px; line-height: 1.5; }
.news-body h4:hover { color: var(--primary); }
.news-body p { font-size: 13px; color: var(--text-sub); flex: 1; }
.news-body .more-link { margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 4px; }
.news-body .more-link::after { content: "→"; transition: transform 0.2s; }
.news-card:hover .more-link::after { transform: translateX(4px); }

/* ---------------- CTA 横幅 ---------------- */
.cta-banner {
  background: linear-gradient(120deg, var(--primary) 0%, #4a7dff 100%);
  border-radius: 20px; padding: 48px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-banner::after {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,0.08); right: -80px; top: -120px;
}
.cta-banner h3 { font-size: 26px; color: #fff; font-weight: 800; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-top: 8px; font-size: 14.5px; }
.cta-banner .btn-light { position: relative; z-index: 2; }

/* ---------------- 页脚 ---------------- */
.footer { background: #141b2e; color: #a7b0c3; font-size: 13.5px; }
.footer-top { padding: 60px 0 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 20px; font-weight: 700; }
.footer .footer-brand p { margin-top: 16px; line-height: 1.8; font-size: 13px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #a7b0c3; transition: all 0.2s; }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; align-items: flex-start; }
.footer-contact .icon { color: var(--accent); }
.footer-contact a { color: #a7b0c3; }
.footer-contact a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0; text-align: center; font-size: 12.5px; color: #6d7689; }
.footer-bottom a { color: #6d7689; }
.footer-bottom a:hover { color: var(--accent); }

/* ---------------- 浮动客服 ---------------- */
.float-widgets { position: fixed; right: 20px; bottom: 40px; z-index: 900; display: flex; flex-direction: column; gap: 12px; }
.float-btn {
  width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff; box-shadow: var(--shadow-lg); transition: all 0.25s; position: relative;
}
.float-btn:hover { transform: scale(1.08); }
.float-btn.phone { background: var(--primary); }
.float-btn.wechat { background: #07c160; }
.float-btn.top { background: var(--text-main); opacity: 0; pointer-events: none; }
.float-btn.top.show { opacity: 1; pointer-events: auto; }
.float-btn .tip {
  position: absolute; right: 62px; top: 50%; transform: translateY(-50%) translateX(8px);
  background: var(--text-main); color: #fff; font-size: 12.5px; padding: 6px 14px;
  border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: all 0.25s;
}
.float-btn:hover .tip { opacity: 1; transform: translateY(-50%) translateX(0); }
.wechat-pop {
  position: fixed; right: 82px; bottom: 100px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 20px; text-align: center; z-index: 901;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.25s;
}
.wechat-pop.show { opacity: 1; visibility: visible; transform: translateY(0); }
.wechat-pop .qr-box {
  width: 150px; height: 150px; background: var(--bg-gray); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 11px; color: #999; margin-bottom: 10px;
}
.wechat-pop p { font-size: 13px; color: var(--text-sub); }

/* ---------------- 内页 Hero ---------------- */
.page-hero {
  background: linear-gradient(120deg, #16327a 0%, #2b5de9 60%, #4a7dff 100%);
  color: #fff; padding: 56px 0; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 65%);
  top: -140px; right: -80px;
}
.page-hero h1 { font-size: 36px; font-weight: 800; letter-spacing: 2px; }
.page-hero p { margin-top: 12px; color: rgba(255,255,255,0.85); max-width: 640px; margin-left: auto; margin-right: auto; }
.breadcrumb { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,0.7); }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 8px; }

/* ---------------- 项目卡片 (业务列表页) ---------------- */
.proj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.proj-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all 0.3s; }
.proj-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.proj-head { padding: 28px 30px; background: linear-gradient(120deg, var(--primary-light), #dfe9ff); display: flex; align-items: center; gap: 16px; }
.proj-head .icon { width: 54px; height: 54px; border-radius: 12px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; }
.proj-head h3 { font-size: 20px; font-weight: 800; }
.proj-head p { font-size: 13px; color: var(--text-sub); }
.proj-tags { display: flex; gap: 8px; flex-wrap: wrap; padding: 18px 30px 4px; }
.proj-tags span { font-size: 12px; color: var(--primary); background: var(--primary-light); padding: 4px 12px; border-radius: 20px; font-weight: 600; }
.proj-params { padding: 14px 30px 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.proj-params .param { display: flex; justify-content: space-between; align-items: center; background: var(--bg-gray); padding: 10px 16px; border-radius: 8px; font-size: 13.5px; }
.proj-params .param .k { color: var(--text-sub); }
.proj-params .param .v { font-weight: 600; color: var(--text-main); }
.proj-foot { padding: 0 30px 28px; }
.proj-foot .btn { width: 100%; }

/* ---------------- 新闻列表页 ---------------- */
.news-list { display: flex; flex-direction: column; gap: 18px; }
.news-item {
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  padding: 26px 30px; display: flex; gap: 26px; align-items: flex-start; transition: all 0.3s;
}
.news-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.news-item .ni-date { background: var(--primary-light); border-radius: 10px; padding: 10px 14px; text-align: center; min-width: 66px; flex-shrink: 0; }
.news-item .ni-date .d { font-size: 22px; font-weight: 800; color: var(--primary); line-height: 1.2; }
.news-item .ni-date .m { font-size: 12px; color: var(--primary-dark); }
.news-item h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.news-item h4 a:hover { color: var(--primary); }
.news-item p { font-size: 13.5px; color: var(--text-sub); }
.news-item .ni-meta { margin-top: 10px; font-size: 12.5px; color: var(--text-sub); display: flex; gap: 16px; }
.news-item .ni-meta .cat { color: var(--primary); font-weight: 600; }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  padding: 0 8px; border-radius: 8px; background: var(--white); border: 1px solid var(--border);
  font-size: 14px; transition: all 0.2s;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .current, .page-numbers.current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------------- 详情页 ---------------- */
.detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.detail-main { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 40px; }
.detail-main h2 { font-size: 24px; margin: 32px 0 14px; padding-left: 14px; border-left: 4px solid var(--primary); line-height: 1.4; }
.detail-main h2:first-child { margin-top: 0; }
.detail-main h3 { font-size: 18px; margin: 24px 0 10px; color: var(--primary-dark); }
.detail-main p { margin-bottom: 14px; color: #3d4453; }
.detail-main ul { margin-bottom: 16px; }
.detail-main ul li { padding: 6px 0 6px 24px; position: relative; color: #3d4453; }
.detail-main ul li::before { content: ""; position: absolute; left: 6px; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.detail-sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 20px; }
.side-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.side-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--primary-light); }
.side-card .form-item { margin-bottom: 12px; }
.side-card .form-item input, .side-card .form-item select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 14px; outline: none; background: var(--bg-gray); transition: all 0.2s;
}
.side-card .form-item input:focus, .side-card .form-item select:focus { border-color: var(--primary); background: #fff; }
.side-card .btn { width: 100%; }
.side-links li { margin-bottom: 8px; }
.side-links a { display: block; padding: 10px 14px; border-radius: 8px; background: var(--bg-gray); font-size: 14px; transition: all 0.2s; }
.side-links a:hover, .side-links a.active { background: var(--primary); color: #fff; }
.side-contact .contact-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 14px; }
.side-contact .contact-row .icon { width: 34px; height: 34px; border-radius: 8px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }

/* ---------------- 关于我们 ---------------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.about-img {
  border-radius: 18px; background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  min-height: 380px; display: flex; align-items: center; justify-content: center;
  font-size: 90px; color: rgba(255,255,255,0.85); position: relative; overflow: hidden;
}
.about-img::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,0.1); right: -80px; bottom: -80px; }
.about-text h2 { font-size: 30px; font-weight: 800; margin-bottom: 20px; line-height: 1.4; }
.about-text h2 em { color: var(--primary); font-style: normal; }
.about-text p { color: var(--text-sub); margin-bottom: 16px; }
.about-points { margin-top: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.about-points li { display: flex; align-items: center; gap: 10px; background: var(--bg-gray); padding: 12px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.about-points li .check { width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }

/* 发展历程 */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 14px; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--primary), var(--primary-light)); border-radius: 3px; }
.timeline-item { position: relative; padding: 0 0 40px 30px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: -32px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 4px solid var(--primary); box-shadow: 0 0 0 4px var(--primary-light); }
.timeline-item .year { font-size: 15px; font-weight: 800; color: var(--primary); background: var(--primary-light); display: inline-block; padding: 3px 14px; border-radius: 20px; margin-bottom: 10px; }
.timeline-item h4 { font-size: 17px; margin-bottom: 6px; }
.timeline-item p { color: var(--text-sub); font-size: 14px; }

/* 文章正文 */
.entry-content { color: #3d4453; line-height: 1.9; }
.entry-content h2, .entry-content h3 { margin: 28px 0 14px; color: var(--text-main); }
.entry-content p { margin-bottom: 16px; }
.entry-content img { border-radius: 10px; margin: 16px 0; }
.entry-content ul, .entry-content ol { margin: 0 0 16px 24px; }
.entry-content ul li { list-style: disc; }
.entry-content ol li { list-style: decimal; }
.entry-content a { color: var(--primary); }
.entry-content blockquote { border-left: 4px solid var(--primary); background: var(--primary-light); padding: 16px 20px; margin: 16px 0; border-radius: 0 10px 10px 0; }

/* 表单成功提示 */
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.form-success .ok-icon { width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 28px; }
.form-success h4 { font-size: 18px; margin-bottom: 6px; }
.form-success p { font-size: 13px; color: rgba(255,255,255,0.75); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .flow-step:nth-child(3) .step-circle::after { display: none; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 36px; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .topbar .container { height: 32px; }
  .topbar .topbar-right { display: none; }
  .hamburger { display: flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 12px 20px 24px; box-shadow: var(--shadow-md); gap: 2px;
    transform: translateY(-16px); opacity: 0; visibility: hidden; transition: all 0.3s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav > li > a { padding: 12px 10px; border-radius: 8px; }
  .main-nav .sub-menu { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; padding-left: 12px; }
  .main-nav .menu-item-has-children.open .sub-menu { display: block; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stats-strip .stat:nth-child(2) { border-right: none; }
  .stats-strip .stat { border-bottom: 1px solid var(--border); }
  .proj-grid { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .section-head { margin-bottom: 34px; }
  .section-head h2 { font-size: 24px; }
  .hero h1 { font-size: 28px; }
  .hero .sub { font-size: 14px; }
  .hero-trust { flex-wrap: wrap; gap: 14px; }
  .cta-banner { padding: 36px 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .proj-params { grid-template-columns: 1fr; }
  .flow-step .step-circle::after { display: none; }
  .news-item { flex-direction: column; padding: 20px; }
  .detail-main { padding: 24px; }
  .about-points { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 28px; }

  /* ---- 业务热门卡 2x2 两排 ---- */
  .biz-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .biz-card { padding: 18px 16px; }
  .biz-card .biz-icon { font-size: 22px; line-height: 1; white-space: nowrap; margin-bottom: 12px; }
  .biz-card .biz-meta span { font-size: 11px; padding: 2px 8px; }

  /* ---- 核心优势: 3 条图标行 ---- */
  .advantage-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .adv-card { padding: 18px 10px; }
  .adv-card .adv-num, .adv-card .adv-tag, .adv-card p { display: none; }
  .adv-card .adv-icon { margin-bottom: 10px; }
  .adv-card h4 { font-size: 14px; margin-bottom: 0; }

  /* ---- 办理流程: 完整网格显示 ---- */
  .flow-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; overflow: visible; }
  .flow-step { flex: none; }

  /* ---- 新闻中心: 横向卡片列表 (3篇) ---- */
  .news-grid { grid-template-columns: 1fr; gap: 12px; }
  .news-grid > :nth-child(n+4) { display: none; }
  .news-card { flex-direction: row; align-items: stretch; padding: 0; }
  .news-card .news-cover { width: 108px; height: auto; min-height: 96px; flex-shrink: 0; font-size: 28px; }
  .news-card .news-body { flex: 1; padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; }
  .news-card .news-body .date { display: block; }
  .news-card .news-body p { display: block; font-size: 12.5px; }
  .news-card .news-body .more-link { display: none; }
  .news-card .news-body h4 { font-size: 15px; line-height: 1.5; }

  /* ---- Hero 表单折叠为弹层 ---- */
  .hero-consult-btn { display: inline-flex !important; position: relative; z-index: 5; }
  .hero-card {
    display: none !important;
    position: fixed; left: 4%; right: 4%; top: 9vh; z-index: 1002;
    max-height: 82vh; overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    background: #ffffff !important;
    border: 1px solid #e2e8f0;
  }
  .hero-card.show { display: block !important; }
  .hero-card h3 { color: #1f2d3d !important; }
  .hero-card .form-sub { color: #64748b !important; }
  .hero-card label { color: #1f2d3d !important; }
  .hero-card .field input, .hero-card .field select {
    background: #fff !important; color: #1f2d3d !important;
    border: 1px solid #cbd5e1 !important; border-radius: 8px;
  }
  .hero-card .field input::placeholder { color: #94a3b8 !important; }
  .hero-card .privacy { color: #64748b !important; margin-bottom: 0; }
  .hero-card .form-success h4 { color: #1f2d3d !important; }
  .hero-card .form-success p { color: #64748b !important; }
  .consult-close {
    position: absolute; top: 12px; right: 12px; width: 32px; height: 32px;
    border: none; border-radius: 50%; background: #f1f5f9;
    color: #334155; font-size: 22px; line-height: 1; cursor: pointer; z-index: 5;
  }
  .hero-mask {
    position: fixed; inset: 0; background: rgba(15,23,42,0.55); z-index: 1001;
    opacity: 0; visibility: hidden; transition: all 0.3s;
  }
  .hero-mask.show { opacity: 1; visibility: visible; }
}

/* 滚动进入动画 */
.reveal { opacity: 0; transform: translateY(26px); transition: all 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ==================== 关于我们 ==================== */
/* 三特性 */
.about-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  text-align: center; padding: 36px 28px; border-radius: 14px;
  background: var(--white); border: 1px solid var(--border);
  box-shadow: 0 6px 20px rgba(31,45,61,0.05); transition: all 0.3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(31,45,61,0.1); }
.feature .f-icon { font-size: 40px; margin-bottom: 14px; }
.feature h4 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text-main); }
.feature p { font-size: 13.5px; color: var(--text-sub); line-height: 1.7; }

/* 我们的故事 */
.about-story { max-width: 820px; margin: 0 auto; }
.about-story p { font-size: 15px; line-height: 2; color: var(--text-main); margin-bottom: 16px; text-indent: 2em; }
.story-quote {
  margin-top: 30px; text-align: center; font-size: 24px; font-weight: 800;
  color: var(--primary); letter-spacing: 4px; padding: 22px 0;
  border-top: 2px solid var(--border); border-bottom: 2px solid var(--border);
}

/* 使命与愿景 */
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mission-card {
  padding: 34px 26px; border-radius: 14px; background: var(--white);
  border: 1px solid var(--border); border-top: 4px solid var(--primary);
  box-shadow: 0 6px 20px rgba(31,45,61,0.05); transition: all 0.3s;
}
.mission-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(31,45,61,0.1); }
.mission-card .m-label {
  display: inline-block; padding: 4px 14px; border-radius: 20px;
  background: var(--primary-light); color: var(--primary); font-weight: 700; font-size: 14px; margin-bottom: 14px;
}
.mission-card p { font-size: 14px; line-height: 1.9; color: var(--text-main); }

/* 发展历程时间线 */
.timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 40px; }
.timeline::before {
  content: ''; position: absolute; left: 12px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--primary-light));
}
.tl-item { position: relative; padding: 0 0 34px 18px; }
.tl-item::before {
  content: ''; position: absolute; left: -34px; top: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--white); border: 3px solid var(--primary);
}
.tl-item:last-child { padding-bottom: 0; }
.tl-year {
  display: inline-block; font-size: 13px; font-weight: 800; color: var(--primary);
  background: var(--primary-light); padding: 2px 12px; border-radius: 12px; margin-bottom: 8px;
}
.tl-body h4 { font-size: 17px; font-weight: 700; color: var(--text-main); margin-bottom: 6px; }
.tl-body p { font-size: 13.5px; color: var(--text-sub); line-height: 1.8; }

/* 核心团队 */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
  text-align: center; padding: 32px 20px; border-radius: 14px; background: var(--white);
  border: 1px solid var(--border); box-shadow: 0 6px 20px rgba(31,45,61,0.05); transition: all 0.3s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(31,45,61,0.1); }
.t-avatar {
  width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; font-size: 28px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.team-card h4 { font-size: 17px; font-weight: 700; color: var(--text-main); }
.t-role { display: block; font-size: 12.5px; color: var(--primary); font-weight: 600; margin: 6px 0 10px; }
.team-card p { font-size: 13px; color: var(--text-sub); line-height: 1.7; }

/* ==================== 文章上下篇导航 ==================== */
.post-nav {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--border);
}
.post-nav-item { flex: 1; min-width: 0; }
.post-nav-item.next { text-align: right; }
.post-nav-item span { display: block; font-size: 12px; color: var(--text-sub); margin-bottom: 6px; }
.post-nav-item a {
  display: block; font-size: 14px; color: var(--text-main); line-height: 1.6;
  padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--white); transition: all 0.2s; word-break: break-all;
}
.post-nav-item a:hover { color: var(--primary); border-color: var(--primary); box-shadow: 0 4px 12px rgba(43,93,233,0.08); }

/* 关于我们响应式 */
@media (max-width: 1024px) {
  .about-features, .mission-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .about-features, .mission-grid, .team-grid { grid-template-columns: 1fr; }
  .timeline { padding-left: 28px; }
  .tl-item { padding-left: 12px; }
}
