/* ==========================================================================
   报价单 · baojiadan.net
   气质：纸质单据 / 档口 / 朱红印章 / 等宽数字
   ========================================================================== */

:root{
  --paper:#f6f1e8;
  --paper-2:#fffdf8;
  --ink:#171310;
  --ink-soft:#413a33;
  --muted:#7a6f62;
  --line:#ded3c1;
  --line-strong:#c9bba4;
  --accent:#bd452a;
  --accent-ink:#8e2f1a;
  --accent-soft:rgba(189,69,42,.09);
  --band:#16233a;
  --radius:14px;
  --max:1120px;
  --mono:ui-monospace,"SFMono-Regular",Menlo,Consolas,"Liberation Mono",monospace;
  --sans:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Segoe UI",sans-serif;
}

*,*::before,*::after{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  overflow-x:hidden;
  font-family:var(--sans);
  color:var(--ink);
  background-color:var(--paper);
  background-image:
    radial-gradient(760px 420px at 82% -12%, rgba(189,69,42,.10), transparent 68%),
    radial-gradient(620px 380px at -8% 8%, rgba(22,35,58,.07), transparent 66%),
    repeating-linear-gradient(0deg, rgba(0,0,0,.018) 0 1px, transparent 1px 4px);
  -webkit-font-smoothing:antialiased;
  line-height:1.65;
}

a{color:inherit}

/* ---------- layout ---------- */
.wrap{max-width:var(--max);margin:0 auto;padding:0 24px}
.section{padding:88px 0;border-top:1px solid var(--line)}

