/* ===== HERO (Matching Utilities) ===== */
.case-hero {
  position: relative;
  margin-left: 3%;
  height: 380px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0 6% 100px;
}

.case-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/industries/utilities.png');
  background-size: cover;
  background-position: center top;
}

.case-hero-darken {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.65) 100%);
}

.case-hero-band {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background: rgba(0, 0, 0, 0.4);
  clip-path: polygon(0 55%, 100% 20%, 100% 100%, 0 100%);
  z-index: 1;
}

.case-hero-mask {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 70px;
  background: #c9d1d3;
  /* Background color of the main content */
  clip-path: polygon(0 65%, 100% 30%, 100% 100%, 0 100%);
  z-index: 2;
}

.case-hero-content {
  position: relative;
  z-index: 3;
}

.case-hero-content h1 {
  font-size: 58px;
  font-weight: 300;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 8px;
}

.case-hero-content .case-hero-sub {
  font-size: 19px;
  font-weight: 700;
  color: #ffa700;
  line-height: 1.4;
}

/* ===== MAIN CONTENT ===== */
.case-main {
  background: #c9d1d3;
  margin-left: 3%;
  padding: 20px 6% 80px;
  color: #537780;
  margin-bottom: 30px;
  /* Separator strip */
}

.case-label {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #537780;
}

.case-logo {
  height: 80px;
  width: auto;
  margin-bottom: 40px;
  display: block;
}

.case-grid {
  display: grid;
  grid-template-columns: 420px 1fr 1fr;
  gap: 40px;
}

/* Left Column: Images */
.case-col-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.case-col-images img {
  width: 100%;
  height: auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Middle & Right Column: Content */
.case-col h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.case-text {
  font-size: 19px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.case-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 15px;
}

.case-stat-item {
  flex: 1;
}

.case-stat-val {
  display: block;
  font-size: 19px;
  font-weight: 700;
  color: #333;
  margin-top: 5px;
}

.case-stat-label {
  display: block;
  font-size: 18px;
  line-height: 1.3;
  color: #333;
  font-weight: 700;
}

.case-benefit-item {
  margin-bottom: 25px;
}

.case-benefit-item strong {
  display: block;
  font-size: 19px;
  margin-bottom: 5px;
}

.case-benefit-item p {
  font-size: 19px;
  line-height: 1.5;
}

/* Alcance col */
.case-scope-item {
  margin-bottom: 25px;
}

.case-scope-item h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #537780;
}

.case-scope-item p {
  ffont-size: 19px;
  line-height: 1.5;
  color: #444;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .case-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .case-hero {
    margin-left: 0;
  }

  .case-main {
    margin-left: 0;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-hero-content h1 {
    font-size: 40px;
  }
}