/* =============================================================
   ecommerce-website.html 专属样式 —— 深底横幅+报价侧卡首屏
   ============================================================= */

/* ---------- 首屏 ---------- */
.ec-hero{
  background:var(--dark);color:#D8D2C6;
  padding:calc(var(--topbar-h) + var(--header-h) + 76px) 0 90px;
  position:relative;overflow:hidden;
}
.ec-hero::after{
  content:"";position:absolute;right:-120px;top:-120px;width:420px;height:420px;
  border:1px solid rgba(201,169,104,.25);border-radius:50%;
}
.ec-hero-inner{
  display:grid;grid-template-columns:1.25fr .75fr;gap:56px;align-items:center;
  position:relative;z-index:1;
}
.ec-kicker{font-size:12.5px;letter-spacing:.45em;color:var(--earth-light);margin-bottom:20px}
.ec-title{font-size:clamp(30px,4.2vw,48px);line-height:1.4;color:#EFE9DC;margin-bottom:22px}
.ec-title span{color:var(--earth-light)}
.ec-sub{font-size:15.5px;line-height:2;color:#B0A896;max-width:560px;margin-bottom:30px}
.ec-hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.ec-quote-card{
  background:rgba(243,239,231,.06);border:1px solid rgba(201,193,178,.22);
  padding:30px 28px;
}
.ec-quote-card h3{font-size:17px;color:#EFE9DC;letter-spacing:.15em;margin-bottom:18px;padding-bottom:12px;border-bottom:1px solid rgba(201,193,178,.18)}
.ec-quote-card ul{margin-bottom:22px}
.ec-quote-card li{
  display:flex;gap:10px;font-size:13.5px;color:#C3BBAB;padding:9px 0;
  border-bottom:1px dashed rgba(201,193,178,.14);line-height:1.6;
}
.ec-quote-card li span{color:var(--earth-light);flex:none;width:44px;font-weight:600}

/* ---------- 功能清单 ---------- */
.ec-feat-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.ec-feat-col h3{
  font-size:19px;margin-bottom:20px;padding-bottom:12px;
  border-bottom:2px solid var(--earth);display:inline-block;
}
.ec-feat-col li{
  display:flex;gap:12px;align-items:flex-start;padding:14px 0;
  border-bottom:1px dashed var(--line);
}
.ec-feat-col li svg{width:16px;height:16px;fill:var(--earth);flex:none;margin-top:4px}
.ec-feat-col span{font-size:14px;color:var(--ink-soft);line-height:1.9}
.ec-feat-col b{color:var(--ink)}
.ec-feat-col a{color:var(--earth-deep);border-bottom:1px dashed var(--earth)}

/* ---------- B2B/B2C ---------- */
.ec-mode{margin-top:0}
.ec-mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.ec-mode-card{background:var(--paper);border:1px solid var(--line);padding:28px}
.ec-mode-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:18px}
.ec-mode-head h3{font-size:21px}
.ec-mode-card img{width:100%;height:220px;object-fit:cover;margin-bottom:18px}
.ec-mode-card li{
  font-size:14px;color:var(--ink-soft);line-height:1.9;padding-left:16px;position:relative;margin-bottom:8px;
}
.ec-mode-card li::before{content:"";position:absolute;left:0;top:11px;width:8px;height:2px;background:var(--earth)}

/* ---------- 支付物流 ---------- */
.ec-pay-wrap{display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:center}
.ec-pay-copy .lead{margin:14px 0 18px}
.ec-pay-copy p{font-size:14.5px;color:var(--ink-soft);line-height:2;margin-bottom:14px}
.ec-pay-photo img{width:100%;box-shadow:var(--shadow)}

/* ---------- 案例（深色） ---------- */
.ec-cases{margin-top:0}
.ec-case-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.ec-case-card{
  background:rgba(243,239,231,.05);border:1px solid rgba(201,193,178,.18);padding:22px;
  display:block;transition:border-color .3s ease;
}
.ec-case-card:hover{border-color:var(--earth)}
.ec-case-card img{width:100%;height:220px;object-fit:cover;margin-bottom:16px}
.ec-case-card h3{font-size:18px;color:#EFE9DC;margin-bottom:8px}
.ec-case-card p{font-size:13.5px;color:#B0A896;line-height:1.85}

/* ---------- 后台流程 ---------- */
.ec-admin-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border-left:1px solid var(--line)}
.ec-admin-grid>div{padding:28px 24px;border-right:1px solid var(--line);border-top:3px solid var(--earth)}
.ec-admin-grid .num{font-size:30px;color:var(--earth-light);display:block;margin-bottom:12px}
.ec-admin-grid h3{font-size:17px;margin-bottom:8px}
.ec-admin-grid p{font-size:13.5px;color:var(--ink-soft);line-height:1.85}

/* ---------- 安全性能 ---------- */
.ec-sec-wrap{display:grid;grid-template-columns:.9fr 1.1fr;gap:56px;align-items:center}
.ec-sec-photo img{width:100%;box-shadow:var(--shadow)}
.ec-sec-copy p{font-size:14.5px;color:var(--ink-soft);line-height:2;margin-bottom:14px}
.ec-sec-copy a{color:var(--earth-deep);border-bottom:1px dashed var(--earth)}

/* ---------- 费用表 ---------- */
.ec-cost-table{border:1px solid var(--line);background:var(--paper)}
.ec-cost-row{
  display:grid;grid-template-columns:1fr 1.6fr .8fr;gap:20px;align-items:center;
  padding:16px 24px;border-bottom:1px solid var(--line);font-size:14.5px;
}
.ec-cost-row:last-child{border-bottom:none}
.ec-cost-row--head{
  background:var(--dark);color:#EDE7DA;font-family:var(--font-serif);letter-spacing:.1em;
}
.ec-cost-row--head span:last-child{text-align:center}
.ec-cost-row .badge{justify-self:start}
.ec-cost-note{margin-top:22px;font-size:14px;color:var(--ink-soft)}
.ec-cost-note a{color:var(--earth-deep);border-bottom:1px dashed var(--earth)}

/* ---------- FAQ ---------- */
.ec-faq-wrap{max-width:860px}
.ec-faq .section-head{margin-bottom:34px}

/* ---------- CTA ---------- */
.ec-cta{padding:90px 0;background:var(--paper-deep)}
.ec-cta-box{
  max-width:760px;margin:0 auto;text-align:center;
  background:var(--dark);color:#D8D2C6;padding:60px 40px;
}
.ec-cta-box h2{font-size:clamp(24px,3vw,34px);color:#EFE9DC;line-height:1.5;margin-bottom:26px}
.ec-cta-row{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-bottom:30px}
.ec-cta-row a{
  display:inline-flex;align-items:center;gap:8px;font-size:14px;color:#E3DCCB;
  border:1px solid rgba(201,193,178,.3);padding:10px 18px;border-radius:var(--radius);
}
.ec-cta-row a:hover{border-color:var(--earth);color:var(--earth-light)}
.ec-cta-row svg{width:15px;height:15px;fill:var(--earth-light)}

/* ---------- 响应式 ---------- */
@media (max-width:991px){
  .ec-hero-inner{grid-template-columns:1fr;gap:40px}
  .ec-feat-grid{grid-template-columns:1fr;gap:24px}
  .ec-mode-grid{grid-template-columns:1fr}
  .ec-pay-wrap,.ec-sec-wrap{grid-template-columns:1fr;gap:30px}
  .ec-case-grid{grid-template-columns:1fr}
  .ec-admin-grid{grid-template-columns:1fr 1fr}
  .ec-admin-grid>div{border-bottom:1px solid var(--line)}
}
@media (max-width:720px){
  .ec-admin-grid{grid-template-columns:1fr}
  .ec-cost-row{grid-template-columns:1fr;gap:8px}
}
