/* HL3C Cases V1 */
.cases-v1-hero{
  display:grid;
  grid-template-columns:1fr 520px;
  gap:30px;
  align-items:end;
  padding:72px 7vw;
  color:#fff;
  background:
    radial-gradient(circle at 12% 12%, rgba(232,66,44,.25), transparent 32%),
    linear-gradient(135deg,#08111f,#111827 62%,#2b1110);
}
.cases-v1-hero span,.product-related-cases-head span,.case-v1-detail-copy span{
  display:block;
  color:#fca5a5;
  font-weight:900;
  letter-spacing:.14em;
  font-size:13px;
  margin-bottom:10px;
}
.cases-v1-hero h1{
  font-size:clamp(42px,6vw,72px);
  margin:0 0 14px;
}
.cases-v1-hero p{
  color:#dbe4ef;
  font-size:20px;
  max-width:860px;
}
.cases-v1-search{
  display:flex;
  gap:10px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.15);
  padding:10px;
  border-radius:20px;
}
.cases-v1-search input{
  flex:1;
  border:0;
  border-radius:14px;
  padding:14px 16px;
  font-size:16px;
}
.cases-v1-wrap{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:30px;
  padding:42px 7vw;
  background:#f8fafc;
}
.cases-v1-filter{
  position:sticky;
  top:86px;
  align-self:start;
  background:white;
  border:1px solid #e5e7eb;
  border-radius:24px;
  padding:18px;
  box-shadow:0 10px 35px rgba(15,23,42,.05);
}
.cases-v1-filter h2{
  margin:0 0 12px;
  font-size:22px;
}
.cases-v1-filter a{
  display:block;
  padding:12px 14px;
  border-radius:14px;
  color:#334155;
  font-weight:800;
}
.cases-v1-filter a:hover,.cases-v1-filter a.active{
  background:#fff1f2;
  color:#b42318;
}
.cases-v1-bar{
  background:white;
  border:1px solid #e5e7eb;
  border-radius:24px;
  padding:20px 24px;
  margin-bottom:20px;
  box-shadow:0 10px 35px rgba(15,23,42,.04);
}
.cases-v1-bar h2{margin:0;font-size:32px}
.cases-v1-bar p{margin:6px 0 0;color:#64748b}
.cases-v1-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}
.cases-v1-card{
  background:white;
  border:1px solid #e5e7eb;
  border-radius:26px;
  overflow:hidden;
  box-shadow:0 12px 40px rgba(15,23,42,.06);
  transition:.22s ease;
}
.cases-v1-card:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 70px rgba(15,23,42,.12);
}
.cases-v1-img{
  position:relative;
  display:block;
  height:220px;
  background:#f8fafc;
  overflow:hidden;
}
.cases-v1-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}
.cases-v1-card:hover .cases-v1-img img{
  transform:scale(1.05);
}
.cases-v1-img span{
  position:absolute;
  left:16px;
  bottom:16px;
  background:rgba(11,18,32,.88);
  color:white;
  border-radius:999px;
  padding:7px 12px;
  font-size:13px;
  font-weight:900;
}
.cases-v1-body{
  padding:22px;
}
.cases-v1-body h3{
  margin:0 0 10px;
  font-size:24px;
  line-height:1.3;
  color:#111827;
}
.cases-v1-body p{
  color:#64748b;
  line-height:1.7;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.cases-v1-equipment{
  background:#f8fafc;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:10px 12px;
  color:#475569;
  margin:14px 0;
  line-height:1.6;
}
.cases-v1-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px;
}
.case-v1-detail{
  display:grid;
  grid-template-columns:1fr 520px;
  gap:38px;
  align-items:center;
  padding:72px 7vw;
  color:#fff;
  background:
    radial-gradient(circle at 12% 12%, rgba(232,66,44,.24), transparent 32%),
    linear-gradient(135deg,#08111f,#111827 62%,#2b1110);
}
.case-v1-detail-copy h1{
  font-size:clamp(38px,5vw,64px);
  margin:10px 0 16px;
  line-height:1.15;
}
.case-v1-detail-copy p{
  font-size:20px;
  color:#dbe4ef;
  line-height:1.75;
}
.cases-v1-back{
  display:inline-block;
  color:#fecaca;
  margin-bottom:24px;
}
.case-v1-detail-img{
  border-radius:30px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 32px 90px rgba(0,0,0,.35);
}
.case-v1-detail-img img{
  width:100%;
  height:420px;
  object-fit:cover;
}
.case-v1-content{
  padding:52px 7vw;
  background:#f8fafc;
}
.case-v1-panel{
  background:white;
  border:1px solid #e5e7eb;
  border-radius:26px;
  padding:30px;
  margin-bottom:20px;
  box-shadow:0 10px 35px rgba(15,23,42,.05);
}
.case-v1-panel h2{
  font-size:30px;
  margin:0 0 16px;
}
.case-v1-panel p{
  font-size:18px;
  color:#475569;
  line-height:1.8;
}
.case-v1-products{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
.case-v1-products a{
  display:block;
  border:1px solid #e5e7eb;
  border-radius:18px;
  padding:14px;
  color:#111827;
}
.case-v1-products img{
  width:100%;
  height:130px;
  object-fit:contain;
  background:#f8fafc;
  border-radius:14px;
}
.case-v1-products strong,.case-v1-products small{
  display:block;
  margin-top:8px;
}

/* Product related cases */
.product-related-cases{
  margin-top:34px;
  background:white;
  border:1px solid #e5e7eb;
  border-radius:30px;
  padding:30px;
  box-shadow:0 12px 40px rgba(15,23,42,.06);
}
.product-related-cases-head{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:end;
  margin-bottom:20px;
}
.product-related-cases-head h2{
  margin:0 0 8px;
  font-size:32px;
  color:#111827;
}
.product-related-cases-head p{
  margin:0;
  color:#64748b;
}
.product-related-cases-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.product-related-case-card{
  border:1px solid #e5e7eb;
  border-radius:22px;
  overflow:hidden;
  background:#fff;
  transition:.22s ease;
}
.product-related-case-card:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 50px rgba(15,23,42,.1);
}
.product-related-case-img{
  position:relative;
  height:160px;
  display:block;
  background:#f8fafc;
  overflow:hidden;
}
.product-related-case-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.product-related-case-img span{
  position:absolute;
  left:12px;
  bottom:12px;
  background:rgba(11,18,32,.88);
  color:#fff;
  border-radius:999px;
  padding:5px 10px;
  font-size:12px;
  font-weight:900;
}
.product-related-case-card div{
  padding:16px;
}
.product-related-case-card h3{
  margin:0 0 8px;
  font-size:19px;
  line-height:1.35;
}
.product-related-case-card p{
  color:#64748b;
  line-height:1.65;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.product-related-case-card a{
  font-weight:900;
  color:#d9482f;
}
@media(max-width:1100px){
  .cases-v1-hero,.case-v1-detail{grid-template-columns:1fr}
  .cases-v1-wrap{grid-template-columns:1fr}
  .cases-v1-filter{position:static}
  .cases-v1-grid,.product-related-cases-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .case-v1-products{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
  .cases-v1-hero,.cases-v1-wrap,.case-v1-detail,.case-v1-content{padding-left:6vw;padding-right:6vw}
  .cases-v1-search,.product-related-cases-head{display:block}
  .cases-v1-search .btn,.product-related-cases-head .btn{margin-top:12px;width:100%}
  .cases-v1-grid,.product-related-cases-grid,.case-v1-products{grid-template-columns:1fr}
  .case-v1-detail-img img{height:280px}
}
