/* ============================================================
   峰创智诚营销官网 品牌样式
   主色: 深蓝 #0a2a5e / 蓝 #1450a0 / 金 #c9a227
   ============================================================ */
:root {
  --blue-dark: #0a2a5e;
  --blue: #1450a0;
  --blue-light: #1f6fd0;
  --gold: #c9a227;
  --gold-light: #e8c766;
  --gray-bg: #f5f7fb;
  --gray-text: #5a6577;
  --dark: #1c2430;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(10, 42, 94, 0.08);
}

* { 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(--dark); line-height: 1.7; background: #fff; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.mt-3 { margin-top: 30px; }
.light { color: #eaf1ff; }
.gold { color: var(--gold-light); }

/* ---------- 按钮 ---------- */
.btn { display: inline-block; padding: 12px 32px; border-radius: 50px; font-size: 15px; font-weight: 600; border: 2px solid transparent; cursor: pointer; transition: all .25s; }
.btn-gold { background: linear-gradient(135deg, var(--gold), #d9b64d); color: #1c2430; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201, 162, 39, .35); }
.btn-outline { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.15); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-light); transform: translateY(-2px); }
.btn-lg { padding: 14px 44px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- 头部导航 ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); box-shadow: 0 1px 10px rgba(10,42,94,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 42px; width: auto; }
.logo-text { font-size: 22px; font-weight: 700; color: var(--blue-dark); display: flex; align-items: baseline; gap: 6px; }
.logo-text small { font-size: 12px; color: var(--gold); font-weight: 600; letter-spacing: 2px; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-size: 15px; color: var(--dark); position: relative; padding: 6px 0; transition: color .2s; }
.main-nav a:hover, .main-nav a.active { color: var(--blue); }
.main-nav a.active::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--gold); border-radius: 2px; }
.main-nav .btn-contact { background: var(--blue); color: #fff; padding: 8px 22px; border-radius: 50px; }
.main-nav .btn-contact:hover { background: var(--blue-light); }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--blue-dark); cursor: pointer; }

/* ---------- Hero 轮播大图 ---------- */
.hero-slider { position: relative; height: 540px; overflow: hidden; background: #071d40; }
.slider-track { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; background-size: cover; background-position: center; }
.slide.active { opacity: 1; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px;
  border: none; border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; font-size: 30px; line-height: 1;
  cursor: pointer; transition: background .2s; }
.slider-btn:hover { background: rgba(0,0,0,.6); }
.slider-prev { left: 18px; }
.slider-next { right: 18px; }
.slider-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 8px; }
.slider-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; transition: background .2s; }
.slider-dots .dot.active { background: var(--gold); }
.hero-cta { position: absolute; right: 6%; bottom: 60px; z-index: 3; display: flex; gap: 14px; }
.hero-cta .btn-outline { background: rgba(255,255,255,.15); border-color: #fff; color: #fff; }

/* ---------- Section ---------- */
.section { padding: 72px 0; }
.section-gray { background: var(--gray-bg); }
.section-blue { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); }
.section-title { font-size: 30px; font-weight: 800; color: var(--blue-dark); text-align: center; margin-bottom: 10px; }
.section-title small { display: block; font-size: 13px; color: var(--gold); font-weight: 600; letter-spacing: 4px; text-transform: uppercase; margin-top: 6px; }
.section-blue .section-title { color: #fff; }
.section-sub { text-align: center; color: var(--gray-text); margin-bottom: 36px; }

/* ---------- Grid ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

/* ---------- Card ---------- */
.card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(10,42,94,.14); }
.card-icon { font-size: 40px; margin-bottom: 14px; }
.card h3 { font-size: 18px; color: var(--blue-dark); margin-bottom: 10px; }
.card p { color: var(--gray-text); font-size: 14px; }
.card-more { display: inline-block; margin-top: 12px; color: var(--blue); font-weight: 600; font-size: 14px; }
.card.center { text-align: center; }

/* ---------- 业务卡片 ---------- */
.biz-card { display: block; }
.biz-card .card-icon { font-size: 36px; }

/* ---------- 创始人 ---------- */
.founder-photo { height: 220px; background-size: cover; background-position: top center; border-radius: 8px 8px 0 0; margin: -28px -28px 18px; background-color: var(--gray-bg); }
.founder-card { text-align: center; padding-top: 0; }
.founder-card h3 { margin-top: 0; }
.founder-role { color: var(--gold); font-weight: 600; font-size: 14px; }

