/* js.sim8.cn 江苏流量卡办理 */
:root {
  --navy: #101f3f;
  --navy-2: #1b3157;
  --blue: #2563eb;
  --yellow: #fbbf24;
  --ink: #111a2c;
  --muted: #5f6b80;
  --bg: #f4f6fb;
  --line: #e2e8f2;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.66;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: var(--blue); }
h1, h2, h3 { margin: 0; line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

.cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue); color: #fff;
  border-radius: 6px; padding: 11px 20px;
  font-size: 15px; font-weight: 700;
  border-bottom: 3px solid #1b4fc0;
}
.cta:hover { background: #1d55d8; }
.cta-lg { padding: 14px 30px; font-size: 16px; }
.cta.block { width: 100%; margin-top: 14px; padding: 10px; font-size: 14.5px; }
.cta.light { background: #fff; color: var(--navy); border-bottom-color: #cbd5e1; }

/* header */
.top { background: var(--navy); position: sticky; top: 0; z-index: 40; }
.top-in { height: 66px; display: flex; align-items: center; gap: 18px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; }
.logo-badge {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--yellow); color: var(--navy);
  font-weight: 800; font-size: 14px; letter-spacing: .5px;
  border-radius: 6px;
}
.logo-txt { display: flex; flex-direction: column; line-height: 1.15; }
.logo-txt b { font-size: 16px; }
.logo-txt i { font-style: normal; font-size: 10.5px; letter-spacing: 1.6px; color: #9db0d6; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.nav a:not(.cta) { color: #c6d3ea; font-size: 14.5px; }
.nav a:not(.cta):hover { color: #fff; }
.nav .cta { padding: 8px 16px; font-size: 14px; border-bottom-width: 2px; }
.burger { display: none; margin-left: auto; width: 40px; height: 40px; border-radius: 6px; border: 1px solid #2c4370; background: transparent; color: #fff; cursor: pointer; }

/* hero */
.hero {
  background:
    linear-gradient(120deg, rgba(37, 99, 235, .22), transparent 55%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 1px, transparent 1px 46px),
    var(--navy);
  color: #fff;
  text-align: center;
  padding: 68px 0 0;
}
.kicker {
  display: inline-block; font-size: 12.5px; letter-spacing: 2px;
  color: var(--yellow); border: 1px solid rgba(251, 191, 36, .45);
  padding: 5px 14px; border-radius: 4px;
}
.hero h1 { font-size: clamp(30px, 4.6vw, 52px); margin: 20px 0 16px; letter-spacing: -1px; font-weight: 800; }
.hero h1 span { color: var(--yellow); }
.hero .sub { max-width: 660px; margin: 0 auto; color: #b9c8e4; font-size: 15.5px; }
.acts { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; margin: 28px 0 40px; }
.ghost {
  display: inline-flex; align-items: center; padding: 13px 26px;
  color: #fff; border: 1px solid rgba(255, 255, 255, .28); border-radius: 6px;
  font-size: 15px; font-weight: 600;
}
.ghost:hover { background: rgba(255, 255, 255, .08); }
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(255, 255, 255, .06);
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.stats li { padding: 18px 10px; border-right: 1px solid rgba(255, 255, 255, .1); }
.stats li:last-child { border-right: 0; }
.stats b { display: block; font-size: 26px; color: var(--yellow); letter-spacing: -.5px; }
.stats span { font-size: 12.5px; color: #a9bade; }

/* sections */
.section { padding: 62px 0; }
.head { margin-bottom: 30px; }
.head h2 { font-size: clamp(23px, 2.9vw, 32px); letter-spacing: -.5px; }
.head h2::before {
  content: ""; display: inline-block; width: 5px; height: 22px;
  background: var(--yellow); margin-right: 10px; vertical-align: -3px;
}
.head p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* plans */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .18s ease, transform .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(16, 31, 63, .12); }
.card-img { position: relative; cursor: zoom-in; background: #eaeef6; }
.card-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.flag {
  position: absolute; top: 10px; left: -1px;
  padding: 4px 11px; font-size: 11.5px; font-weight: 700;
  color: #fff; border-radius: 0 4px 4px 0;
}
.flag-blue { background: var(--blue); }
.flag-yellow { background: #b45309; }
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.card-line { display: flex; align-items: center; gap: 8px; }
.card-line h3 { font-size: 18px; }
.op-tag { font-size: 11px; color: #fff; background: #94a3b8; padding: 2px 7px; border-radius: 3px; }
.card-sub { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 14px 0 10px; text-align: center; }
.kpi > div { background: #f5f8ff; border: 1px solid #e8eefb; border-radius: 4px; padding: 7px 4px; }
.kpi b { display: block; font-size: 19px; color: var(--navy); letter-spacing: -.5px; }
.kpi span { font-size: 11px; color: var(--muted); }
.card-fine { font-size: 12px; color: #7b8aa3; margin-top: auto; }
.table-note { margin-top: 22px; font-size: 12.5px; color: #7b8aa3; }

/* table */
.table-sec { background: #fff; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
thead th {
  background: var(--navy); color: #fff; text-align: left;
  padding: 12px 14px; font-weight: 600; font-size: 13.5px; white-space: nowrap;
}
tbody td { padding: 12px 14px; border-top: 1px solid var(--line); color: #354158; white-space: nowrap; }
tbody tr:nth-child(even) { background: #fafbfe; }
tbody td:first-child { font-weight: 600; color: var(--ink); }

/* cities */
.cities { background: var(--navy-2); color: #fff; padding: 42px 0; }
.cities h2 { font-size: 21px; margin-bottom: 16px; }
.city-row { display: flex; flex-wrap: wrap; gap: 9px; }
.city-row span {
  font-size: 13.5px; padding: 6px 14px; border-radius: 4px;
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .14);
  color: #dbe5f7;
}
.city-row .off { color: #dfa94a; border-color: rgba(251, 191, 36, .4); background: rgba(251, 191, 36, .1); }

/* flow */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 18px 16px 20px; }
.steps b { display: block; font-size: 13px; letter-spacing: 1px; color: var(--blue); margin-bottom: 8px; }
.steps h3 { font-size: 15.5px; margin-bottom: 6px; }
.steps p { font-size: 13px; color: var(--muted); }
.flow-cta { margin-top: 30px; }

/* faq */
.faq { background: #eef2f9; }
.qa { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.qa details {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue);
  border-radius: 6px; padding: 0 16px;
}
.qa summary {
  list-style: none; cursor: pointer; position: relative;
  font-weight: 700; font-size: 15px; padding: 15px 26px 15px 0;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "›"; position: absolute; right: 2px; top: 13px;
  color: var(--blue); font-size: 20px; transition: transform .2s ease;
}
.qa details[open] summary::after { transform: rotate(90deg); }
.qa p { font-size: 13.5px; color: var(--muted); padding: 0 0 15px; border-top: 1px dashed var(--line); padding-top: 12px; }

/* cta band */
.cta-band { background: var(--blue); color: #fff; padding: 46px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-in h2 { font-size: clamp(21px, 2.6vw, 30px); }
.cta-in p { margin-top: 7px; font-size: 14.5px; color: #d8e4ff; }

/* footer */
.foot { background: #0b1730; color: #93a4c4; padding: 40px 0 24px; font-size: 13.5px; }
.foot-top { display: flex; justify-content: space-between; gap: 26px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-brand { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.foot-top > div { max-width: 520px; }
.foot-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-nav a { color: #93a4c4; }
.foot-nav a:hover { color: #fff; }
.foot-bot { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 16px; font-size: 12.5px; color: #7388ac; }

/* bar + lightbox */
.bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  background: #fff; border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  align-items: center; gap: 12px; box-shadow: 0 -6px 20px rgba(16, 31, 63, .1);
}
.bar strong { display: block; font-size: 14.5px; color: var(--navy); }
.bar span { font-size: 11.5px; color: var(--muted); }
.bar .cta { margin-left: auto; padding: 9px 18px; font-size: 14px; }

.lb { border: 0; padding: 0; background: transparent; max-width: min(92vw, 760px); width: 100%; }
.lb::backdrop { background: rgba(6, 14, 30, .85); }
.lb-in { background: var(--navy); border-radius: 8px; overflow: hidden; max-height: 92vh; display: flex; flex-direction: column; }
.lb-head { display: flex; align-items: center; padding: 12px 16px; color: #fff; font-size: 14.5px; }
.lb-close { margin-left: auto; width: 32px; height: 32px; border-radius: 4px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; font-size: 18px; cursor: pointer; }
.lb img { width: 100%; background: #fff; overflow: auto; }

@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .qa { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav {
    position: absolute; top: 66px; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--navy); padding: 10px 20px 16px;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .nav.open { display: flex; }
  .nav a:not(.cta) { padding: 10px 2px; }
  .nav .cta { margin-top: 8px; align-self: flex-start; }
  .burger { display: block; }
  .hero { padding-top: 46px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats li:nth-child(2) { border-right: 0; }
  .stats li:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .section { padding: 46px 0; }
  .bar { display: flex; }
  body { padding-bottom: 70px; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .cta-in { align-items: flex-start; }
}
