/* ============================================================
   hhlsq.com — miniapp.css 小程序开发页专属样式
   布局指纹：H5 侧栏布局 Hero（左窄栏藏蓝编号竖排）｜B9横向画廊｜B2卡片墙｜B1统计带｜B4图文交替｜B14表单｜B15 CTA
   签名元素：S3 虚线圆环组（hero 图旁两枚同心虚线圆环）
   ============================================================ */

/* ---------- 1. Hero 侧栏布局 ---------- */
.mp-hero{ padding-top:0; overflow:hidden; }
.mp-hero__row{ display:grid; grid-template-columns:240px 1fr; align-items:stretch; }
.mp-hero__side{
  background:linear-gradient(160deg,var(--navy-900),var(--navy-800));
  color:#E8EEF5; padding:clamp(48px,5vw,72px) 28px; display:flex; flex-direction:column; justify-content:space-between;
  min-height:520px;
}
.mp-hero__nums{ display:flex; flex-direction:column; gap:22px; }
.mp-hero__nums li{ font-size:15px; letter-spacing:.08em; display:flex; align-items:center; gap:12px; color:rgba(232,238,245,.85); }
.mp-hero__nums span{ font-family:var(--font-serif); font-size:13px; color:var(--gold); border:1px solid rgba(176,141,74,.5); border-radius:50%; width:30px; height:30px; display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; }
.mp-hero__side-note{ font-size:12.5px; line-height:1.9; color:rgba(232,238,245,.6); margin-top:30px; }
.mp-hero__side-contact{ font-size:18px; font-weight:700; color:var(--gold); margin-top:8px; }

.mp-hero__main{
  background:var(--gray-100); padding:clamp(48px,6vw,84px) clamp(24px,5vw,72px);
  display:grid; grid-template-columns:1.1fr .9fr; gap:40px; align-items:center; position:relative;
}
.mp-hero__title{ font-size:clamp(28px,3.8vw,46px); line-height:1.25; margin-bottom:18px; }
.mp-hero__title em{ font-style:normal; color:var(--gold); }
.mp-hero__lead{ color:var(--gray-600); font-size:16px; margin-bottom:26px; max-width:520px; }
.mp-hero__actions{ display:flex; gap:14px; flex-wrap:wrap; }
.mp-hero__media{ position:relative; }
.mp-hero__media img{ width:100%; aspect-ratio:16/10; object-fit:cover; border-radius:var(--radius-lg); box-shadow:var(--shadow-md); }
.mp-hero__ring{
  position:absolute; border:1.5px dashed rgba(51,96,143,.45); border-radius:50%; pointer-events:none;
}
.mp-hero__ring--1{ width:150px; height:150px; left:-30px; bottom:-30px; }
.mp-hero__ring--2{ width:90px; height:90px; left:-8px; bottom:-8px; border-color:rgba(176,141,74,.55); }

/* ---------- 2. B9 横向画廊 ---------- */
.mp-show__track{
  display:flex; gap:22px; overflow-x:auto; padding:6px 24px 24px;
  scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch;
}
.mp-show__item{
  flex:0 0 min(340px,80vw); scroll-snap-align:start;
  background:#fff; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-sm);
}
.mp-show__item img{ width:100%; aspect-ratio:16/9; object-fit:cover; }
.mp-show__item figcaption{ padding:18px 20px 22px; }
.mp-show__item h3{ font-size:17px; margin-bottom:8px; }
.mp-show__item p{ font-size:13.5px; color:var(--gray-600); margin:0; line-height:1.7; }
.mp-show__item p a{ color:var(--navy-600); font-weight:600; }

/* ---------- 3. B2 错位卡片墙 ---------- */
.mp-feat__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.mp-feat__card{
  background:#fff; border:1px solid var(--gray-200); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm); padding:28px 26px; transition:all .3s ease;
}
.mp-feat__card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.mp-feat__card:nth-child(even){ transform:translateY(18px); }
.mp-feat__card:nth-child(even):hover{ transform:translateY(-4px); }
.mp-feat__card svg{ width:32px; height:32px; color:var(--navy-600); stroke-width:1.4; margin-bottom:14px; }
.mp-feat__card:hover svg{ color:var(--gold); }
.mp-feat__card h3{ font-size:17px; margin-bottom:10px; }
.mp-feat__card p{ font-size:14px; color:var(--gray-600); margin:0; line-height:1.75; }

