.project-cases *{margin:0;padding:0;box-sizing:border-box}
.project-cases img{display:block;max-width:100%}
.project-cases a{text-decoration:none;color:inherit}
body{margin:0}

:root{
  --ink:#13253f;
  --ink-2:#5b6778;
  --surface:#ffffff;
  --overlay:rgba(10,23,40,.62);
  --overlay-2:rgba(7,17,30,.48);
  --primary:#1757b8;
  --fontCN:"Noto Sans SC",-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
}

.project-cases{
  font-family:var(--fontCN);
  color:var(--ink);
  background:#fff;
  overflow-x:hidden;
  line-height:1.7;
}
.project-cases .wrap{max-width:1240px;margin:0 auto;padding:0 28px}

/* ===== Banner ===== */
.hero{width:100%}
.hero-banner{
  position:relative;
  width:100%;
  min-height:500px;
  background-size: cover;
  overflow:hidden;
}

.hero-copy{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  z-index:1;
  text-align:center;
  width:min(760px,calc(100% - 64px));
  color:#fff;
}
.hero-copy h1{
  font-size:40px;
  line-height:1.14;
  font-weight:800;
  margin-bottom:14px;
  text-shadow:0 6px 18px rgba(0,0,0,.22);
}
.hero-copy p{
  font-size:15px;
  line-height:1.9;
  opacity:.95;
}

/* ===== Intro ===== */
.intro{
  padding:64px 0 48px;
  text-align:center;
}
.intro h2{
  font-size:28px;
  color:#1a2a3f;
  font-weight:800;
  margin-bottom:12px;
}
.intro p{
  max-width:820px;
  margin:0 auto;
  font-size:14px;
  color:var(--ink-2);
  line-height:1.9;
}

/* ===== Cases ===== */
.cases{padding-bottom:0}

/* 左右分屏布局 */
.case-row{
  display:flex;
  width:100%;
  align-items:stretch;
  overflow:hidden;
}
.case-row.align-left{flex-direction:row}
.case-row.align-right{flex-direction:row-reverse}

/* 图片侧 */
.case-image{
  flex:0 0 50%;
  position:relative;
  overflow:hidden;
  background:#0f1b2d;
  aspect-ratio:4/5;
}
.case-image img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* 文字侧 */
.case-content{
  flex:0 0 50%;
  background:#1a2639;
  display:flex;
  align-items:center;
  padding:48px 52px;
}

.case-panel{
  width:100%;
  color:#fff;
}
.case-panel h3{
  font-size:24px;
  line-height:1.3;
  font-weight:800;
  margin-bottom:18px;
}
.case-panel p{
  font-size:14px;
  line-height:1.85;
  color:rgba(255,255,255,.88);
}
.case-tags{
  display:flex;
  flex-wrap:wrap;
  gap:18px 24px;
  margin-top:26px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.18);
}
.case-tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-width:74px;
  color:#fff;
  font-size:13px;
}
.case-tag img{
  width:18px;
  height:18px;
  object-fit:contain;
  filter:brightness(0) invert(1);
  opacity:.92;
}

