/* ==========================================================================
   Case Study Spotlight Block
   ========================================================================== */

.csp-section {
  padding: 2.5rem 0;
}

/* --- Dark card --- */
.csp-card {
  background-color: #191a23;
  border-radius: 45px;
  border: 1px solid #191a23;
  border-bottom-width: 5px;
  padding: 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

/* --- Left column --- */
.csp-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* --- Badge / label pill --- */
.csp-badge {
  display: inline-block;
  background-color: #b9ff66;
  border-radius: 7px;
  padding: 0 7px;
  align-self: flex-start;
}

.csp-badge__text {
  font-size: 2rem;
  font-weight: 700;
  color: #000000;
  line-height: 1.3;
}

/* --- Heading --- */
.csp-heading {
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  max-width: 420px;
}

/* --- Description --- */
.csp-description {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* --- Read link --- */
.csp-read-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: #b9ff66;
  text-decoration: none;
  font-family: "SpaceGrotesk-Regular", sans-serif;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 400;
  margin-top: auto;
  transition: opacity 0.2s ease;
}

.csp-read-link:hover {
  opacity: 0.8;
  color: #b9ff66;
  text-decoration: none;
}

.csp-read-icon {
  width: 41px;
  height: 41px;
  flex-shrink: 0;
}

/* --- Right column: 2×2 stat grid --- */
.csp-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-content: center;
}

/* --- Individual stat card --- */
.csp-stat {
  background-color: #ffffff;
  border-radius: 25px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.csp-stat__value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #000000;
  line-height: 1.2;
}

.csp-stat__label {
  font-size: 1rem;
  font-weight: 400;
  color: #000000;
  line-height: 1.5;
  max-width: 160px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1279px) {
  .csp-card {
    padding: 60px 50px;
    gap: 32px;
  }

  .csp-badge__text {
    font-size: 1.75rem;
  }

  .csp-heading {
    font-size: 1.5rem;
  }

  .csp-stat__value {
    font-size: 2rem;
  }
}

@media (max-width: 1023px) {
  .csp-card {
    padding: 50px 40px;
    gap: 28px;
  }

  .csp-badge__text {
    font-size: 1.5rem;
  }

  .csp-heading {
    font-size: 1.375rem;
    max-width: 100%;
  }

  .csp-stat__value {
    font-size: 1.75rem;
  }

  .csp-stat__label {
    font-size: 0.9rem;
  }
}

@media (max-width: 767px) {
  .csp-card {
    grid-template-columns: 1fr;
    padding: 40px 32px;
    border-radius: 35px;
    gap: 32px;
  }

  .csp-badge__text {
    font-size: 1.25rem;
  }

  .csp-heading {
    font-size: 1.25rem;
    max-width: 100%;
  }

  .csp-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .csp-stat {
    padding: 24px;
  }

  .csp-stat__value {
    font-size: 2rem;
  }

  .csp-stat__label {
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .csp-card {
    padding: 32px 24px;
    border-radius: 30px;
  }

  .csp-badge__text {
    font-size: 1.125rem;
  }
}