/* ---------- 4. B1 数据带 ---------- */
.mp-stats{ background:linear-gradient(135deg,var(--navy-900),var(--navy-800)); }
.mp-stats__grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; text-align:center; }
.mp-stat{ position:relative; padding:8px 0; }
.mp-stat + .mp-stat::before{
  content:""; position:absolute; left:0; top:50%; transform:translateY(-50%);
  width:1px; height:46px; background:rgba(232,238,245,.16);
}
.mp-stat .stat-num{ color:#fff; }
.mp-stat .stat-note{ color:rgba(232,238,245,.66); }

/* ---------- 5. B4 图文交替流 ---------- */
.mp-flow__list{ display:flex; flex-direction:column; gap:clamp(36px,5vw,60px); }
.mp-flow__pair{ display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:center; }
.mp-flow__pair--rev .mp-flow__media{ order:2; }
.mp-flow__media img{ width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:var(--radius-lg); box-shadow:var(--shadow-md); }
.mp-flow__num{ font-size:46px; font-weight:700; color:transparent; -webkit-text-stroke:1.5px var(--gold); line-height:1; display:block; margin-bottom:10px; }
.mp-flow__body h3{ font-size:22px; margin-bottom:12px; }
.mp-flow__body p{ color:var(--gray-600); font-size:15px; margin:0; }

/* ---------- 6. B14 表单 ---------- */
.mp-form__split{ display:grid; grid-template-columns:1fr 1.08fr; gap:48px; align-items:center; }
.mp-form__text{ color:var(--gray-600); font-size:15px; margin-bottom:20px; }
.mp-form__text a{ font-weight:600; color:var(--navy-700); }
.mp-form__points li{ display:flex; align-items:baseline; gap:10px; padding:8px 0; font-size:14.5px; color:var(--gray-700); border-bottom:1px dashed var(--gray-300); }
.mp-form__points li::before{ content:""; width:8px; height:8px; border-radius:50%; background:var(--gold); flex-shrink:0; }
.mp-form__points li:last-child{ border-bottom:none; }
.mp-form__more{ margin-top:22px; font-size:13.5px; color:var(--gray-500); }
.mp-form__more a{ color:var(--navy-600); margin:0 4px; }

/* ---------- 7. B15 CTA ---------- */
.mp-cta{ padding-bottom:clamp(70px,8vw,110px); }
.mp-cta__banner{
  background:linear-gradient(135deg,var(--navy-800),var(--navy-700) 55%,var(--navy-600));
  border-radius:28px; padding:clamp(44px,5vw,72px) clamp(24px,4vw,56px);
  text-align:center; position:relative; overflow:hidden; box-shadow:var(--shadow-lg);
}
.mp-cta__banner::before{
  content:""; position:absolute; right:-90px; top:-90px; width:280px; height:280px;
  border-radius:50%; border:1px dashed rgba(255,255,255,.22);
}
.mp-cta__banner::after{
  content:""; position:absolute; left:-60px; bottom:-120px; width:220px; height:220px;
  border-radius:50%; border:1px dashed rgba(176,141,74,.4);
}
.mp-cta__inner{ position:relative; z-index:1; }
.mp-cta__title{ color:#fff; font-size:clamp(22px,3vw,32px); margin-bottom:12px; }
.mp-cta__sub{ color:rgba(232,238,245,.78); font-size:15px; margin-bottom:28px; }
.mp-cta__actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.mp-cta__ghost{ border-color:rgba(255,255,255,.5); color:#fff; }
.mp-cta__ghost:hover{ background:#fff; color:var(--navy-700); }

/* ---------- 响应式 ---------- */
@media (max-width: 992px){
  .mp-hero__row{ grid-template-columns:1fr; }
  .mp-hero__side{ flex-direction:row; align-items:center; min-height:0; padding:24px 28px; flex-wrap:wrap; gap:18px; }
  .mp-hero__nums{ flex-direction:row; flex-wrap:wrap; gap:14px; }
  .mp-hero__side-note,.mp-hero__side-contact{ margin:0; }
  .mp-hero__main{ grid-template-columns:1fr; }
  .mp-stats__grid{ grid-template-columns:repeat(2,1fr); }
  .mp-feat__grid{ grid-template-columns:repeat(2,1fr); }
  .mp-feat__card:nth-child(even){ transform:none; }
  .mp-flow__pair{ grid-template-columns:1fr; }
  .mp-flow__pair--rev .mp-flow__media{ order:0; }
  .mp-form__split{ grid-template-columns:1fr; }
}
@media (max-width: 640px){
  .mp-stats__grid{ grid-template-columns:1fr 1fr; gap:14px; }
  .mp-feat__grid{ grid-template-columns:1fr; }
  .mp-hero__actions .btn{ width:100%; }
  .mp-show__item{ flex-basis:84vw; }
}
