/* ==========================================================================
   gandehao.cn 案例总览页专属样式 · anli.css
   依赖：global.css
   独有签名：全屏案例大图 Hero + 行业分类入口卡 + 案例网格
   ========================================================================== */

/* Hero：全屏大图 + 叠字 */
.al-hero { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden; }
.al-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.al-hero-mask {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(24, 48, 47, .88) 0%, rgba(34, 56, 58, .72) 46%, rgba(60, 143, 104, .45) 100%);
}
.al-hero-inner { position: relative; z-index: 2; padding: 120px 0 90px; max-width: 760px; }
.al-crumb { color: rgba(255,255,255,.75); margin-bottom: 18px; }
.al-crumb a { color: #BFE9D2; }
.al-crumb .crumb-current { color: #fff; }
.al-hero-inner h1 { color: #fff; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.28; margin: 14px 0 18px; }
.al-hl { color: #9BE7C0; position: relative; white-space: nowrap; }
.al-hero-inner > p { color: rgba(255,255,255,.9); font-size: 16.5px; line-height: 1.9; max-width: 620px; }
.al-hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }

/* 行业分类入口 */
.al-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.al-cat {
  display: block; background: var(--c-white); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: 26px 24px; box-shadow: var(--sh-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
  position: relative; overflow: hidden;
}
.al-cat::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--c-green), var(--c-blue)); transition: width .35s ease;
}
.al-cat:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.al-cat:hover::after { width: 100%; }
.al-cat-ico {
  width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--c-green-soft), var(--c-blue-soft)); color: var(--c-green-deep);
}
.al-cat-ico.is-blue { background: linear-gradient(135deg, var(--c-blue-soft), var(--c-green-soft)); color: var(--c-blue-deep); }
.al-cat-ico svg { width: 24px; height: 24px; }
.al-cat h3 { font-size: 18px; margin: 14px 0 6px; }
.al-cat p { font-size: 14px; color: var(--c-muted); line-height: 1.7; }
.al-cat-more { display: inline-block; margin-top: 12px; font-size: 13.5px; font-weight: 700; color: var(--c-green-deep); }
.al-cat:hover .al-cat-more { color: var(--c-blue-deep); }

/* 案例网格 */
.al-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.al-case {
  display: block; background: var(--c-white); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.al-case:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.al-case-media { height: 190px; overflow: hidden; }
.al-case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.al-case:hover .al-case-media img { transform: scale(1.06); }
.al-case-body { padding: 18px 20px 22px; }
.al-case-body h3 { font-size: 16.5px; margin: 10px 0 6px; }
.al-case-body p { font-size: 13.5px; color: var(--c-muted); line-height: 1.7; }
.al-case-metric { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--c-line); font-size: 13px; color: var(--c-muted); }
.al-case-metric b { color: var(--c-green-deep); font-size: 16px; margin-left: 4px; }

/* 数据条 */
.al-nums .stat-grid { padding: clamp(30px, 4vw, 46px) 0; }

/* 四步做法 */
.al-way-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.al-way-item {
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: 26px 22px; box-shadow: var(--sh-sm); position: relative;
  transition: transform .3s, box-shadow .3s;
}
.al-way-item:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.al-way-num {
  font-size: 30px; font-weight: 800; line-height: 1;
  background: linear-gradient(120deg, var(--c-green), var(--c-blue));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.al-way-item h3 { font-size: 17px; margin: 12px 0 8px; }
.al-way-item p { font-size: 14px; color: var(--c-muted); line-height: 1.8; }
.al-way-item a { color: var(--c-blue-deep); font-weight: 600; }
.al-way-item a:hover { text-decoration: underline; }

/* 客户评价 */
.al-quote {
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: 28px 26px; box-shadow: var(--sh-sm); position: relative;
}
.al-quote::before {
  content: "“"; position: absolute; top: 6px; left: 18px;
  font-size: 56px; line-height: 1; color: var(--c-green); opacity: .35; font-family: Georgia, serif;
}
.al-quote p { font-size: 15.5px; line-height: 1.9; color: var(--c-ink); margin-top: 14px; }
.al-quote-who { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--c-line); font-size: 13.5px; color: var(--c-muted); }
.al-quote-who span { font-weight: 800; color: var(--c-green-deep); margin-right: 10px; }

/* 响应式 */
@media (max-width: 1100px) {
  .al-hero-inner { padding-top: 100px; }
}
@media (max-width: 900px) {
  .al-cat-grid { grid-template-columns: 1fr 1fr; }
  .al-case-grid { grid-template-columns: 1fr 1fr; }
  .al-way-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .al-cat-grid, .al-case-grid, .al-way-grid { grid-template-columns: 1fr; }
  .al-hero { min-height: 480px; }
}
