/* --- Success cases tuning --- */

.customBlock.sc{
  /* Try to inherit theme accent if exists; fallback is site red */
  --sc-accent: var(--accent, var(--primary, var(--pink, #e31c3d)));
}

.sc__grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

@media (max-width: 1024px){
  .sc__grid{ grid-template-columns: 1fr; }
}

.sc__card{
  border-radius: 18px;
  background: #fff;
  position: relative;
  overflow: hidden;
  border: 1px solid #F2F2F2;
  -webkit-box-shadow: 0px 1px 7px 3px rgba(0, 0, 0, 0.02);
  box-shadow: 0px 1px 7px 3px rgba(0, 0, 0, 0.02);
  padding: 3.125rem 2.5rem;
  -webkit-transition: all, 0.35s;
  transition: all, 0.35s;
}

.sc__card:hover{
  border: 1px solid var(--sc-accent);
}

.sc__badge{
  position:absolute;
  top: 16px;
  left: 16px;
  background: var(--sc-accent);
  color:#fff;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
}

.sc__body{
  display:grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: center;
}

@media (max-width: 640px){
  .sc__body{
    grid-template-columns: 1fr;
    align-items: start;
  }
  .sc__phone{ max-width: 280px; margin: 0 auto; }
}

.sc__phone img,
.sc__phone picture{
  width: 100%;
  height: auto;
  display: block;
}

.sc__text{
  font-size: 1rem;
  line-height: 1.5;
  opacity: .9;
  margin-bottom: 16px;
}

.sc__stats{
  display:grid;
  gap: 12px;
}

.sc__value{
  font-weight: 700;
  line-height: 1.05;
  font-size: clamp(32px, 3vw, 44px);
}

.sc__label{
  font-size: 12px;
  line-height: 1.2;
  opacity: .7;
}

/* Make secondary stats smaller (like on your screenshot) */
.sc__stat:not(:first-child) .sc__value{
  font-size: 28px;
  font-weight: 600;
}
