/* ============================================================
   hhlsq.com — cases.css 项目案例页专属样式
   布局指纹：H8 网格动感 Hero（2×2 错位图格 + 中央白卡）｜B2卡片墙｜B9横向画廊｜B7 Bento｜B4图文交替｜B8证言｜B15 CTA
   签名元素：S3 虚线圆环组
   ============================================================ */

/* ---------- 1. Hero H8 网格动感 ---------- */
.cs-hero{
  background:var(--gray-100);
  padding:clamp(64px,7vw,100px) 0 clamp(70px,8vw,110px);
  position:relative; overflow:hidden;
}
.cs-hero__grid{
  display:grid; grid-template-columns:1fr 1fr; gap:22px;
  max-width:1020px; margin:0 auto; position:relative;
}
.cs-hero__tile{ margin:0; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-sm); }
.cs-hero__tile img{ width:100%; aspect-ratio:16/10; object-fit:cover; }
.cs-hero__tile--a{ transform:rotate(-1.6deg) scale(.985); }
.cs-hero__tile--b{ transform:rotate(1.4deg) translateY(26px) scale(1.01); }
.cs-hero__tile--c{ transform:rotate(1.4deg) translateY(26px) scale(1.01); }
.cs-hero__tile--d{ transform:rotate(-1.6deg) scale(.985); }

.cs-hero__card{
  position:relative; z-index:3; background:#fff;
  border-radius:var(--radius-lg); box-shadow:var(--shadow-lg);
  padding:clamp(28px,4vw,48px); max-width:560px;
  margin:-110px auto 0; text-align:center;
}
.cs-hero__title{ font-size:clamp(26px,3.6vw,40px); line-height:1.3; margin:6px 0 14px; }
.cs-hero__lead{ color:var(--gray-600); font-size:15.5px; margin-bottom:24px; }
.cs-hero__actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* S3 虚线圆环组：Hero 右上角三层同心虚线环 */
.cs-orbit{
  position:absolute; right:-80px; top:-80px; width:230px; height:230px;
  border-radius:50%; border:1.5px dashed var(--gray-300); pointer-events:none;
}
.cs-orbit::before{
  content:""; position:absolute; inset:30px; border-radius:50%;
  border:1.5px dashed var(--gray-400);
}
.cs-orbit::after{
  content:""; position:absolute; inset:62px; border-radius:50%;
  border:1.5px dashed var(--gold); opacity:.55;
}

/* ---------- 2. B2 错位卡片墙 ---------- */
.cs-deliver__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.cs-deliver__card{
  background:#fff; border:1px solid var(--gray-200); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm); padding:30px 26px;
  transition:transform .3s ease, box-shadow .3s ease;
}
.cs-deliver__card:nth-child(odd){ transform:translateY(14px); }
.cs-deliver__card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.cs-deliver__card:nth-child(odd):hover{ transform:translateY(8px); }
.cs-deliver__card svg{ width:34px; height:34px; color:var(--navy-600); stroke-width:1.4; margin-bottom:16px; transition:color .3s ease; }
.cs-deliver__card:hover svg{ color:var(--gold); }
.cs-deliver__card h3{ font-size:17.5px; margin-bottom:10px; }
.cs-deliver__card p{ font-size:14px; color:var(--gray-600); line-height:1.75; margin:0; }

/* ---------- 3. B9 横向画廊 ---------- */
.cs-gallery__rail{
  display:flex; gap:22px; overflow-x:auto; scroll-snap-type:x mandatory;
  padding-bottom:24px; scrollbar-width:thin;
}
.cs-gallery__item{
  flex:0 0 min(400px,78vw); margin:0; background:#fff;
  border:1px solid var(--gray-200); border-radius:var(--radius-lg);
  overflow:hidden; box-shadow:var(--shadow-sm); scroll-snap-align:start;
  transition:transform .3s ease, box-shadow .3s ease;
}
.cs-gallery__item:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.cs-gallery__item img{ width:100%; aspect-ratio:16/9; object-fit:cover; }
.cs-gallery__item figcaption{ padding:20px 22px 24px; }
.cs-gallery__item h3{ font-size:17px; margin:12px 0 8px; }
.cs-gallery__item p{ font-size:13.5px; color:var(--gray-600); margin:0; line-height:1.7; }

