/* =========================================================
   Single case study — Godaam Technologies
   ========================================================= */

.page-case-study {
  background: #fff;
}

.page-case-study .service-detail-hero {
  padding-bottom: 72px;
}

.page-case-study .service-detail-hero .hero-copy h1 {
  font-size: clamp(34px, 4.8vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.page-case-study .service-detail-hero .hero-copy h1 .accent {
  display: block;
  color: var(--blue-400);
  margin-top: 4px;
}

.page-case-study .service-detail-hero .hero-grid {
  align-items: start;
}

.page-case-study .cs-hero-panel {
  position: sticky;
  top: 108px;
}

.cs-stat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 26px;
}

.cs-stat-pill {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid rgba(63, 182, 247, 0.35);
  background: rgba(255, 255, 255, 0.06);
  min-width: 120px;
}

.cs-stat-pill .num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.cs-stat-pill .lbl {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

/* White project details panel */
.cs-hero-panel {
  background: #fff;
  border-radius: 24px;
  padding: 32px 28px;
  color: var(--text-dark);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cs-hero-panel h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 22px;
}

.cs-detail-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cs-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.cs-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--blue-pill-bg);
  color: var(--blue-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cs-detail-icon .lucide {
  width: 18px;
  height: 18px;
}

.cs-detail-text span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.cs-detail-text strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
}

.cs-panel-tags-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.cs-panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cs-panel-tags span {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--blue-pill-bg);
  color: var(--blue-500);
  font-size: 11px;
  font-weight: 700;
  border: 1px solid #c8e5fa;
}

/* Project overview */
.cs-overview-section {
  padding: 80px 0 72px;
  background: var(--bg-grey);
}

.cs-overview-section .section-sub {
  max-width: 720px;
  margin: 0 auto;
}

.cs-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.cs-overview-card {
  background: #fff;
  border-radius: 22px;
  padding: 30px 26px;
  border: 1px solid rgba(15, 32, 66, 0.06);
  box-shadow: var(--shadow-card);
}

.cs-overview-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.cs-overview-card p {
  font-size: 14px;
  line-height: 1.78;
  color: var(--text-body);
  margin: 0;
}

.cs-overview-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 18px;
}

.cs-overview-icon .lucide {
  width: 22px;
  height: 22px;
}

.ic-cs-blue {
  background: linear-gradient(135deg, #3fb6f7, #0f8deb);
}

.ic-cs-red {
  background: linear-gradient(135deg, #f87171, #ef4444);
}

/* Key features */
.cs-features-section {
  padding: 80px 0 72px;
  background: #f9f6f1;
}

.cs-features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.cs-feature-card {
  background: #fff;
  border-radius: 20px;
  padding: 26px 22px;
  border: 1px solid rgba(15, 32, 66, 0.06);
  box-shadow: 0 10px 28px rgba(15, 32, 66, 0.05);
}

.cs-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 16px;
}

.cs-feature-icon .lucide {
  width: 20px;
  height: 20px;
}

.cs-feature-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.cs-feature-card p {
  font-size: 13px;
  line-height: 1.72;
  color: var(--text-body);
  margin: 0;
}

/* Outcomes — dark */
.cs-outcome-section {
  padding: 80px 0 72px;
  background: linear-gradient(180deg, #0f2454 0%, #0b1b40 100%);
  color: #fff;
}

.cs-outcome-section .section-h2 {
  color: #fff;
}

.cs-outcome-section .section-sub {
  color: rgba(255, 255, 255, 0.72);
  max-width: 720px;
}

.cs-outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.cs-outcome-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 26px 22px;
}

.cs-outcome-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(63, 182, 247, 0.18);
  color: var(--blue-400);
  margin-bottom: 16px;
}

.cs-outcome-icon .lucide {
  width: 20px;
  height: 20px;
}

.cs-outcome-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.35;
}

.cs-outcome-card p {
  font-size: 13px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

/* Tech stack */
.cs-tech-section {
  padding: 80px 0 72px;
  background: var(--bg-grey);
}

.page-case-study .cs-tech-card .tech-tags span {
  border-radius: 999px;
  border: 1px solid #c8e5fa;
  background: var(--blue-pill-bg);
  color: var(--blue-500);
  font-weight: 700;
}

.cs-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.cs-tech-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
}

.cs-tech-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.cs-tech-card .tech-tags {
  margin-bottom: 0;
}

/* Final CTA */
.page-case-study .cs-final-cta {
  padding-top: 88px;
  padding-bottom: 0;
}

.page-case-study .cs-final-cta .project-copy h2 .accent {
  color: var(--blue-400);
}

.page-case-study .cs-final-cta .project-card {
  border-radius: 24px;
}

.page-case-study .cs-final-cta .project-card .panel-note {
  margin-top: 20px;
}

.page-case-study .cs-final-cta .contact-row {
  margin-top: 56px;
  padding-bottom: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 32px;
}

/* .project-form field styles → css/forms.css */

@media (max-width: 1100px) {
  .cs-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cs-outcome-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .page-case-study .service-detail-hero .hero-grid {
    grid-template-columns: 1fr;
  }

  .page-case-study .cs-hero-panel {
    position: static;
  }

  .page-case-study .service-detail-hero .hero-copy h1 {
    max-width: none;
  }

  .cs-overview-grid,
  .cs-tech-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .cs-stat-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cs-features-grid {
    grid-template-columns: 1fr;
  }

  .cs-outcome-grid {
    grid-template-columns: 1fr;
  }

  .page-case-study .cs-final-cta .project-grid {
    grid-template-columns: 1fr;
  }
}
