/* ===== Cases ===== */
.cases {
  background: var(--cream);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.case-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  display: block;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.case-image {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 16px;
  position: relative;
}

.case-image-icon {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-image-icon svg {
  width: 32px;
  height: 32px;
  stroke: rgba(255,255,255,0.8);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.case-image-1 { background: linear-gradient(135deg, #A5C23A 0%, #C8DA70 100%); }
.case-image-2 { background: linear-gradient(135deg, #E8844A 0%, #F0B080 100%); }
.case-image-3 { background: linear-gradient(135deg, #9B7656 0%, #C4A880 100%); }
.case-image-4 { background: linear-gradient(135deg, #A5C23A 0%, #E8844A 100%); }
.case-image-5 { background: linear-gradient(135deg, #9B7656 0%, #A5C23A 100%); }
.case-image-6 { background: linear-gradient(135deg, #E8844A 0%, #A5C23A 100%); }

.case-category {
  display: inline-block;
  background: rgba(255,255,255,0.9);
  color: var(--text);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}

.case-body {
  padding: 24px;
}

.case-industry {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 6px;
}

.case-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
  color: var(--text);
}

.case-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 12px;
}

.case-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.case-badge {
  background: var(--green-light);
  color: var(--green-dark);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
}
