/* QH Stats — homepage stats grid (67% faster deal cycles, etc.).
   Defaults match the old ThemeREX counter cards. Style-tab controls
   override these via {{WRAPPER}} rules. */

.qhw-stats{
  --qhw-st-cols:3;
  display:grid;
  grid-template-columns:repeat(var(--qhw-st-cols), minmax(0, 1fr));
  column-gap:20px;
  row-gap:50px;
  padding:50px 100px;
  width:100%;
  box-sizing:border-box;
  background:#000;
  font-family:"DM Sans", sans-serif;
}
.qhw-stat{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:40px 20px 40px 30px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:20px;
  /* same glass look as the old cards */
  background:linear-gradient(180deg, rgba(18,18,18,.55), rgba(255,255,255,.05));
  box-shadow:0 24px 64px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.14);
  box-sizing:border-box;
}
.qhw-stat__value{
  margin:0;
  color:#fff;
  font-family:"DM Sans", sans-serif;
  font-weight:500;
  font-size:60px;
  line-height:1.1;
}
.qhw-stat__big{
  font-size:60px;
  line-height:1.1;
}
.qhw-stat__before{
  font-size:29px;
}
.qhw-stat__after{
  font-size:31px;
  margin-left:5px;
}
.qhw-stat__label{
  margin:75px 0 0;
  color:#fff;
  font-family:"DM Sans", sans-serif;
  font-size:20px;
  font-weight:400;
  line-height:1.4;
}

/* Tablet only (768–1024): 2 columns */
@media (min-width:768px) and (max-width:1024px){
  .qhw-stats{ --qhw-st-cols:2; row-gap:20px; padding:95px 30px; }
  .qhw-stat__label{ margin-top:60px; }
}

/* Mobile: 1 column */
@media (max-width:767px){
  .qhw-stats{ --qhw-st-cols:1; row-gap:20px; padding:0 20px 65px; }
  .qhw-stat{ padding:25px; }
  .qhw-stat__big{ font-size:48px; }
  .qhw-stat__after{ font-size:32px; }
  .qhw-stat__label{ margin-top:20px; }
}