/* ══════════════════════════════════════════
   Page: Case Studies
   Page-specific styles (extends global.css)
   ══════════════════════════════════════════ */

/* RESULTS BAR */
.results-bar {
  background: var(--red);
  padding: 48px 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.rb-item { text-align: left; }
.rb-big {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  color: white;
  letter-spacing: -0.03em;
  line-height: 1;
}
.rb-desc { font-size: 1.5rem; color: rgba(255,255,255,0.6); margin-top: 6px; line-height: 1.5; }

/* CASE STUDY CARDS */
.cases {
  padding: 80px 64px;
  max-width: 1280px;
  margin: 0 auto;
}
.cases > h2 { margin-bottom: 48px; }
.case-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 48px;
  border: 1px solid rgba(61,43,31,0.07);
  transition: all 0.2s;
  background: white;
}
.case-card:hover { box-shadow: 0 20px 60px rgba(61,43,31,0.1); transform: translateY(-3px); }
.case-card:nth-child(even) .case-visual { order: 2; }
.case-card:nth-child(even) .case-content { order: 1; }

.case-visual {
  min-height: 440px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.case-visual-bg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.cv1 { background: linear-gradient(135deg, #f5e8e6 0%, #e8c4bf 100%); }
.cv2 { background: linear-gradient(135deg, #e8e8f5 0%, #c8c8e8 100%); }
.cv3 { background: linear-gradient(135deg, #ede0d0 0%, #d9c4aa 100%); }
.cv4 { background: linear-gradient(135deg, #e8f0e8 0%, #c8dcc8 100%); }
.cv5 { background: linear-gradient(135deg, #3D2B1F 0%, #5a4335 100%); }

.case-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: white;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brown);
}
.case-badge span { display: block; font-size: 0.6rem; color: var(--muted); font-weight: 500; margin-top: 2px; }

.case-content { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.case-industry {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.case-content h3 { font-size: 1.5rem; color: var(--brown); line-height: 1.15; margin-bottom: 16px; }
.case-content > p { color: var(--muted); font-size: 1.5rem; line-height: 1.75; margin-bottom: 24px; }

/* BEFORE / AFTER */
.case-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 28px; }
.ba-col { padding: 16px; border-radius: 12px; }
.ba-before { background: rgba(61,43,31,0.04); }
.ba-after { background: rgba(217,48,37,0.06); }
.ba-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ba-before .ba-label { color: var(--muted); }
.ba-after .ba-label { color: var(--red); }
.ba-stat {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: 4px;
}
.ba-before .ba-stat { color: var(--muted); }
.ba-after .ba-stat { color: var(--red); }
.ba-note { font-size: 0.72rem; color: var(--muted); }

/* WHAT WE DID / TAGS */
.case-what { margin-bottom: 24px; }
.case-what-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 10px;
}
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.case-tag {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--cream);
  color: var(--brown);
}

/* QUOTE */
.case-quote {
  background: var(--cream);
  border-left: 3px solid var(--red);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 0.88rem;
  color: var(--brown);
  line-height: 1.6;
  margin-bottom: 8px;
}
.case-quote-author { font-size: 0.75rem; color: var(--muted); font-style: normal; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .cases { padding: 48px 24px; }
  .results-bar { grid-template-columns: 1fr 1fr; padding: 40px 24px; }
  .case-card { grid-template-columns: 1fr; }
  .case-card:nth-child(even) .case-visual,
  .case-card:nth-child(even) .case-content { order: unset; }
  .case-visual { min-height: 240px; }
}
