/* sc.sim8.cn 四川流量卡办理 */
:root {
  --deep: #7c2d12;
  --orange: #ea580c;
  --amber: #f59e0b;
  --ink: #2a1a12;
  --soft: #6b5546;
  --cream: #fffaf5;
  --line: #f0e2d4;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: var(--orange); }
h1, h2, h3 { margin: 0; line-height: 1.2; font-weight: 800; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
.shell { max-width: 1150px; margin: 0 auto; padding: 0 20px; }

.buy {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff; border-radius: 999px;
  padding: 11px 22px; font-size: 15px; font-weight: 700;
  box-shadow: 0 10px 24px rgba(234, 88, 12, .3);
}
.buy:hover { filter: brightness(1.05); }
.buy-lg { padding: 14px 32px; font-size: 16px; }
.buy.block { width: 100%; margin-top: 14px; padding: 10px; font-size: 14.5px; }
.buy.light { background: #fff; color: var(--deep); box-shadow: 0 12px 28px rgba(0,0,0,.18); }

/* header */
.bar-top { background: rgba(255, 250, 245, .93); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); }
.bar-in { height: 68px; display: flex; align-items: center; gap: 16px; }
.mark { display: flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 800; font-size: 16.5px; }
.mark span {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--deep); color: #ffd9be;
  display: grid; place-items: center;
  font-family: "Songti SC", serif; font-size: 17px; font-weight: 700;
}
.nav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.nav a:not(.buy) { color: #5b4436; font-size: 14.5px; }
.nav a:not(.buy):hover { color: var(--orange); }
.nav .buy { padding: 8px 18px; font-size: 14px; }
.menu-toggle { display: none; margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }

/* hero */
.hero {
  background:
    radial-gradient(560px 320px at 88% 0%, rgba(245, 158, 11, .35), transparent 65%),
    linear-gradient(150deg, #4a1206, #7c2d12 52%, #b8451a);
  color: #fff;
  padding: 64px 0 54px;
  overflow: hidden;
}
.pretitle {
  display: inline-block; font-size: 12.5px; letter-spacing: 1.5px;
  color: #ffd9be; border: 1px solid rgba(255, 217, 190, .4);
  padding: 5px 14px; border-radius: 999px;
}
.hero h1 { font-size: clamp(34px, 5.6vw, 64px); margin: 18px 0 18px; letter-spacing: -1.5px; }
.hero h1 span { color: var(--amber); }
.hero h1 b { font-size: 1.18em; color: #ffd9be; }
.lead { max-width: 620px; color: #f4d9c7; font-size: 15.5px; }
.hero-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin: 28px 0 26px; }
.more { color: #ffd9be; font-weight: 600; font-size: 15px; }
.badges { display: flex; flex-wrap: wrap; gap: 9px; }
.badges li {
  font-size: 12.5px; padding: 5px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); color: #ffe9dc;
  border: 1px solid rgba(255, 255, 255, .16);
}

/* sections */
.sec { padding: 62px 0; }
.sec-head { margin-bottom: 30px; max-width: 700px; }
.sec-head h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.5px; }
.sec-head p { margin-top: 10px; color: var(--soft); font-size: 15px; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card {
  background: #fff; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(124, 45, 18, .07);
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(124, 45, 18, .14); }
.card-top { position: relative; cursor: zoom-in; background: #f7ece2; }
.card-top img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.price {
  position: absolute; left: 12px; bottom: 12px;
  background: #fff; color: var(--deep);
  border-radius: 999px; padding: 5px 14px 5px 10px;
  font-size: 12px; font-weight: 700;
  box-shadow: 0 6px 16px rgba(60, 20, 5, .18);
}
.price i { font-style: normal; font-size: 22px; margin-right: 2px; letter-spacing: -1px; }
.corner {
  position: absolute; top: 12px; right: 12px;
  background: var(--deep); color: #ffe9dc;
  font-size: 11.5px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
}
.corner-city { background: var(--amber); color: #44210a; }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 21px; letter-spacing: -.3px; }
.line { margin-top: 6px; font-size: 13px; color: var(--soft); }
.mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 14px 0 10px; }
.mini div { background: #fff6ee; border: 1px solid #fbe7d6; border-radius: 12px; padding: 8px 4px; text-align: center; }
.mini b { display: block; font-size: 20px; color: var(--deep); letter-spacing: -.5px; }
.mini span { font-size: 11px; color: var(--soft); }
.tip { font-size: 12.2px; color: #96755f; margin-top: auto; }
.disclaimer { margin-top: 24px; font-size: 12.5px; color: #a08069; }

/* operators */
.ops { background: #fff; padding: 56px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ops h2 { font-size: clamp(23px, 2.8vw, 30px); margin-bottom: 22px; }
.op-list { border-top: 1px solid var(--line); }
.op-row {
  display: grid; grid-template-columns: 130px 150px 1fr;
  gap: 16px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.op-name { font-weight: 700; font-size: 16px; }
.op-state { font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; justify-self: start; }
.op-state.ok { background: #e9f9ef; color: #0d7a3e; }
.op-state.wait { background: #fff4e0; color: #9a6200; }
.op-state.no { background: #fdecea; color: #a52a1e; }
.op-row p { font-size: 13.5px; color: var(--soft); }

/* cities */
.cities { padding: 46px 0; background: linear-gradient(120deg, #7c2d12, #a63d15); color: #fff; }
.cities h2 { font-size: 22px; margin-bottom: 12px; }
.cities p { color: #f6d9c5; font-size: 14.5px; line-height: 2; letter-spacing: .5px; }

/* flow */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: n; }
.steps li {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 22px 18px 20px;
}
.steps b {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: #ffe9d8; color: var(--deep);
  font-size: 17px; margin-bottom: 12px;
}
.steps h3 { font-size: 16.5px; margin-bottom: 5px; }
.steps p { font-size: 13.5px; color: var(--soft); }
.center { text-align: center; margin-top: 30px; }

/* faq */
.faq { background: #fff; }
.qa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.qa-grid details {
  background: #fffaf5; border: 1px solid var(--line);
  border-radius: 16px; padding: 0 18px;
  transition: background .18s ease, border-color .18s ease;
}
.qa-grid details[open] { background: #fff; border-color: #f3c9a8; box-shadow: 0 10px 24px rgba(124, 45, 18, .08); }
.qa-grid summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 16px 30px 16px 0; font-weight: 700; font-size: 15.5px;
}
.qa-grid summary::-webkit-details-marker { display: none; }
.qa-grid summary::after {
  content: "＋"; position: absolute; right: 0; top: 15px;
  color: var(--orange); font-size: 15px;
}
.qa-grid details[open] summary::after { content: "－"; }
.qa-grid p { font-size: 13.5px; color: var(--soft); padding: 0 0 16px; }

/* final + footer */
.final { background: linear-gradient(140deg, #7c2d12, #c2410c); color: #fff; padding: 52px 0; }
.final-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.final h2 { font-size: clamp(22px, 2.8vw, 32px); }
.final p { margin-top: 8px; color: #ffd9c2; font-size: 14.5px; }
.foot { padding: 40px 0 26px; background: #331508; color: #c9a48d; font-size: 13.5px; }
.foot-in { display: flex; justify-content: space-between; gap: 24px; 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: 7px; }
.foot-in > div:first-child { max-width: 500px; }
.foot-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-nav a { color: #c9a48d; }
.foot-nav a:hover { color: #fff; }
.foot-bot { padding-top: 16px; font-size: 12.5px; color: #a8836d; }

/* sticky */
.sticky {
  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 -8px 22px rgba(124, 45, 18, .12);
}
.sticky strong { display: block; font-size: 14.5px; color: var(--deep); }
.sticky span { font-size: 11.5px; color: var(--soft); }
.sticky .buy { margin-left: auto; padding: 9px 20px; font-size: 14px; }

/* lightbox */
.lb { border: 0; padding: 0; background: transparent; max-width: min(92vw, 740px); width: 100%; }
.lb::backdrop { background: rgba(38, 12, 2, .86); }
.lb-in { background: #4a1206; border-radius: 18px; 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: 50%; 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) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qa-grid { grid-template-columns: 1fr; }
  .op-row { grid-template-columns: 110px 130px 1fr; }
}

@media (max-width: 760px) {
  .nav {
    position: absolute; top: 68px; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--cream); padding: 10px 20px 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a:not(.buy) { padding: 10px 2px; }
  .nav .buy { margin-top: 8px; align-self: flex-start; }
  .menu-toggle { display: block; }
  .hero { padding: 46px 0 42px; }
  .cards { grid-template-columns: 1fr; }
  .sec { padding: 46px 0; }
  .op-row { grid-template-columns: 1fr; gap: 6px; }
  .sticky { display: flex; }
  body { padding-bottom: 72px; }
  .final-in { align-items: flex-start; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
}
