/* ============================================================
   SKYLINE STUDIO — CASE STUDIES PAGE CSS
   ============================================================ */
.case-studies-section { background: var(--navy); }
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 28px;
}
.case-study-card {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  animation: fadeUp 0.5s ease-out forwards;
  opacity: 0;
}
.case-study-card:nth-child(1) { animation-delay: 0.1s; }
.case-study-card:nth-child(2) { animation-delay: 0.2s; }
.case-study-card:nth-child(3) { animation-delay: 0.3s; }
.case-study-card:nth-child(4) { animation-delay: 0.4s; }
.case-study-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(43, 107, 255, 0.25);
  border-color: var(--cobalt);
}
.case-study-image {
  height: 180px;
  background: linear-gradient(135deg, var(--cobalt-glow), rgba(167, 139, 250, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-icon { font-size: 64px; }
.case-study-content { padding: 28px; }
.case-category {
  display: inline-block;
  background: var(--cobalt-glow);
  color: var(--cobalt-light);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.case-study-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.case-study-content p {
  font-size: 14px;
  color: var(--silver-dim);
  line-height: 1.7;
  margin-bottom: 20px;
}
.case-results {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.case-result {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #22C55E;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
}
.cta-final {
  background: linear-gradient(135deg, rgba(43, 107, 255, 0.1), rgba(167, 139, 250, 0.05));
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-final .section-title { animation: fadeUp 0.6s ease-out 0.1s forwards; opacity: 0; }
.cta-final .section-sub { animation: fadeUp 0.6s ease-out 0.2s forwards; opacity: 0; margin: 16px auto 0; }
.cta-buttons {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-top: 32px; animation: fadeUp 0.6s ease-out 0.3s forwards; opacity: 0;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 768px) {
  .case-studies-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; justify-content: center; }
}

/* ── DETAILED INTRO & WHY ── */
.cs-intro-content, .cs-why-content { max-width: 860px; }
.cs-intro-content p, .cs-why-content p {
  font-size: 16px; color: var(--silver); line-height: 1.85; margin-bottom: 22px;
}
.cs-intro-content p:last-child, .cs-why-content p:last-child { margin-bottom: 0; }
/* Case study story strong labels */
.case-study-content p strong {
  color: var(--cobalt-light);
  font-weight: 700;
}
@media (max-width: 768px) {
  .cs-intro-content p, .cs-why-content p { font-size: 15px; line-height: 1.75; }
}
