/* =========================================================================
   SoftCircles — SPEDPro case study page visual refresh
   Scope: content areas of our-work/spedpro.html only. Sits on top of
   app.min-v=13.css and home-redesign.css (reuses that file's tokens,
   .sc-stats-row, .sc-svc-contact). Loaded from our-work/ so all url()s
   here are relative to that folder — this file itself lives in
   assets/css/, referenced from our-work/spedpro.html as
   "../assets/css/spedpro-redesign.css".
   ========================================================================= */

/* -------------------------------------------------------------------------
   Case-study tag + title
   ------------------------------------------------------------------------- */
.sc-case-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sc-dark, #1c252b);
  background: #f0f0f0;
  border-radius: 20px;
  padding: 6px 16px;
  margin-bottom: 22px;
}

.sc-case-title {
  font-weight: 400;
  color: var(--sc-dark, #1c252b);
  line-height: 1.15;
  margin-bottom: 0;
}

.sc-case-title b {
  font-weight: 700;
}

.sc-case-title-sub {
  font-weight: 400;
  color: #6a6f75;
}

/* -------------------------------------------------------------------------
   Overview row — kicker + heading + paragraph on the left,
   Revenue / Products / Daily users stat columns on the right
   ------------------------------------------------------------------------- */
.sc-case-overview {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
}

.sc-case-kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9a9fa5;
  margin-bottom: 14px;
}

.sc-case-overview-left {
  flex: 1 1 460px;
  min-width: 280px;
}

.sc-case-overview-left h2 {
  margin-bottom: 18px;
}

.sc-case-overview-left p {
  color: #4b4d57;
  max-width: 520px;
}

.sc-case-overview-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  flex: 0 0 auto;
  padding-top: 34px;
}

.sc-case-overview-stat-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9a9fa5;
  margin-bottom: 6px;
}

.sc-case-overview-stat-value {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sc-dark, #1c252b);
}

@media (max-width: 767px) {
  .sc-case-overview-stats {
    padding-top: 0;
    gap: 32px;
  }
}

/* -------------------------------------------------------------------------
   Section head — plain heading + subtext, stacked
   ------------------------------------------------------------------------- */
.sc-case-section-head h2 {
  margin-bottom: 14px;
}

.sc-case-section-head p {
  color: #4b4d57;
  max-width: 640px;
}

/* -------------------------------------------------------------------------
   01 Process / 02 Team / 03 Technologies — three colored cards
   ------------------------------------------------------------------------- */
.sc-case-setup-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sc-case-setup-card {
  border-radius: 6px;
  padding: 36px 30px;
  min-height: 260px;
}

.sc-case-setup-card--teal {
  background: #7fcdbd;
  color: #fff;
}

.sc-case-setup-card--blue {
  background: var(--sc-brand-blue, #3aadd9);
  color: #fff;
}

.sc-case-setup-card--yellow {
  background: var(--sc-star, #f4b335);
  color: var(--sc-dark, #1c252b);
}

.sc-case-setup-card h3 {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.sc-case-setup-card p {
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 0;
  opacity: 0.94;
}

@media (max-width: 991px) {
  .sc-case-setup-row {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------------
   Results delivered — vertical stat list (percentage + description)
   ------------------------------------------------------------------------- */
.sc-case-results-row {
  display: flex;
  align-items: baseline;
  gap: 40px;
  padding: 26px 0;
  border-top: 1px solid #e6e6e6;
}

.sc-case-results-row:last-child {
  border-bottom: 1px solid #e6e6e6;
}

.sc-case-results-pct {
  flex: 0 0 130px;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--sc-dark, #1c252b);
}

.sc-case-results-desc {
  color: #4b4d57;
  max-width: 720px;
}

@media (max-width: 767px) {
  .sc-case-results-row {
    flex-direction: column;
    gap: 10px;
  }

  .sc-case-results-pct {
    font-size: 2.1rem;
  }
}