/* ===== Feature Case (第一个模块按视觉稿样式) ===== */
.case-feature{
  position:relative;
  height:100vh;
  min-height:700px;
  display:flex;
  flex-direction:row;
  background:var(--case-bg,url('./guangdong-power-plant-smart-om-1.png')) center center/cover no-repeat;
}
.case-feature .case-image{
  display:none;
}
.case-feature .case-content{
  position:relative;
  margin-left:auto;
  flex:0 0 50%;
  height:100%;
  display:flex;
  align-items:center;
  padding:0;
  background:linear-gradient(180deg,rgba(9,31,54,.66) 0%,rgba(8,26,45,.78) 55%,rgba(5,19,35,.88) 100%);
}
.case-feature.align-left .case-content{
  margin-left:0;
  margin-right:auto;
}
.case-feature.align-right .case-content{
  margin-left:auto;
  margin-right:0;
}
.case-feature .case-panel{
  position:relative;
  z-index:1;
  width:100%;
  padding:72px 44px;
  color:#fff;
  text-align:left;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: flex-start;
}
.case-feature.align-left .case-panel{
  align-content: flex-end;
}
.case-feature.align-right .case-panel{
  align-content: flex-start;
}
.case-feature .case-panel h3{
  font-size:32px;
  line-height:1.24;
  letter-spacing:.3px;
  margin-bottom:28px;
  text-align: right;
}
.case-feature.align-right .case-panel h3{
  text-align: left;
}
.case-feature .case-panel p{
  max-width:760px;
  font-size:14px;
  line-height:1.95;
  color:rgba(255,255,255,.9);
   justify-content:flex-end;
}
.case-feature .case-tags{
  margin-top:30px;
  padding-top:26px;
  border-top:2px solid rgba(255,255,255,.24);
  justify-content:flex-end;
}
.case-feature.align-right .case-tags{
  justify-content:flex-start;
}
.case-feature .case-tag{
  min-width:150px;
  flex-direction:column;
  gap:10px;
  font-size:14px;
  color:rgba(255,255,255,.95);
}
.case-feature .case-tag img{
  width:36px;
  height:36px;
}

/* ===== Responsive ===== */
@media (max-width:980px){
  .hero-banner{min-height:380px}
  .hero-copy h1{font-size:32px}

  .case-row{flex-direction:column}
  .case-row.align-left{flex-direction:column}
  .case-row.align-right{flex-direction:column}

  .case-image{
    flex:none;
    width:100%;
    aspect-ratio:16/9;
    min-height:280px;
  }
  .case-content{
    flex:none;
    width:100%;
    padding:36px 28px;
  }
  .case-panel h3{font-size:21px}

  .case-feature{
    height:auto;
    min-height:0;
    background-position:center center;
    background-size:cover;
  }
  .case-feature .case-content{
    margin-left:0;
    margin-right:0;
    flex:none;
    width:100%;
    min-height:auto;
    background:linear-gradient(180deg,rgba(9,31,54,.56) 0%,rgba(8,26,45,.78) 48%,rgba(5,19,35,.9) 100%);
  }
  .case-feature .case-panel{
    padding:36px 28px 56px;
    background:none;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
  }
  .case-feature.align-left .case-panel{
    align-content: flex-end;
  }
  .case-feature.align-right .case-panel{
    align-content: flex-start;
  }
  .case-feature .case-panel h3{
    font-size:28px;
    margin-bottom:14px;
  }
  .case-feature .case-panel p{
    font-size:14px;
    line-height:1.9;
  }
  .case-feature .case-tags{
    margin-top:22px;
    padding-top:14px;
    justify-content:flex-start;
    gap:16px 22px;
  }
  .case-feature .case-tag{
    min-width:92px;
    flex-direction:row;
    font-size:14px;
    gap:8px;
  }
  .case-feature .case-tag img{
    width:18px;
    height:18px;
  }
}

@media (max-width:640px){
  .project-cases .wrap{padding:0 18px}

  .hero-banner{min-height:280px}
  .hero-copy{width:calc(100% - 36px)}
  .hero-copy h1{font-size:26px;margin-bottom:10px}
  .hero-copy p{font-size:13px;line-height:1.8}

  .intro{padding:42px 0 32px}
  .intro h2{font-size:22px}
  .intro p{font-size:13px}

  .case-image{min-height:220px}
  .case-content{padding:28px 18px}
  .case-panel h3{font-size:18px;margin-bottom:12px}
  .case-panel p{font-size:12px}
  .case-tags{gap:12px 16px;margin-top:18px}

  .case-feature .case-panel{
    padding:26px 18px 48px;
  }
  .case-feature .case-panel h3{
    font-size:22px;
  }
  .case-feature .case-panel p{
    font-size:13px;
    line-height:1.85;
  }
}
