/* ========== Case Hero ========== */
.case-hero {
  background: linear-gradient(135deg, #F8FCFF 0%, rgba(27,184,206,0.06) 100%);
  padding-block: 36px 24px;
  text-align: center;
}
.case-hero-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--color-brand);
  margin-bottom: 16px;
}
.case-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--color-navy);
  margin-bottom: 24px;
}
.case-hero-desc {
  font-size: 1rem;
  color: var(--color-text);
  max-width: 720px;
  margin-inline: auto;
  line-height: 1.9;
  text-align: left;
}

/* ========== Case List ========== */
.case-list-section {
  background: #F7FAFC;
  padding-block: 24px 80px;
}
.case-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 880px;
  margin-inline: auto;
}

/* ========== Case Card ========== */
.case-card {
  display: block;
  position: relative;
  background: var(--color-bg);
  border: 1px solid #DDE5EB;
  border-radius: var(--radius);
  padding: 56px 64px 34px;
  overflow: hidden;
  box-shadow: 0 10px 34px rgba(27, 45, 79, 0.04);
}

/* Decorative arc */
.case-card::before {
  content: '';
  position: absolute;
  top: -34px;
  right: 40px;
  width: 78px;
  height: 78px;
  border: 8px solid var(--color-brand);
  border-radius: 50%;
  opacity: 0.95;
}
/* Decorative dot grid */
.case-card::after {
  content: '';
  position: absolute;
  top: 44px;
  right: 48px;
  width: 98px;
  height: 80px;
  background-image: radial-gradient(circle, rgba(27,184,206,0.9) 1.8px, transparent 2px);
  background-size: 20px 20px;
}

.case-card-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.case-deco-bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(27,184,206,0.22);
}
.case-deco-bubble:nth-child(1) { width: 34px; height: 34px; top: 150px; right: 92px; opacity: 0.45; }
.case-deco-bubble:nth-child(2) { width: 46px; height: 46px; top: 170px; right: 26px; opacity: 0.45; }
.case-deco-bubble:nth-child(3) { width: 38px; height: 38px; top: 222px; right: 166px; opacity: 0.48; }
.case-deco-bubble:nth-child(4) { width: 22px; height: 22px; bottom: 28px; right: 150px; opacity: 0.45; }
.case-deco-bubble:nth-child(5) { width: 20px; height: 20px; bottom: 18px; right: 102px; opacity: 0.45; }

.case-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px 28px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.case-num {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.24em;
  color: var(--color-brand);
}
.case-industry {
  font-size: 0.98rem;
  color: #3F4650;
  font-weight: 700;
}
.case-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900;
  color: var(--color-navy);
  line-height: 1.45;
  margin-bottom: 46px;
  position: relative;
  z-index: 1;
}

/* ========== Case Blocks ========== */
.case-blocks {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
  z-index: 1;
}

.case-block {
  display: flex;
  gap: 26px;
  align-items: flex-start;
}

.case-block-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 40%, rgba(255,255,255,0.85), rgba(218,245,250,0.94));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -4px;
  position: relative;
}
.case-blocks .case-block:nth-child(1) .case-block-icon {
  background: url('../images/case-chat.png') center / contain no-repeat;
}
.case-blocks .case-block:nth-child(2) .case-block-icon {
  background: url('../images/case-target.png') center / contain no-repeat;
}

.case-block-content {
  flex: 1;
  border-left: 3px solid var(--color-brand);
  padding-left: 24px;
  padding-bottom: 2px;
}

.case-block-label {
  display: block;
  font-size: 1.28rem;
  font-weight: 900;
  color: var(--color-brand);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.case-block-text {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 2.15;
}
.case-block-text + .case-block-text {
  margin-top: 12px;
}

/* Result block */
.case-block--result {
  background: #F0FAFB;
  border-radius: 6px;
  padding: 24px 190px 24px 24px;
  position: relative;
  overflow: hidden;
  margin-top: -2px;
}
.case-block--result .case-block-content {
  border-left: 0;
  padding-left: 16px;
}
.case-block--result .case-block-icon {
  background: url('../images/case-chart.png') center / contain no-repeat;
}

.case-result-highlight {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 900;
  color: var(--color-brand);
  line-height: 1.6;
  margin-bottom: 8px;
}

.case-result-deco {
  position: absolute;
  bottom: 10px;
  right: 22px;
  width: 148px;
  height: 144px;
  opacity: 0.95;
  background: url('../images/case-result-graph.png') center / contain no-repeat;
}

/* ========== Scope ========== */
.case-scope {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 3px dotted rgba(27,184,206,0.8);
  font-size: 0.92rem;
  color: var(--color-text);
  font-weight: 700;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}
.case-scope-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  color: var(--color-navy);
  background: #EFFB6D;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.case-scope-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.case-scope-label {
  font-weight: 700;
  color: var(--color-text);
}

/* ========== Closing ========== */
.case-closing {
  background: var(--color-bg);
  padding-block: 80px;
}
.case-closing-inner {
  max-width: 720px;
  margin-inline: auto;
}
.case-closing-title {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 900;
  color: var(--color-navy);
  line-height: 1.5;
  margin-bottom: 28px;
  text-align: center;
}
.case-closing-text {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.95;
}
.case-closing-text + .case-closing-text {
  margin-top: 16px;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .case-hero {
    padding-block: 56px 18px;
  }
  .case-hero-desc {
    font-size: 0.95rem;
  }
  .case-list-section {
    padding-block: 18px 56px;
  }
  .case-list {
    gap: 24px;
  }
  .case-card {
    padding: 34px 22px 28px;
  }
  .case-card::before,
  .case-card::after,
  .case-card-deco {
    display: none;
  }
  .case-title {
    margin-bottom: 28px;
  }
  .case-block {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 4px 12px;
  }
  .case-block-icon {
    width: 48px;
    height: 48px;
    grid-row: 1;
    grid-column: 1;
    align-self: center;
  }
  .case-block-content {
    display: contents;
    border-left: none;
    padding-left: 0;
  }
  .case-block-label {
    grid-row: 1;
    grid-column: 2;
    align-self: center;
    font-size: 1.08rem;
  }
  .case-block-text,
  .case-result-highlight {
    grid-column: 1 / -1;
  }
  .case-block-text {
    font-size: 0.94rem;
    line-height: 2;
    padding-left: 0;
  }
  .case-block--result {
    padding: 20px 16px;
  }
  .case-result-deco {
    display: none;
  }
  .case-scope {
    align-items: flex-start;
  }
  .case-scope-icon {
    width: 34px;
    height: 34px;
  }
  .case-closing {
    padding-block: 56px;
  }
}
