@charset "utf-8";
/* ==========================================================
   省级流量卡办理站 · 通用样式（运营商官网风格）
   说明：通过 :root 变量区分各站主色，布局保持克制
   ========================================================== */
:root {
  --accent: #12629e;
  --accent-d: #0d4c7c;
  --accent-l: #eef4f9;
  --text: #333;
  --muted: #777;
  --line: #e3e7ec;
  --bg: #f5f7fa;
  --red: #c8102e;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font: 14px/1.75 "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  color: var(--text);
  background: #fff;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

.btn {
  display: inline-block;
  padding: 7px 18px;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 2px;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  vertical-align: middle;
}
.btn:hover { background: var(--accent-d); border-color: var(--accent-d); color: #fff; text-decoration: none; }
.btn-lg { padding: 10px 26px; font-size: 15px; }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .65); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.btn-block { display: block; }

/* ---------- 顶部条 ---------- */
.topbar { background: #f5f5f5; border-bottom: 1px solid #e8e8e8; font-size: 12px; color: #666; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; flex-wrap: wrap; }
.topbar b { color: var(--accent); font-weight: 400; }

/* ---------- 头部 ---------- */
.header { border-bottom: 2px solid var(--accent); background: #fff; }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 72px; position: relative; }
.logo { display: flex; align-items: center; gap: 10px; color: #222; }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 42px; height: 42px; flex: none;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; border-radius: 4px;
}
.logo-mark svg { width: 22px; height: 22px; }
.logo-text b { display: block; font-size: 18px; line-height: 1.25; color: #222; }
.logo-text i { display: block; font-style: normal; font-size: 11px; color: #888; letter-spacing: 1px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav a { color: #333; font-size: 14px; }
.nav a:hover { color: var(--accent); text-decoration: none; }
.menu-toggle { display: none; margin-left: auto; width: 40px; height: 34px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: #444; }

/* ---------- 横幅 ---------- */
.banner { background: linear-gradient(110deg, var(--accent-d) 0%, var(--accent) 100%); color: #fff; }
.banner-in { display: flex; align-items: center; gap: 40px; padding: 34px 16px; }
.banner-copy { flex: 1.5; }
.banner-kicker { font-size: 12px; letter-spacing: 2px; color: #cfe4f5; margin-bottom: 10px; }
.banner h1 { font-size: 30px; line-height: 1.45; letter-spacing: .5px; margin-bottom: 12px; }
.banner h1 span { color: #ffd45e; }
.banner .lead { font-size: 14px; color: #e2eff9; max-width: 620px; margin-bottom: 20px; }
.banner-acts { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.banner-panel {
  width: 288px; flex: none;
  background: #fff; color: #333;
  border-radius: 2px; padding: 14px 18px 10px;
}
.banner-panel h2 { font-size: 14px; color: #222; padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.banner-panel dl { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed #eee; font-size: 13px; }
.banner-panel dl:last-of-type { border-bottom: 0; }
.banner-panel dt { color: #777; }
.banner-panel dd { color: var(--accent); font-weight: 700; }
.banner-panel .panel-note { font-size: 11px; color: #999; padding-top: 6px; border-top: 1px solid var(--line); margin-top: 4px; }

/* ---------- 公告 ---------- */
.notice-bar { background: #fffbea; border-bottom: 1px solid #f0e2b4; font-size: 12.5px; color: #8a6d1b; }
.notice-bar .wrap { padding: 8px 16px; }
.notice-bar b { color: #8a6d1b; }

/* ---------- 区块 ---------- */
.section { padding: 40px 0; }
.section-gray { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.sec-head h2 { font-size: 20px; color: #222; border-left: 4px solid var(--accent); padding-left: 10px; line-height: 1.25; }
.sec-head p { font-size: 12.5px; color: #888; }
.sec-more { font-size: 13px; }
.section-note { margin-top: 14px; font-size: 12.5px; color: #888; }

/* ---------- 套餐列表 ---------- */
.plan-list { border: 1px solid var(--line); }
.plan {
  display: grid;
  grid-template-columns: 116px 1fr 132px;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.plan:last-child { border-bottom: 0; }
.plan:hover { background: #fbfcfe; }
.plan-img { width: 116px; height: 116px; border: 1px solid var(--line); background: #fafafa; }
.plan-img img { width: 100%; height: 100%; object-fit: cover; }
.plan h3 { font-size: 16px; color: #222; margin-bottom: 4px; }
.tag {
  display: inline-block;
  font-size: 11px; font-weight: 400;
  padding: 1px 6px; margin-left: 6px;
  border: 1px solid var(--accent); color: var(--accent);
  vertical-align: 2px; border-radius: 2px;
}
.tag-gray { border-color: #bbb; color: #777; }
.plan-desc { font-size: 13px; color: #777; margin-bottom: 10px; }
.plan-spec { display: flex; flex-wrap: wrap; gap: 8px 30px; }
.plan-spec li { font-size: 13px; color: #888; }
.plan-spec b { font-size: 18px; color: #222; margin-right: 2px; }
.plan-extra { font-size: 12.5px; color: #999; margin-top: 8px; }
.plan-action { text-align: right; }
.price { display: block; color: var(--red); font-size: 20px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.price small { font-size: 12px; font-weight: 400; color: #999; }

/* ---------- 套餐卡片（两列） ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.plan-card { display: grid; grid-template-columns: 104px 1fr; gap: 16px; border: 1px solid var(--line); background: #fff; padding: 16px; }
.plan-card:hover { border-color: #bcd3e8; }
.plan-card .plan-img { width: 104px; height: 104px; grid-row: span 2; }
.plan-card h3 { font-size: 15.5px; color: #222; margin-bottom: 3px; }
.plan-card .plan-desc { font-size: 12.5px; color: #888; margin-bottom: 8px; }
.plan-card .plan-spec { gap: 6px 18px; }
.plan-card .plan-spec b { font-size: 16px; }
.plan-card .plan-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed #eee; }
.plan-card .price { margin: 0; font-size: 18px; }
.plan-card .plan-extra { margin: 6px 0 0; }

/* ---------- 表格 ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; }
.table th, .table td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.table th { background: #f2f5f9; color: #444; font-weight: 400; white-space: nowrap; }
.table td { color: #555; }
.table .yes { color: #1a7f37; }
.table .no { color: #b42318; }
.table .wait { color: #9a6700; }
.table .em { color: #222; font-weight: 700; }

/* ---------- 城市 ---------- */
.city-list { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13px; color: #555; }
.city-list li { position: relative; padding-left: 10px; }
.city-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 4px; height: 4px; background: var(--accent); }
.city-list .off { color: #b42318; }
.city-list .off::before { background: #b42318; }

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.step { border: 1px solid var(--line); background: #fff; padding: 16px 16px 18px; }
.step b { display: inline-block; width: 22px; height: 22px; line-height: 22px; text-align: center; background: var(--accent); color: #fff; font-size: 12px; margin-bottom: 8px; }
.step h3 { font-size: 14.5px; color: #222; margin-bottom: 4px; }
.step p { font-size: 12.5px; color: #888; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border: 1px solid var(--line); border-top: 0; background: #fff; }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 12px 36px 12px 14px;
  font-size: 14.5px; color: #222;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 14px; top: 11px;
  color: var(--accent); font-size: 16px; font-weight: 400;
}
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { background: #fbfcfe; }
.faq .answer { padding: 0 14px 14px; font-size: 13px; color: #666; }

/* ---------- 侧栏 ---------- */
.layout { display: grid; grid-template-columns: 1fr 288px; gap: 28px; align-items: start; }
.aside { border: 1px solid var(--line); background: #fff; }
.aside h3 { font-size: 14px; color: #222; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #f7f9fc; font-weight: 700; }
.aside ul { padding: 10px 14px 14px; }
.aside li { font-size: 12.5px; color: #666; padding: 6px 0; border-bottom: 1px dashed #eee; line-height: 1.7; }
.aside li:last-child { border-bottom: 0; }
.aside li b { color: #222; }
.aside .aside-cta { padding: 0 14px 14px; }
.aside .aside-cta .btn { display: block; }

/* ---------- 底部推广 ---------- */
.cta-band { background: var(--accent-l); border-top: 1px solid #d9e6f2; border-bottom: 1px solid #d9e6f2; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 0; }
.cta-in h2 { font-size: 20px; color: #1c3a55; }
.cta-in p { font-size: 13px; color: #56708a; margin-top: 4px; }

/* ---------- 页脚 ---------- */
.footer { background: #f5f5f5; border-top: 1px solid #e3e3e3; padding: 26px 0 18px; font-size: 12px; color: #888; }
.footer-top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid #e3e3e3; }
.footer-brand b { display: block; font-size: 14px; color: #444; margin-bottom: 6px; }
.footer-brand p { max-width: 520px; line-height: 1.8; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: #777; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { padding-top: 14px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: #999; }
.footer-bottom a { color: #999; }

/* ---------- 移动底栏 ---------- */
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: #fff; border-top: 1px solid var(--line);
  padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
  align-items: center; gap: 12px;
}
.mobile-bar strong { display: block; font-size: 13px; color: #222; }
.mobile-bar span { font-size: 11px; color: #888; }
.mobile-bar .btn { margin-left: auto; }

/* ---------- 面包屑 ---------- */
.crumb { background: #f7f9fc; border-bottom: 1px solid var(--line); font-size: 12.5px; color: #888; }
.crumb .wrap { padding: 8px 16px; }
.crumb a { color: #666; }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .banner-in { gap: 24px; }
  .banner-panel { width: 260px; }
  .layout { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav {
    position: absolute; top: 100%; left: -16px; right: -16px; z-index: 30;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border: 1px solid var(--line); border-top: 0;
    padding: 4px 0 10px; box-shadow: 0 6px 14px rgba(0, 0, 0, .08);
  }
  .nav.open { display: flex; }
  .nav a { padding: 9px 16px; border-bottom: 1px solid #f2f2f2; }
  .nav .btn { margin: 10px 16px 0; }
  .menu-toggle { display: block; }
  .banner-in { flex-direction: column; align-items: stretch; padding: 26px 16px; }
  .banner h1 { font-size: 24px; }
  .banner-panel { width: 100%; }
  .plan { grid-template-columns: 92px 1fr; gap: 14px; }
  .plan-img { width: 92px; height: 92px; }
  .plan-action { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; text-align: left; padding-top: 10px; border-top: 1px dashed #eee; }
  .plan-action .price { margin: 0; }
  .plan-spec { gap: 6px 18px; }
  .plan-spec b { font-size: 16px; }
  .sec-head h2 { font-size: 18px; }
  .section { padding: 30px 0; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 62px; }
  .table { font-size: 12.5px; }
  .table th, .table td { padding: 8px; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card { grid-template-columns: 80px 1fr; gap: 12px; padding: 12px; }
  .plan-card .plan-img { width: 80px; height: 80px; }
  .topbar .wrap { min-height: 30px; }
  .topbar span:last-child { display: none; }
  .footer-top { flex-direction: column; }
}