/* ---------- 资讯卡片 ---------- */
.news-card { display: block; padding: 0; overflow: hidden; }
.news-cover { height: 170px; background-size: cover; background-position: center; background-color: var(--gray-bg); }
.news-body { padding: 18px 22px 22px; }
.news-body h3 { font-size: 17px; margin: 8px 0; line-height: 1.4; }
.news-summary { font-size: 13px; color: var(--gray-text); margin-bottom: 10px; }
.news-date { font-size: 12px; color: #9aa4b5; }
.tag { display: inline-block; background: rgba(31,111,208,.1); color: var(--blue); font-size: 12px; padding: 3px 12px; border-radius: 20px; font-weight: 600; }
.tag-blue { background: rgba(31,111,208,.1); color: var(--blue); }

/* ---------- 客户墙 ---------- */
.client-wall { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.client-logo { display: inline-flex; align-items: center; justify-content: center; min-width: 130px; padding: 14px 20px; background: var(--gray-bg); border-radius: 8px; font-size: 15px; color: var(--blue-dark); font-weight: 600; border: 1px solid #e6ebf3; transition: all .2s; }
.client-logo:hover { background: #fff; border-color: var(--gold); box-shadow: var(--shadow); }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(135deg, var(--gold), #d9b64d); }
.cta-inner { text-align: center; padding: 64px 20px; color: #1c2430; }
.cta h2 { font-size: 30px; margin-bottom: 8px; }
.cta p { margin-bottom: 24px; font-size: 16px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--blue-dark); color: rgba(255,255,255,.75); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 56px 0 40px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; position: relative; padding-bottom: 8px; }
.footer-col h4::after { content: ""; position: absolute; bottom: 0; left: 0; width: 28px; height: 2px; background: var(--gold); }
.footer-col p, .footer-col li { font-size: 13px; margin-bottom: 8px; }
.footer-col a:hover { color: var(--gold-light); }
.footer-qr { width: 96px; height: 96px; margin-top: 8px; background: #fff; padding: 4px; border-radius: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,.5); }

/* ---------- 页面横幅 ---------- */
.page-hero { background: linear-gradient(135deg, #071d40, var(--blue)); color: #fff; padding: 64px 0; text-align: center; }
.page-hero h1 { font-size: 36px; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,.8); }

/* ---------- 时间线 ---------- */
.timeline { max-width: 700px; margin: 0 auto; position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--gold), var(--blue-light)); }
.tl-item { position: relative; margin-bottom: 28px; }
.tl-item::before { content: ""; position: absolute; left: -29px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--gold); }
.tl-year { display: block; font-weight: 800; color: var(--blue); font-size: 16px; }
.tl-item p { color: var(--gray-text); }

/* ---------- 资质 ---------- */
.badge-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.badge { padding: 10px 24px; background: #fff; border: 1px solid #dde5f1; border-radius: 40px; color: var(--blue-dark); font-weight: 600; font-size: 14px; box-shadow: var(--shadow); }

/* ---------- CEO 页 ---------- */
.ceo-wrap { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: start; }
.ceo-photo { height: 440px; background-size: cover; background-position: top center; border-radius: var(--radius); box-shadow: var(--shadow); background-color: var(--gray-bg); }
.ceo-sign { margin-top: 20px; color: var(--blue-dark); font-weight: 600; }

/* ---------- 团队页 ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.team-card { padding: 0; overflow: hidden; text-align: center; }
.team-photo { height: 300px; background-size: cover; background-position: top center; background-color: var(--gray-bg); }
.team-card h3 { margin-top: 20px; }
.team-card .founder-role { margin-bottom: 10px; }
.team-bio { padding: 0 24px 24px; text-align: left; font-size: 13px; }

/* ---------- 业务页 ---------- */
.scope-card ul { margin-top: 14px; }
.scope-card li { padding: 6px 0 6px 22px; position: relative; color: var(--gray-text); font-size: 14px; border-bottom: 1px dashed #eef2f8; }
.scope-card li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.process-row { display: flex; align-items: stretch; justify-content: center; gap: 20px; flex-wrap: wrap; }
.process-step { flex: 1; min-width: 180px; text-align: center; background: #fff; border-radius: var(--radius); padding: 24px 16px; box-shadow: var(--shadow); }
.step-num { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 12px; }
.process-arrow { align-self: center; font-size: 24px; color: var(--gold); }

/* ---------- 案例页 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case-card .case-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.case-client { font-size: 12px; color: #9aa4b5; }
.case-desc { font-size: 14px; margin-top: 8px; }

/* ---------- 资讯列表 ---------- */
.cat-tabs { display: flex; gap: 12px; justify-content: center; margin-bottom: 36px; flex-wrap: wrap; }
.cat-tabs a { padding: 8px 24px; border-radius: 40px; border: 1px solid #dde5f1; color: var(--gray-text); font-size: 14px; transition: all .2s; }
.cat-tabs a:hover { border-color: var(--blue); color: var(--blue); }
.cat-tabs a.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.pagination { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 36px; }
.pagination a { padding: 8px 20px; border: 1px solid #dde5f1; border-radius: 40px; font-size: 14px; }
.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.page-info { color: var(--gray-text); font-size: 14px; }
.empty-tip { color: var(--gray-text); padding: 60px 0; font-size: 15px; }

/* ---------- 文章详情 ---------- */
.article-page { padding: 56px 0 80px; }
.article-header { max-width: 860px; margin: 0 auto 28px; }
.breadcrumb { font-size: 13px; color: #9aa4b5; margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--blue); }
.article-header h1 { font-size: 32px; color: var(--blue-dark); margin-bottom: 14px; line-height: 1.35; }
.article-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #9aa4b5; }
.article-tags { color: var(--blue); }
.article-cover { height: 380px; background-size: cover; background-position: center; border-radius: var(--radius); margin-bottom: 32px; }
.article-body { max-width: 860px; margin: 0 auto; font-size: 16px; color: #3d4657; }
.article-body img { max-width: 100%; max-height: 280px; width: auto; height: auto; min-width: 180px; min-height: 120px; display: block; margin: 18px auto; border-radius: 8px; object-fit: contain; cursor: zoom-in; }
.article-body img[width][height] { object-fit: cover; max-height: 280px; min-height: 120px; }
.article-body h2, .article-body h3 { color: var(--blue-dark); margin: 28px 0 12px; }
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol { margin: 0 0 16px 22px; }
.article-body li { margin-bottom: 6px; }
.article-body blockquote { border-left: 4px solid var(--gold); background: var(--gray-bg); padding: 14px 20px; margin: 20px 0; border-radius: 0 8px 8px 0; color: var(--gray-text); }
.article-body table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.article-body th, .article-body td { border: 1px solid #e6ebf3; padding: 10px 14px; font-size: 14px; }
.article-body th { background: var(--gray-bg); color: var(--blue-dark); }
.related { max-width: 860px; margin: 48px auto 0; padding-top: 36px; border-top: 1px solid #eef2f8; }
.related h3 { color: var(--blue-dark); margin-bottom: 20px; }

/* ---------- 联系页 ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
.contact-info h2, .contact-form-wrap h2 { color: var(--blue-dark); margin-bottom: 24px; }
.ci-item { display: flex; gap: 16px; margin-bottom: 22px; }
.ci-icon { font-size: 28px; }
.ci-item h4 { color: var(--blue-dark); font-size: 15px; }
.ci-item p { color: var(--gray-text); font-size: 14px; }
.contact-qr { width: 130px; height: 130px; border-radius: 8px; border: 1px solid #e6ebf3; }
.qr-tip { font-size: 13px; color: #9aa4b5; margin-top: 8px; }
.contact-form-wrap { background: var(--gray-bg); padding: 36px; border-radius: var(--radius); }
.form-tip { color: var(--gray-text); font-size: 14px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 13px; color: var(--blue-dark); font-weight: 600; margin-bottom: 6px; }
.form-field input, .form-field textarea { width: 100%; padding: 12px 14px; border: 1px solid #dde5f1; border-radius: 8px; font-size: 14px; font-family: inherit; background: #fff; transition: border .2s; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20,80,160,.1); }
.form-msg { margin-top: 12px; font-size: 14px; font-weight: 600; }
.form-msg.ok { color: #1a9e5c; }
.form-msg.err { color: #d64545; }

/* ---------- IM 悬浮 ---------- */
#im-root { position: fixed; right: 24px; bottom: 24px; z-index: 9999; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; }
.im-fab { display: flex; align-items: center; gap: 8px; background: linear-gradient(135deg, var(--blue), var(--blue-light)); color: #fff; padding: 12px 20px; border-radius: 50px; box-shadow: 0 8px 24px rgba(10,42,94,.35); cursor: pointer; border: none; font-size: 15px; font-weight: 600; transition: transform .2s; }
.im-fab:hover { transform: translateY(-2px); }
.im-fab .im-pulse { width: 10px; height: 10px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.25); }
.im-window { position: fixed; right: 24px; bottom: 88px; width: 380px; height: 560px; background: #fff; border-radius: 14px; box-shadow: 0 16px 48px rgba(10,42,94,.3); overflow: hidden; display: none; }
.im-window.open { display: block; animation: imPop .25s ease; }
.im-window iframe { width: 100%; height: 100%; border: 0; }
@keyframes imPop { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ceo-wrap { grid-template-columns: 1fr; }
  .ceo-photo { height: 320px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px; box-shadow: 0 10px 30px rgba(10,42,94,.12); gap: 4px; }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .grid-5, .case-grid, .team-grid { grid-template-columns: 1fr; }
  .hero-slider { height: 360px; }
  .hero-cta { right: 50%; transform: translateX(50%); bottom: 44px; }
  .hero-cta .btn { padding: 10px 18px; font-size: 14px; }
  .slider-btn { width: 36px; height: 36px; font-size: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .im-window { width: calc(100vw - 32px); height: 60vh; right: 16px; }
}

/* ============ 文章图片 Lightbox（点击放大，0811） ============ */
.img-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.85); display: none; align-items: center; justify-content: center; cursor: zoom-out; padding: 24px; }
.img-lightbox.show { display: flex; }
.img-lightbox img { max-width: 92vw; max-height: 92vh; object-fit: contain; border-radius: 6px; box-shadow: 0 10px 60px rgba(0,0,0,.6); cursor: zoom-out; }