/* ---------- header ---------- */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(246,241,232,.88);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid var(--line);
}
.site-header .wrap{display:flex;align-items:center;gap:20px;height:66px}
.brand{display:flex;align-items:center;gap:11px;text-decoration:none;white-space:nowrap}
.brand-mark{
  width:34px;height:34px;flex:0 0 34px;
  display:grid;place-items:center;
  background:var(--accent);color:#fff;
  border-radius:7px;
  font-weight:700;font-size:17px;
  box-shadow:0 6px 14px -6px rgba(189,69,42,.8);
}
.brand-name{font-weight:700;font-size:16.5px;letter-spacing:.04em}
.brand-sub{font-size:11.5px;color:var(--muted);letter-spacing:.08em;margin-top:-3px}
.nav{margin-left:auto;display:flex;gap:26px;font-size:14px}
.nav a{text-decoration:none;color:var(--ink-soft);padding:4px 0;border-bottom:1px solid transparent}
.nav a:hover{color:var(--accent);border-bottom-color:var(--accent)}
.header-cta{
  font-size:13.5px;text-decoration:none;font-weight:600;
  padding:9px 16px;border-radius:8px;
  background:var(--band);color:#fff;
  white-space:nowrap;
}
.header-cta:hover{background:#22314f}

/* ---------- hero ---------- */
.hero{padding:74px 0 84px}
.hero .wrap{display:grid;grid-template-columns:1.02fr .98fr;gap:56px;align-items:center}
.hero .wrap > *{min-width:0}
.kicker{
  display:inline-flex;align-items:center;gap:9px;
  font-size:12.5px;letter-spacing:.16em;text-transform:uppercase;
  color:var(--accent-ink);font-weight:600;
  padding:6px 12px;border:1px solid rgba(189,69,42,.32);border-radius:999px;
  background:var(--accent-soft);
}
.kicker::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--accent)}
h1{
  font-size:clamp(32px,4.4vw,52px);
  line-height:1.18;
  letter-spacing:-.02em;
  margin:22px 0 18px;
  font-weight:800;
}
h1 em{font-style:normal;color:var(--accent);position:relative}
h1 em::after{
  content:"";position:absolute;left:0;right:0;bottom:4px;height:7px;
  background:rgba(189,69,42,.18);z-index:-1;
}
.lede{font-size:16.5px;color:var(--ink-soft);max-width:46ch;margin:0 0 30px}
.cta-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:13px 22px;border-radius:9px;
  font-size:15px;font-weight:600;text-decoration:none;
  border:1px solid transparent;transition:.18s ease;
}
.btn-primary{background:var(--accent);color:#fff;box-shadow:0 12px 22px -14px rgba(189,69,42,.9)}
.btn-primary:hover{background:var(--accent-ink);transform:translateY(-1px)}
.btn-ghost{border-color:var(--line-strong);color:var(--ink);background:var(--paper-2)}
.btn-ghost:hover{border-color:var(--accent);color:var(--accent-ink)}
.hero-note{margin-top:18px;font-size:12.5px;color:var(--muted)}

/* ---------- 票据卡 ---------- */
.receipt{
  position:relative;
  background:var(--paper-2);
  border:1px solid var(--line-strong);
  border-radius:4px;
  box-shadow:0 30px 50px -34px rgba(23,19,16,.5), 0 2px 0 rgba(255,255,255,.7) inset;
  padding:22px 22px 18px;
  transform:rotate(-1.1deg);
  font-variant-numeric:tabular-nums;
}
.receipt::before{
  content:"";position:absolute;inset:6px;border:1px dashed rgba(201,187,164,.75);
  border-radius:2px;pointer-events:none;
}
.receipt-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:12px;border-bottom:2px solid var(--ink)}
.receipt-title{font-size:15px;font-weight:800;letter-spacing:.12em}
.receipt-en{font-size:10px;letter-spacing:.28em;color:var(--muted);margin-top:3px;font-family:var(--mono)}
.receipt-meta{text-align:right;font-size:10.5px;color:var(--muted);font-family:var(--mono);line-height:1.7}
table.items{width:100%;border-collapse:collapse;margin:14px 0 12px;font-size:12.5px;table-layout:fixed}
table.items th{
  text-align:left;font-weight:600;font-size:10.5px;letter-spacing:.1em;
  color:var(--muted);padding:0 0 7px;border-bottom:1px solid var(--line);
}
table.items td{padding:8px 0;border-bottom:1px dotted var(--line);vertical-align:top;word-break:break-word}
table.items th:nth-child(1){width:26%}
table.items th:nth-child(2){width:26%}
table.items th:nth-child(3){width:24%}
table.items th:nth-child(4){width:24%}
table.items td.num{font-family:var(--mono);white-space:nowrap;color:var(--ink-soft)}
.receipt-foot{display:flex;align-items:center;gap:14px;padding-top:6px}
.mini-qr{
  width:74px;height:74px;flex:0 0 74px;border:1px solid var(--line-strong);border-radius:3px;
  background:#fff;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='74' height='74' viewBox='0 0 25 25'><rect width='25' height='25' fill='white'/><g fill='%23171310'><rect x='1' y='1' width='6' height='6'/><rect x='2' y='2' width='4' height='4' fill='white'/><rect x='3' y='3' width='2' height='2'/><rect x='18' y='1' width='6' height='6'/><rect x='19' y='2' width='4' height='4' fill='white'/><rect x='20' y='3' width='2' height='2'/><rect x='1' y='18' width='6' height='6'/><rect x='2' y='19' width='4' height='4' fill='white'/><rect x='3' y='20' width='2' height='2'/><rect x='9' y='1' width='2' height='2'/><rect x='13' y='2' width='2' height='2'/><rect x='10' y='4' width='2' height='2'/><rect x='14' y='5' width='2' height='2'/><rect x='9' y='7' width='3' height='2'/><rect x='1' y='9' width='2' height='2'/><rect x='4' y='10' width='2' height='2'/><rect x='7' y='9' width='2' height='2'/><rect x='11' y='9' width='2' height='2'/><rect x='15' y='9' width='2' height='2'/><rect x='19' y='9' width='2' height='2'/><rect x='22' y='10' width='2' height='2'/><rect x='9' y='12' width='2' height='2'/><rect x='12' y='13' width='2' height='2'/><rect x='16' y='12' width='2' height='2'/><rect x='20' y='13' width='2' height='2'/><rect x='10' y='16' width='2' height='2'/><rect x='14' y='16' width='2' height='2'/><rect x='18' y='16' width='2' height='2'/><rect x='22' y='17' width='2' height='2'/><rect x='9' y='20' width='2' height='2'/><rect x='13' y='19' width='2' height='2'/><rect x='17' y='20' width='2' height='2'/><rect x='21' y='21' width='2' height='2'/></g></svg>");
  background-size:cover;
}
.receipt-foot p{margin:0;font-size:11.5px;color:var(--muted);line-height:1.6}
.receipt-foot strong{color:var(--ink);font-size:12.5px;display:block;margin-bottom:2px}
.stamp{
  position:absolute;right:-16px;bottom:74px;
  width:78px;height:78px;border-radius:50%;
  border:2px solid rgba(189,69,42,.55);
  color:rgba(189,69,42,.8);
  display:grid;place-items:center;text-align:center;
  font-size:11px;font-weight:700;letter-spacing:.12em;line-height:1.4;
  transform:rotate(-13deg);
  opacity:.9;
  background:rgba(255,253,248,.55);
}

