/* ── Font fallback — replaced by setup-local.sh with local woff2 files ── */
@import url('../fonts/google/fonts.css');

/* ================================================================
   CASE STUDY PAGE — Shared Styles
   Used by: case-study-*.html
================================================================ */

/* ── Case Study Page Hero ── */
.cs-page-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0f2a1a 100%);
  padding: 120px 0 72px;
  color: #fff;
}
.cs-page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.cs-page-hero .breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; }
.cs-page-hero .breadcrumb a:hover { color: #fff; }
.cs-page-hero .breadcrumb i { font-size: 10px; }
.cs-sector-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
}
.cs-page-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}
.cs-page-title span { color: #4ade80; }
.cs-page-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.cs-hero-meta { display: flex; flex-wrap: wrap; gap: 28px; }
.cs-meta-item { display: flex; align-items: center; gap: 10px; }
.cs-meta-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: #4ade80;
}
.cs-meta-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); margin-bottom: 2px; }
.cs-meta-val { font-size: 14px; font-weight: 600; color: #fff; }

/* ── Metrics Banner ── */
.cs-metrics-banner { background: #0ea5e9; padding: 40px 0; }
.cs-metrics-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; }
.cs-mb-item {
  flex: 1; min-width: 160px;
  text-align: center; padding: 20px 28px;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.cs-mb-item:last-child { border-right: none; }
.cs-mb-num { font-family: 'Sora', sans-serif; font-size: 36px; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 6px; }
.cs-mb-label { font-size: 13px; color: rgba(255,255,255,0.85); font-weight: 500; }

/* ── Content ── */
.cs-content { padding: 72px 0; }
.cs-section-tag {
  display: inline-block;
  background: #e0f2fe; color: #0284c7;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.cs-section-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800; color: #0f172a;
  line-height: 1.25; margin-bottom: 16px;
}
.cs-section-body { font-size: 15.5px; color: #475569; line-height: 1.8; }
.cs-section-body p { margin-bottom: 14px; }

/* ── Challenge Cards ── */
.cs-challenge-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 40px; }
.cs-ch-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 24px 22px; }
.cs-ch-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg,#fee2e2,#fecaca);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #dc2626; margin-bottom: 14px;
}
.cs-ch-title { font-weight: 700; font-size: 15px; color: #0f172a; margin-bottom: 8px; }
.cs-ch-text { font-size: 13.5px; color: #64748b; line-height: 1.65; }

/* ── Solution Feature Grid ── */
.cs-sol-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-top: 32px; }
.cs-sol-item { display: flex; align-items: flex-start; gap: 14px; background: #f8fafc; border-radius: 12px; padding: 18px; }
.cs-sol-item-icon {
  width: 38px; height: 38px; min-width: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg,#d1fae5,#a7f3d0);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; color: #059669;
}
.cs-sol-item-title { font-weight: 700; font-size: 14px; color: #0f172a; margin-bottom: 4px; }
.cs-sol-item-desc { font-size: 13px; color: #64748b; line-height: 1.6; }

/* ── Training Modules ── */
.cs-modules { margin-top: 40px; }
.cs-module-row { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid #e2e8f0; }
.cs-module-row:last-child { border-bottom: none; }
.cs-module-num {
  width: 36px; height: 36px; min-width: 36px;
  background: #0ea5e9; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 800; color: #fff;
}
.cs-module-title { font-weight: 700; font-size: 15px; color: #0f172a; margin-bottom: 4px; }
.cs-module-desc { font-size: 13.5px; color: #64748b; line-height: 1.65; }

/* ── Outcome Grid ── */
.cs-outcome-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 40px; }
.cs-outcome-card {
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  border-radius: 16px; padding: 28px 22px; text-align: center;
}
.cs-outcome-num { font-family: 'Sora', sans-serif; font-size: 38px; font-weight: 800; color: #4ade80; line-height: 1; margin-bottom: 8px; }
.cs-outcome-label { font-size: 13px; color: rgba(255,255,255,0.8); font-weight: 500; line-height: 1.4; }

/* ── Quote Block ── */
.cs-quote {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border-left: 4px solid #16a34a;
  border-radius: 0 16px 16px 0;
  padding: 28px 32px; margin: 40px 0;
}
.cs-quote-text { font-size: 17px; font-style: italic; color: #166534; line-height: 1.7; margin-bottom: 12px; }
.cs-quote-author { font-size: 13px; font-weight: 700; color: #15803d; }

/* ── CTA Section ── */
.cs-cta-section { background: linear-gradient(135deg, #0f172a, #1e293b); padding: 72px 0; text-align: center; }
.cs-cta-title { font-family: 'Sora', sans-serif; font-size: clamp(24px,3vw,36px); font-weight: 800; color: #fff; margin-bottom: 16px; }
.cs-cta-sub { font-size: 16px; color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto 36px; }
.cs-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Back button ── */
.back-btn {
  display: inline-flex; align-items: center; gap: 8px;
  color: #0ea5e9; font-weight: 600; font-size: 14px; text-decoration: none;
  padding: 10px 20px; border: 1.5px solid #0ea5e9; border-radius: 8px;
  margin-bottom: 40px; transition: all .2s;
}
.back-btn:hover { background: #0ea5e9; color: #fff; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .cs-challenge-grid, .cs-sol-grid, .cs-outcome-grid { grid-template-columns: 1fr; }
  .cs-metrics-row { flex-direction: column; }
  .cs-mb-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
  .cs-mb-item:last-child { border-bottom: none; }
}