/* ---------- 4. B7 Bento 网格 ---------- */
.cs-bento__grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.cs-bento__cell{
  background:var(--gray-100); border-radius:var(--radius-lg);
  padding:28px 24px; display:flex; flex-direction:column; justify-content:center;
  transition:transform .3s ease, box-shadow .3s ease;
}
.cs-bento__cell:hover{ transform:translateY(-4px); box-shadow:var(--shadow-sm); }
.cs-bento__cell--big{ grid-column:span 2; grid-row:span 2; background:var(--navy-900); padding:36px 32px; }
.cs-bento__cell--navy{ background:var(--navy-800); color:#E8EEF5; }
.cs-bento__num{
  font-size:clamp(30px,3.4vw,42px); font-weight:700; color:var(--navy-700); line-height:1.1;
}
.cs-bento__num em{ font-style:normal; color:var(--gold); }
.cs-bento__cell--big .cs-bento__num{ font-size:clamp(46px,6vw,68px); color:#fff; }
.cs-bento__cell--navy .cs-bento__num{ color:#fff; }
.cs-bento__label{ font-size:13.5px; color:var(--gray-500); margin-top:10px; }
.cs-bento__cell--big .cs-bento__label,
.cs-bento__cell--navy .cs-bento__label{ color:rgba(232,238,245,.7); }

/* ---------- 5. B4 图文交替流（案例详解） ---------- */
.cs-flow{ display:flex; flex-direction:column; gap:clamp(40px,6vw,68px); }
.cs-pair{ display:grid; grid-template-columns:1fr 1.05fr; gap:48px; align-items:center; }
.cs-pair--reverse .cs-pair__media{ order:2; }
.cs-pair__media img{ width:100%; aspect-ratio:16/10; object-fit:cover; border-radius:var(--radius-lg); box-shadow:var(--shadow-md); }
.cs-pair__body h3{ font-size:21px; margin:14px 0 12px; }
.cs-pair__body p{ color:var(--gray-600); font-size:14.5px; margin:0 0 10px; line-height:1.85; }
.cs-pair__body strong{ color:var(--navy-800); font-weight:600; }
.cs-pair__more{ font-size:14px; color:var(--gray-700); }
.cs-pair__more a{ font-weight:600; }

/* ---------- 6. B8 证言带 ---------- */
.cs-say__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.cs-say__card{
  background:#fff; border:1px solid var(--gray-200); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm); padding:32px 28px; margin:0; position:relative;
  transition:transform .3s ease, box-shadow .3s ease;
}
.cs-say__card:nth-child(2){ transform:translateY(16px); }
.cs-say__card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.cs-say__card:nth-child(2):hover{ transform:translateY(10px); }
.cs-say__card::before{
  content:"“"; position:absolute; top:6px; left:20px;
  font-family:var(--font-serif); font-size:64px; color:var(--gold); opacity:.35; line-height:1;
}
.cs-say__text{
  position:relative; font-size:14.5px; color:var(--gray-700); line-height:1.9;
  padding-top:18px; margin-bottom:20px; min-height:120px;
}
.cs-say__card footer{ display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.cs-say__who{ font-size:13.5px; color:var(--gray-500); }

/* ---------- 7. B15 CTA ---------- */
.cs-cta{ padding-bottom:clamp(70px,8vw,110px); }
.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);
}
.cs-cta__orbit{
  position:absolute; left:-70px; bottom:-70px; width:210px; height:210px;
  border-radius:50%; border:1.5px dashed var(--gold); opacity:.45; pointer-events:none;
}
.cs-cta__orbit::before{
  content:""; position:absolute; inset:28px; border-radius:50%;
  border:1.5px dashed rgba(255,255,255,.25);
}
.cta-banner__inner{ position:relative; z-index:1; }
.cta-banner__title{ color:#fff; font-size:clamp(22px,3vw,32px); margin-bottom:12px; }
.cta-banner__sub{ color:rgba(232,238,245,.78); font-size:15px; margin-bottom:28px; }
.cta-banner__actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.cta-banner__ghost{ border-color:rgba(255,255,255,.5); color:#fff; }
.cta-banner__ghost:hover{ background:#fff; color:var(--navy-700); }

/* ---------- 响应式 ---------- */
@media (max-width: 992px){
  .cs-hero__tile--b,.cs-hero__tile--c{ transform:none; }
  .cs-hero__tile--a,.cs-hero__tile--d{ transform:none; }
  .cs-hero__card{ margin:-70px 20px 0; }
  .cs-deliver__grid{ grid-template-columns:repeat(2,1fr); }
  .cs-deliver__card:nth-child(odd){ transform:none; }
  .cs-deliver__card:hover{ transform:translateY(-6px); }
  .cs-bento__grid{ grid-template-columns:repeat(2,1fr); }
  .cs-bento__cell--big{ grid-column:span 2; grid-row:span 1; }
  .cs-pair{ grid-template-columns:1fr; gap:26px; }
  .cs-pair--reverse .cs-pair__media{ order:0; }
  .cs-say__grid{ grid-template-columns:1fr; max-width:560px; margin:0 auto; }
  .cs-say__card:nth-child(2){ transform:none; }
  .cs-say__text{ min-height:0; }
}
@media (max-width: 640px){
  .cs-hero__grid{ grid-template-columns:1fr; gap:16px; }
  .cs-hero__card{ margin:-40px 0 0; }
  .cs-orbit{ width:150px; height:150px; right:-50px; top:-50px; }
  .cs-deliver__grid{ grid-template-columns:1fr; }
  .cs-bento__grid{ grid-template-columns:1fr; }
  .cs-bento__cell--big{ grid-column:span 1; }
  .cs-gallery__item{ flex-basis:86vw; }
  .cta-banner__actions .btn{ width:100%; }
}