/* ---------- 三栏卖点 ---------- */
.trio{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:8px}
.trio div{padding:0 26px;border-left:1px solid var(--line)}
.trio div:first-child{border-left:0;padding-left:0}
.trio b{display:block;font-size:15px;margin-bottom:6px}
.trio span{font-size:13.5px;color:var(--muted)}

/* ---------- 区块标题 ---------- */
.sec-head{max-width:640px;margin-bottom:44px}
.sec-label{font-size:11.5px;letter-spacing:.2em;color:var(--accent);font-weight:700;text-transform:uppercase}
.sec-head h2{font-size:clamp(24px,3vw,34px);line-height:1.28;margin:12px 0 12px;letter-spacing:-.01em}
.sec-head p{margin:0;color:var(--muted);font-size:15px}

/* ---------- 功能卡 ---------- */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.card{
  position:relative;
  background:var(--paper-2);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:24px 22px;
  transition:.2s ease;
}
.card:hover{border-color:var(--line-strong);transform:translateY(-3px);box-shadow:0 18px 30px -24px rgba(23,19,16,.55)}
.card .idx{font-family:var(--mono);font-size:11px;color:var(--accent);letter-spacing:.1em}
.card h3{font-size:16.5px;margin:10px 0 8px;letter-spacing:.01em}
.card p{margin:0;font-size:13.8px;color:var(--muted);line-height:1.7}
.card .soon{
  position:absolute;top:16px;right:16px;
  font-size:10.5px;letter-spacing:.08em;color:var(--accent-ink);
  background:var(--accent-soft);border:1px solid rgba(189,69,42,.28);
  border-radius:4px;padding:1px 6px;font-weight:600;
}

/* ---------- 流程 ---------- */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:0;counter-reset:step}
.step{position:relative;padding:0 30px 0 0}
.step::before{
  counter-increment:step;content:"0" counter(step);
  font-family:var(--mono);font-size:12px;color:var(--accent);
  letter-spacing:.14em;
}
.step h3{margin:10px 0 8px;font-size:17px}
.step p{margin:0;font-size:13.8px;color:var(--muted);padding-right:24px}
.step::after{
  content:"";position:absolute;top:9px;right:18px;width:calc(100% - 90px);height:1px;
  background:repeating-linear-gradient(90deg,var(--line-strong) 0 6px,transparent 6px 12px);
}
.step:last-child::after{display:none}

