/* ============================================
   牡丹江保税物流中心（B型）官方网站 - 前台样式
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: #333; background: #fff; font-size: 15px; line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ---------- 顶部信息条 ---------- */
.topbar { background: #0B3D74; color: #dbe7f5; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar .sep { margin: 0 8px; color: #3f6690; }

/* ---------- 头部与导航 ---------- */
.site-header { background: #fff; border-bottom: 2px solid #0B4C8C; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(11,76,140,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 86px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { flex: none; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-size: 22px; font-weight: 700; color: #0B4C8C; letter-spacing: 1px; }
.logo-en { font-size: 10px; color: #8aa3bd; letter-spacing: .6px; margin-top: 2px; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a { display: block; padding: 10px 16px; font-size: 15px; color: #2b3a4c; border-radius: 4px; }
.main-nav a:hover { color: #0B4C8C; background: #eef4fb; }
.main-nav a.active { color: #fff; background: #0B4C8C; }
.nav-toggle { display: none; background: none; border: 1px solid #c9d8e8; border-radius: 4px; font-size: 20px; padding: 4px 10px; cursor: pointer; color: #0B4C8C; }

/* ---------- 轮播图 ---------- */
.banner { position: relative; overflow: hidden; background: #0B3D74; }
.banner-slide { position: relative; height: 520px; background-size: cover; background-position: center; display: none; }
.banner-slide.active { display: block; animation: fadeIn .8s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.banner-mask { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,32,66,.78) 0%, rgba(5,32,66,.45) 45%, rgba(5,32,66,.15) 100%); }
.banner-text { position: relative; z-index: 2; padding-top: 170px; color: #fff; }
.banner-text h2 { font-size: 40px; font-weight: 700; letter-spacing: 2px; text-shadow: 0 2px 10px rgba(0,0,0,.3); }
.banner-text p { margin-top: 14px; font-size: 18px; color: #e6eef8; letter-spacing: 1px; }
.banner-btn { display: inline-block; margin-top: 26px; padding: 11px 34px; background: #E8B13A; color: #1d2c3f; font-size: 15px; border-radius: 4px; font-weight: 600; box-shadow: 0 4px 14px rgba(232,177,58,.35); }
.banner-btn:hover { background: #f0c053; }
.banner-dots { position: absolute; bottom: 24px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.banner-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.45); cursor: pointer; }
.banner-dots i.active { background: #E8B13A; }
.banner-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border: none; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; font-size: 26px; cursor: pointer; line-height: 1; }
.banner-arrow:hover { background: rgba(232,177,58,.85); }
.banner-arrow.prev { left: 18px; }
.banner-arrow.next { right: 18px; }

/* ---------- 数据亮点 ---------- */
.stats { background: #0B4C8C; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 0; }
.stat { text-align: center; color: #fff; border-right: 1px solid rgba(255,255,255,.18); }
.stat:last-child { border-right: none; }
.stat-num { font-size: 44px; font-weight: 700; color: #E8B13A; display: inline; }
.stat-unit { font-size: 18px; color: #E8B13A; margin-left: 4px; }
.stat-label { margin-top: 6px; font-size: 14px; color: #cfe0f2; letter-spacing: 1px; }

/* ---------- 通用区块 ---------- */
.section { padding: 56px 0; }
.section-gray { background: #f4f7fb; }
.section-blue { background: #0B4C8C; }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head h3 { font-size: 28px; color: #123a63; position: relative; display: inline-block; padding-bottom: 10px; }
.section-head h3::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 46px; height: 3px; background: #E8B13A; border-radius: 2px; }
.section-head p { margin-top: 10px; font-size: 12px; color: #9db3c9; letter-spacing: 3px; }
.section-head.left { text-align: left; margin-bottom: 20px; }
.section-head.left h3 { padding-left: 14px; }
.section-head.left h3::before { content: ""; position: absolute; left: 0; top: 4px; width: 5px; height: 26px; background: #0B4C8C; border-radius: 3px; }
.section-head.left h3::after { display: none; }
.section-head.left .more { position: absolute; right: 0; top: 8px; font-size: 14px; color: #0B4C8C; font-weight: 600; }
.section-head.light h3 { color: #fff; }
.section-head.light p { color: #b9cfe6; }

/* ---------- 中心概况 ---------- */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-img img { border-radius: 8px; box-shadow: 0 8px 24px rgba(11,60,116,.15); }
.about-text h4 { font-size: 22px; color: #123a63; margin-bottom: 14px; }
.about-text p { color: #55677c; margin-bottom: 12px; }
.about-points { margin: 12px 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.about-points li { color: #2c5c92; font-size: 14px; }
.btn-primary { display: inline-block; padding: 11px 32px; background: #0B4C8C; color: #fff; border-radius: 4px; font-size: 15px; }
.btn-primary:hover { background: #0d5aa5; }
.btn-light { display: inline-block; padding: 11px 34px; background: #E8B13A; color: #1d2c3f; border-radius: 4px; font-size: 15px; font-weight: 600; }
.btn-light:hover { background: #f0c053; }

/* ---------- 核心业务卡片 ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.biz-card { background: #fff; border: 1px solid #e4ecf4; border-radius: 10px; padding: 28px 24px; transition: all .25s; }
.biz-card:hover { transform: translateY(-5px); box-shadow: 0 10px 26px rgba(11,60,116,.12); border-color: #b9d2ea; }
.biz-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 12px; background: #eef4fb; margin-bottom: 16px; }
.biz-card h4 { font-size: 18px; color: #123a63; margin-bottom: 8px; }
.biz-card p { font-size: 13.5px; color: #6b7c90; line-height: 1.7; }

/* ---------- 新闻政策 ---------- */
.news-policy-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; }
.news-tabs { display: flex; gap: 6px; margin-bottom: 16px; }
.news-tabs li { padding: 6px 18px; border: 1px solid #d8e4f0; border-radius: 4px 4px 0 0; font-size: 14px; color: #55677c; cursor: pointer; background: #f6f9fc; }
.news-tabs li.active { background: #0B4C8C; color: #fff; border-color: #0B4C8C; }
.news-list li, .policy-list li { border-bottom: 1px dashed #dfe8f1; }
.news-list a, .policy-list a { display: flex; align-items: center; gap: 12px; padding: 13px 2px; transition: color .2s; }
.news-list a:hover, .policy-list a:hover { color: #0B4C8C; }
.news-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.news-date, .policy-date { color: #94a6ba; font-size: 13px; flex: none; }
.policy-badge { flex: none; font-size: 12px; color: #fff; background: #E8B13A; border-radius: 3px; padding: 2px 8px; }
.policy-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.empty { color: #94a6ba; padding: 20px 0; text-align: center; }

/* ---------- 入驻流程 ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-item { text-align: center; color: #fff; padding: 20px 10px; }
.process-num { display: inline-block; font-size: 30px; font-weight: 700; color: #E8B13A; margin-bottom: 10px; }
.process-item h4 { font-size: 17px; margin-bottom: 8px; }
.process-item p { font-size: 13px; color: #c8d9ec; }
.cta-box { margin-top: 30px; text-align: center; padding: 24px; background: rgba(255,255,255,.08); border-radius: 10px; }
.cta-box p { color: #fff; font-size: 17px; margin-bottom: 16px; letter-spacing: 1px; }

/* ---------- 页面横幅 ---------- */
.page-banner { position: relative; height: 230px; background-size: cover; background-position: center; }
.page-banner-mask { position: absolute; inset: 0; background: rgba(5,32,66,.62); }
.page-banner-text { position: relative; z-index: 2; padding-top: 74px; color: #fff; }
.page-banner-text h2 { font-size: 34px; letter-spacing: 2px; }
.page-banner-text p { margin-top: 8px; font-size: 13px; color: #d5e4f3; letter-spacing: 3px; }
.crumbs { padding: 14px 16px; font-size: 13px; color: #8a9bb0; }
.crumbs a { color: #0B4C8C; }
.crumbs span { color: #55677c; }

/* ---------- 文章 ---------- */
.article-page { max-width: 900px; }
.article-title { font-size: 26px; color: #123a63; text-align: center; line-height: 1.4; }
.article-meta { text-align: center; color: #94a6ba; font-size: 13px; margin: 14px 0 26px; padding-bottom: 18px; border-bottom: 1px solid #e8eef5; }
.article-body h3 { color: #0B4C8C; font-size: 19px; margin: 26px 0 12px; padding-left: 10px; border-left: 4px solid #E8B13A; }
.article-body p { margin-bottom: 14px; color: #43566c; }
.article-body ul { padding-left: 6px; }
.article-body li { padding: 4px 0; color: #43566c; }
.timeline-list li { padding-left: 10px; }
.timeline-list b { color: #0B4C8C; }
.article-nav { margin-top: 30px; padding-top: 16px; border-top: 1px solid #e8eef5; font-size: 14px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.article-nav a { color: #0B4C8C; }
.article-nav .back { margin-left: auto; }

/* ---------- 分类标签 / 列表 ---------- */
.cat-tabs { display: flex; gap: 8px; margin-bottom: 22px; }
.cat-tabs a { padding: 8px 22px; border: 1px solid #d8e4f0; border-radius: 20px; font-size: 14px; color: #55677c; background: #fff; }
.cat-tabs a.active { background: #0B4C8C; color: #fff; border-color: #0B4C8C; }
.article-list li { border-bottom: 1px solid #e8eef5; }
.article-item { display: block; padding: 20px 6px; transition: background .2s; }
.article-item:hover { background: #f8fbfe; }
.article-item .article-cat { display: inline-block; font-size: 12px; color: #0B4C8C; border: 1px solid #b9d2ea; border-radius: 3px; padding: 1px 8px; margin-right: 10px; }
.article-title { font-size: 17px; color: #2b3a4c; font-weight: 600; }
.article-item:hover .article-title { color: #0B4C8C; }
.article-summary { display: block; margin-top: 6px; font-size: 13.5px; color: #7d8fa3; }
.article-date { float: right; color: #94a6ba; font-size: 13px; margin-top: 4px; }
.pagination-wrap { text-align: center; margin-top: 30px; }
.pagination { display: inline-flex; gap: 6px; }
.pagination a, .pagination .current { display: inline-block; min-width: 34px; padding: 6px 10px; border: 1px solid #d8e4f0; border-radius: 4px; font-size: 14px; color: #55677c; background: #fff; }
.pagination .current { background: #0B4C8C; color: #fff; border-color: #0B4C8C; }
.pagination a:hover { border-color: #0B4C8C; color: #0B4C8C; }

/* ---------- 业务详情 ---------- */
.biz-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.biz-detail { background: #fff; border: 1px solid #e4ecf4; border-radius: 10px; padding: 24px; }
.biz-detail h4 { font-size: 18px; color: #123a63; display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.biz-detail-no { color: #E8B13A; font-size: 20px; font-weight: 700; }
.biz-detail p { font-size: 14px; color: #5d6f84; }
.goods-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; margin: 10px 0; }
.goods-list li { padding-left: 22px; position: relative; color: #43566c; }
.goods-list li::before { content: "✔"; position: absolute; left: 0; color: #0B4C8C; }
.tip { margin-top: 16px; font-size: 13px; color: #94a6ba; }

/* ---------- 流程详情 ---------- */
.process-detail { max-width: 860px; margin: 0 auto; }
.process-step { display: flex; gap: 18px; margin-bottom: 26px; }
.step-no { flex: none; width: 46px; height: 46px; border-radius: 50%; background: #0B4C8C; color: #fff; font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step-body h4 { font-size: 17px; color: #123a63; margin-bottom: 6px; }
.step-body p { font-size: 14px; color: #5d6f84; }
.flow-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.flow-item { background: #fff; border-radius: 10px; padding: 20px; text-align: center; border-top: 3px solid #0B4C8C; }
.flow-item b { color: #0B4C8C; font-size: 16px; }
.flow-item p { font-size: 13px; color: #6b7c90; margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid #e4ecf4; border-radius: 10px; padding: 20px 24px; margin-bottom: 16px; }
.faq-item h4 { color: #123a63; font-size: 16px; margin-bottom: 8px; }
.faq-item p { font-size: 14px; color: #5d6f84; }

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; }
.contact-info h3, .contact-map h3 { font-size: 20px; color: #123a63; margin-bottom: 16px; padding-left: 12px; border-left: 4px solid #E8B13A; }
.contact-info li { padding: 8px 0; border-bottom: 1px dashed #e4ecf4; font-size: 15px; color: #43566c; }
.contact-info b { color: #123a63; }
.map-box { border: 1px solid #e4ecf4; border-radius: 10px; overflow: hidden; }
.map-box img { width: 100%; height: 260px; object-fit: cover; }
.map-box p { padding: 14px 18px; font-size: 13.5px; color: #6b7c90; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 60px 0; }
.notfound h2 { font-size: 90px; color: #0B4C8C; line-height: 1; }
.notfound p { color: #6b7c90; margin: 18px 0 28px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0a2c52; color: #b7c9dc; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; padding: 46px 0 36px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-about { font-size: 13.5px; color: #a9bdd2; line-height: 1.9; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 14px; color: #a9bdd2; }
.footer-links a:hover { color: #E8B13A; }
.footer-contact li { margin-bottom: 10px; font-size: 13.5px; color: #a9bdd2; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0; font-size: 13px; color: #7e96b0; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.admin-link a { color: #5f7a97; }
.admin-link a:hover { color: #E8B13A; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .news-policy-grid, .about-intro, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-grid, .flow-row { grid-template-columns: repeat(2, 1fr); }
  .biz-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .topbar-right { display: none; }
  .header-inner { height: auto; padding: 10px 16px; flex-wrap: wrap; }
  .logo-name { font-size: 17px; }
  .nav-toggle { display: block; }
  .main-nav { display: none; width: 100%; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 0; }
  .banner-slide { height: 340px; }
  .banner-text { padding-top: 90px; }
  .banner-text h2 { font-size: 26px; }
  .banner-text p { font-size: 15px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-num { font-size: 32px; }
  .biz-grid, .process-grid, .flow-row, .goods-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .article-title { font-size: 21px; }
  .section { padding: 40px 0; }
}
