/* ============================================================
   service-wx.css — 微信公众号开发页
   布局特征：背景居中 hero / CSS 手机菜单框 / 交错行清单
   ============================================================ */

/* ---------- 1. Hero ---------- */
.wx-hero{position:relative;min-height:96vh;display:flex;align-items:center;overflow:hidden;padding:160px 0 110px;text-align:center}
.wx-hero-bg{position:absolute;inset:-8% 0;background-size:cover;background-position:center}
.wx-hero-veil{position:absolute;inset:0;background:rgba(20,20,20,.78)}
.wx-hero-inner{position:relative;z-index:2;max-width:820px}
.wx-crumb{font-size:13px;color:#C9BFAE;margin-bottom:28px;letter-spacing:.04em}
.wx-crumb a{color:#DFC69B}
.wx-crumb a:hover{color:#fff}
.wx-crumb span{margin:0 8px;opacity:.6}
.wx-crumb em{font-style:normal;color:#fff}
.wx-hero-title{color:#fff;font-size:clamp(32px,4.8vw,58px);font-weight:900;line-height:1.22;margin-bottom:24px}
.wx-gold{background:var(--grad-coffee);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.wx-hero-sub{color:#D0C8B9;font-size:16px;line-height:1.9;max-width:600px;margin:0 auto 36px}
.wx-hero-cta{display:flex;justify-content:center;flex-wrap:wrap;gap:16px}

/* ---------- 2. 手机框 + 文字 ---------- */
.wx-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:64px;align-items:center}
.wx-phone{width:280px;margin:0 auto;text-align:center}
.wx-phone-screen{background:var(--ink);border-radius:36px;padding:18px 14px;box-shadow:var(--shadow-lg)}
.wx-chat{background:#2B2824;border-radius:16px;padding:18px 14px;margin-bottom:12px;min-height:180px}
.wx-bubble{display:inline-block;background:#3A352E;color:#E9E2D6;font-size:12.5px;border-radius:12px;padding:10px 14px;text-align:left;line-height:1.7}
.wx-menu{display:flex;gap:6px}
.wx-menu-col{flex:1;background:#2B2824;border-radius:10px;padding:10px 4px;display:flex;flex-direction:column;gap:6px}
.wx-menu-col b{font-size:10.5px;color:#fff}
.wx-menu-col span{font-size:8.5px;color:#9A9082;line-height:1.5}
.wx-phone-cap{margin-top:14px;font-size:12.5px;color:var(--text-2);letter-spacing:.08em}
.wx-list{margin-top:26px;border-left:3px solid var(--coffee)}
.wx-list li{padding:9px 0 9px 20px;font-size:15px;position:relative}
.wx-list li::before{content:"";position:absolute;left:-3px;top:16px;width:8px;height:8px;border-radius:50%;background:var(--coffee)}

/* ---------- 3. 交错行 ---------- */
.wx-rows{max-width:900px}
.wx-row{display:flex;gap:26px;align-items:flex-start;background:#fff;border-radius:var(--radius-md);padding:28px 32px;margin-bottom:18px;box-shadow:var(--shadow-sm)}
.wx-row:nth-child(odd){margin-right:60px}
.wx-row:nth-child(even){margin-left:60px}
.wx-row b{flex-shrink:0;font-size:30px;font-weight:900;color:var(--coffee);opacity:.7}
.wx-row h3{font-size:17px;margin-bottom:6px}
.wx-row p{font-size:14px;color:var(--text-2);line-height:1.8}

/* ---------- 4. 数据条 ---------- */
.wx-stats{background:var(--ink);padding:68px 0}
.wx-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:30px;text-align:center}
.wx-stat b{display:block;font-size:clamp(36px,4.2vw,54px);font-weight:900;color:var(--coffee-bright);line-height:1.1}
.wx-stat span{color:#B7AE9E;font-size:13px;margin-top:8px;display:block}

/* ---------- 5. 4 步流程 ---------- */
.wx-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.wx-step{background:var(--coffee-bg);border-radius:var(--radius-md);padding:30px 26px;text-align:center}
.wx-step b{display:inline-flex;width:44px;height:44px;border-radius:50%;background:var(--grad-coffee);color:#fff;align-items:center;justify-content:center;font-weight:900;margin-bottom:16px}
.wx-step h3{font-size:16px;margin-bottom:8px}
.wx-step p{font-size:13px;color:var(--text-2);line-height:1.8}

/* ---------- 6. FAQ ---------- */
.wx-faq-wrap{max-width:860px}
.wx-faq{border-top:1px solid var(--line);background:#fff;border-radius:var(--radius-md);padding:0 32px;box-shadow:var(--shadow-sm)}
.acc-item{border-bottom:1px solid var(--line)}
.acc-item:last-child{border-bottom:none}
.acc-head{width:100%;display:flex;justify-content:space-between;align-items:center;gap:20px;text-align:left;font-size:16px;font-weight:700;color:var(--ink);padding:22px 4px;cursor:pointer}
.acc-arrow{width:13px;height:13px;border-right:2px solid var(--coffee-deep);border-bottom:2px solid var(--coffee-deep);transform:rotate(45deg);flex-shrink:0;transition:transform .35s;margin-top:-5px}
.acc-item.open .acc-arrow{transform:rotate(225deg)}
.acc-panel{max-height:0;overflow:hidden;transition:max-height .45s ease}
.acc-panel p{padding:0 4px 22px;color:var(--text-2);font-size:14px;line-height:1.9}
.acc-panel a{color:var(--coffee-deep);font-weight:600}

/* ---------- 7. CTA ---------- */
.wx-cta{background:linear-gradient(135deg,#2B2824,#141414);padding:120px 0;text-align:center;overflow:hidden;position:relative}
.wx-cta::before{content:"";position:absolute;left:40px;bottom:-60px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(201,168,124,.18),transparent 70%)}
.wx-cta-inner{position:relative;z-index:2;max-width:660px;margin:0 auto}
.wx-cta-title{color:#fff;font-size:clamp(26px,3.8vw,42px);font-weight:900;margin-bottom:16px}
.wx-cta-sub{color:#B7AE9E;font-size:15.5px;margin-bottom:34px}
.wx-cta-row{display:flex;justify-content:center;flex-wrap:wrap;gap:16px}

/* ---------- 响应式 ---------- */
@media (max-width:1024px){
  .wx-layout{grid-template-columns:1fr;gap:44px}
  .wx-row:nth-child(odd),.wx-row:nth-child(even){margin:0 0 18px}
  .wx-flow{grid-template-columns:repeat(2,1fr)}
  .wx-stats-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
  .wx-flow{grid-template-columns:1fr}
  .wx-row{flex-direction:column;gap:10px}
  .wx-stats-grid{grid-template-columns:repeat(2,1fr);gap:20px}
}