/* ---------- 适用对象 ---------- */
.audience{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.aud{
  border-left:3px solid var(--accent);
  padding:4px 0 4px 18px;
}
.aud b{display:block;font-size:15.5px;margin-bottom:5px}
.aud span{font-size:13.5px;color:var(--muted)}

/* ---------- 关于 / 联系 ---------- */
.about-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:48px;align-items:start}
.about-grid p{font-size:14.5px;color:var(--ink-soft);margin:0 0 14px}
.info-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.info-list li{
  display:flex;justify-content:space-between;gap:16px;
  padding:13px 0;border-bottom:1px solid var(--line);font-size:14px;
}
.info-list dt,.info-list .k{color:var(--muted);font-size:13px}
.info-list .v{font-weight:500;text-align:right}
.info-list a{color:var(--accent-ink);text-decoration:none;border-bottom:1px solid rgba(189,69,42,.35)}
.info-list a:hover{border-bottom-color:var(--accent)}
.phone-img{height:26px;width:auto;display:inline-block;vertical-align:middle;opacity:.92}
.doc .phone-img{height:24px}

/* ---------- footer ---------- */
.site-footer{border-top:1px solid var(--line);background:rgba(255,253,248,.6);padding:40px 0 34px;margin-top:20px}
.footer-top{display:flex;flex-wrap:wrap;gap:24px;justify-content:space-between;align-items:flex-start}
.footer-brand{font-weight:700;font-size:15px}
.footer-brand span{display:block;font-weight:400;font-size:12.5px;color:var(--muted);margin-top:5px;letter-spacing:.04em}
.footer-links{display:flex;flex-wrap:wrap;gap:18px;font-size:13px}
.footer-links a{color:var(--ink-soft);text-decoration:none}
.footer-links a:hover{color:var(--accent)}
.legal{
  margin-top:26px;padding-top:20px;border-top:1px dashed var(--line);
  font-size:12.5px;color:var(--muted);line-height:2;
}
.legal a{color:var(--muted);text-decoration:none;border-bottom:1px solid var(--line-strong)}
.legal a:hover{color:var(--accent);border-bottom-color:var(--accent)}
.legal .sep{margin:0 8px;color:var(--line-strong)}

/* ---------- 动效 ---------- */
@media (prefers-reduced-motion:no-preference){
  .reveal{opacity:0;transform:translateY(14px);animation:rise .72s cubic-bezier(.22,.8,.3,1) forwards}
  .reveal:nth-child(2){animation-delay:.08s}
  .reveal:nth-child(3){animation-delay:.16s}
  .reveal:nth-child(4){animation-delay:.24s}
  .reveal:nth-child(5){animation-delay:.32s}
  .reveal:nth-child(6){animation-delay:.4s}
  @keyframes rise{to{opacity:1;transform:none}}
}

/* ---------- 响应式 ---------- */
@media (max-width:960px){
  .hero .wrap{grid-template-columns:1fr;gap:40px}
  .receipt{transform:none}
  .cards{grid-template-columns:repeat(2,1fr)}
  .about-grid{grid-template-columns:1fr;gap:32px}
  .trio{grid-template-columns:1fr;gap:18px}
  .trio div{border-left:0;padding:0 0 0 16px;border-left:2px solid var(--line)}
  .steps{grid-template-columns:1fr;gap:26px}
  .step{padding:0}
  .step::after{display:none}
  .step p{padding-right:0}
  .audience{grid-template-columns:1fr}
  .nav{display:none}
}
@media (max-width:620px){
  .section{padding:64px 0}
  .hero{padding:44px 0 56px}
  .cards{grid-template-columns:1fr}
  .site-header .wrap{height:60px;gap:12px}
  .brand-sub{display:none}
  .header-cta{padding:8px 12px;font-size:12.5px}
  .stamp{width:64px;height:64px;font-size:9.5px;right:4px;bottom:64px}
  .legal{font-size:12px;line-height:1.9}
  .receipt{padding:18px 14px 14px}
  .receipt-title{font-size:13.5px;letter-spacing:.08em}
  .receipt-meta{font-size:9.5px}
  table.items{font-size:11.5px}
  table.items th{font-size:9.5px;letter-spacing:.04em}
  table.items td{padding:7px 0}
  .receipt-foot{gap:10px}
  .mini-qr{width:60px;height:60px;flex:0 0 60px}
  .receipt-foot strong{font-size:11.5px}
  .receipt-foot p{font-size:10.5px}
}
