/* 速达年报通 H5 样式 */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft Yahei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: #eef2f7;
  min-height: 100vh;
  color: #1f2937;
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  padding-bottom: 88px;
}
/* 双端适配：PC 上将整个 H5 居中，模拟手机 */
.app {
  max-width: 480px;
  margin: 0 auto;
  background: linear-gradient(180deg, #2f6cf0 0%, #4a8eff 22%, #f4f6fb 38%, #f4f6fb 100%);
  background-attachment: local;
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 24px rgba(31,41,55,.1);
}
@media (max-width: 480px) {
  body { background: linear-gradient(180deg, #2f6cf0 0%, #4a8eff 22%, #f4f6fb 38%, #f4f6fb 100%); background-attachment: fixed; }
  .app { box-shadow: none; max-width: 100%; }
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* 顶部 */
.header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 10px; color: #fff;
}
.header .brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; letter-spacing: .5px; }
.header .brand .logo {
  width: 30px; height: 30px; border-radius: 8px; background: #fff; color: #2f6cf0;
  display: grid; place-items: center; font-weight: 800; font-size: 16px;
}
.header .badge {
  font-size: 11px; line-height: 1.3; text-align: right; padding: 6px 10px;
  background: rgba(255,255,255,.14); border-radius: 6px; backdrop-filter: blur(4px);
}

.promo {
  margin: 6px 12px 14px; padding: 8px 12px;
  background: linear-gradient(90deg, #ffe48a, #ffd24a);
  color: #6a3f00; border-radius: 8px; font-weight: 600; font-size: 13px;
  display: flex; align-items: center; gap: 6px;
}

/* 通用卡片 */
.card {
  background: #fff; border-radius: 14px; margin: 0 12px 14px;
  box-shadow: 0 6px 18px rgba(31,41,55,.08);
  overflow: hidden;
}
.card .hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 4px;
}
.card .hd h2 {
  margin: 0; font-size: 16px; font-weight: 700; color: #1f2937;
}
.card .bd { padding: 10px 16px 16px; }

/* 公司信息 */
.company .name { font-size: 17px; font-weight: 700; line-height: 1.4; }
.company .row { color: #6b7280; margin-top: 6px; font-size: 13px; }
.company .row b { color: #1f2937; font-weight: 500; }

.warn {
  margin: 10px 0 4px; padding: 8px 12px; border-radius: 8px;
  background: #fff1f0; color: #d4380d; font-weight: 600; font-size: 13px;
  display: flex; gap: 6px; align-items: center;
}

.report-table {
  border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; margin-top: 12px;
}
.report-table .tt {
  text-align: center; padding: 8px; font-weight: 700; background: #f4f7ff; color: #2f6cf0;
}
.report-table .tr { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.report-table .th, .report-table .td {
  padding: 10px 6px; text-align: center; font-size: 13px;
  border-top: 1px solid #e5e7eb;
}
.report-table .th { color: #6b7280; }
.report-table .td .pill {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  background: #fff7e6; color: #d46b08; font-size: 12px;
}
.report-table .td .pill.red { background: #fff1f0; color: #d4380d; }
.report-table .td .pill.green { background: #ecfdf5; color: #059669; }
.report-table .more {
  text-align: center; padding: 8px; color: #2f6cf0; font-size: 13px; cursor: pointer;
  border-top: 1px solid #e5e7eb;
}
.tip { color: #6b7280; font-size: 12px; margin-top: 10px; line-height: 1.6; }
.tip .mute { color: #9ca3af; }

/* 服务项目 */
.products .item {
  position: relative; padding: 12px; border: 1.5px solid #e5e7eb; border-radius: 12px;
  margin-bottom: 10px; cursor: pointer; transition: all .15s;
}
.products .item.active { border-color: #10b981; background: #ecfdf5; }
.products .item.active::after {
  content: ''; position: absolute; right: -1px; bottom: -1px; width: 28px; height: 28px;
  background: #10b981 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center/16px no-repeat;
  border-top-left-radius: 12px; border-bottom-right-radius: 11px;
}
.products .item .top { display:flex; justify-content:space-between; align-items:flex-start; gap: 8px; }
.products .item h3 {
  font-size: 15px; margin: 0; font-weight: 700;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  padding-right: 60px;             /* 给右侧绝对定位的价格让位 */
  line-height: 1.4;
}
.products .item .tag {
  font-size: 11px; padding: 2px 6px; border-radius: 4px;
  background: #fff7e6; color: #d46b08; margin-left: 8px;
}
.products .item .tag.green  { background: #ecfdf5; color: #059669; }
.products .item .tag.red    { background: #fff1f0; color: #d4380d; }
.products .item .tag.orange { background: #fff7e6; color: #d46b08; }
.products .item .tag.blue   { background: #dbeafe; color: #2563eb; }
.products .item .tag.purple { background: #ede9fe; color: #7c3aed; }
.products .item .tag.gray   { background: #f3f4f6; color: #4b5563; }
.products .item .desc {
  color: #6b7280; font-size: 12px; margin-top: 6px;
  white-space: pre-wrap;          /* 保留管理员在描述里换的行 */
  line-height: 1.7;
  padding-right: 56px;            /* 给右侧价格让出空间 */
}
.products .item .price {
  position: absolute; right: 38px; top: 12px; font-weight: 800; color: #ff3d00; font-size: 18px;
  white-space: nowrap;
}
.products .item .price small { font-size: 12px; font-weight: 600; }

.contact-form { margin-top: 14px; }
.contact-form .cf-row { margin-bottom: 10px; }
.contact-form label {
  display: block; font-size: 13px; color: #374151; margin-bottom: 5px; font-weight: 500;
}
.contact-form .req { color: #d4380d; }
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 8px;
  font-family: inherit; font-size: 14px; outline: none; background: #fafbfc;
  transition: all .15s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: #2f6cf0; background: #fff; }
.contact-form textarea { resize: vertical; min-height: 56px; }

.pay-row {
  display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px;
  padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 10px;
}
.pay-row .alipay { color: #1677ff; font-weight: 700; }
.pay-row .check { margin-left: auto; color: #10b981; }

.cta-inline {
  display: block; width: 100%; margin-top: 12px; padding: 14px 0; border: 0;
  border-radius: 999px; color: #fff; font-size: 16px; font-weight: 700;
  background: linear-gradient(90deg, #ff7a18, #ff3d00);
  cursor: pointer;
}
.agree { text-align:center; color:#9ca3af; font-size:12px; margin-top:10px; }
.agree a { color: #2f6cf0; }

/* FAQ */
.faq .q {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14px; padding: 10px 0 6px;
}
.faq .q .num {
  width: 22px; height: 22px; display: grid; place-items: center;
  background: #2f6cf0; color: #fff; border-radius: 6px; font-size: 12px; flex: none;
}
.faq .a { color: #4b5563; line-height: 1.7; font-size: 13px; padding-bottom: 12px; border-bottom: 1px dashed #e5e7eb; }
.faq .item:last-child .a { border-bottom: 0; }

/* 流程 / 优势 */
.flow ol, .why ol { margin: 0; padding-left: 18px; }
.flow li, .why li { margin: 6px 0; line-height: 1.7; color: #374151; }

.footer {
  text-align: center; color: #9ca3af; font-size: 12px; line-height: 1.9;
  padding: 16px 12px 100px;
}
.footer .kf { color: #2f6cf0; }

/* 底部 CTA — PC 上跟随容器居中,移动端贴满 */
.cta-bar {
  position: fixed; bottom: 0;
  left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid #f0f0f0;
  box-sizing: border-box;
}
.cta-bar button {
  width: 100%; padding: 14px 0; border: 0; border-radius: 999px; color: #fff;
  font-size: 16px; font-weight: 700; background: linear-gradient(90deg, #ff7a18, #ff3d00);
  cursor: pointer;
}

/* 通用 */
.empty { text-align:center; padding: 40px 0; color: #9ca3af; }
.loader { text-align:center; padding: 60px 0; color: #6b7280; }
.btn-ghost {
  display:inline-block; padding: 8px 14px; border:1px solid #e5e7eb; border-radius: 999px;
  background: #fff; color: #2f6cf0; font-weight: 600; font-size: 13px; cursor: pointer;
}
