/* DEPLOY191_STEPS_VISUAL_REFRESH: compact illustrated steps cards with optimized local webp assets. */
.cms-block--steps{
  background:#202020;
  color:#fff;
}
.cms-block--steps .steps-modern{
  max-width:1180px;
}
.cms-block--steps .steps-modern__head{
  text-align:center;
  max-width:960px;
  margin:0 auto 42px;
}
.cms-block--steps .steps-modern__head h2{
  margin:0;
  color:#fff;
}
.cms-block--steps .steps-modern__subtitle{
  max-width:780px;
  margin:19px auto 0;
  color:#c5c5c5;
  font-size:clamp(16px,1.45vw,20px);
  line-height:1.48;
}
.cms-block--steps .steps-modern__grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
.cms-block--steps .steps-modern__card{
  min-width:0;
  min-height:320px;
  padding:26px 24px 22px;
  border-radius:28px;
  background:#fff;
  color:#171717;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  border:1px solid rgba(0,0,0,.03);
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
  transition:transform .25s ease, box-shadow .25s ease;
}
.cms-block--steps .steps-modern__card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 36px rgba(0,0,0,.10);
}
.cms-block--steps .steps-modern__card-bottom{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  width:100%;
  margin-top:auto;
  padding-top:14px;
}
.cms-block--steps .steps-modern__number{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  flex:0 0 44px;
  border-radius:50%;
  background:var(--site-accent,#ffd83d);
  color:#171717;
  font-size:18px;
  font-weight:800;
  line-height:1;
}
.cms-block--steps .steps-modern__card-top{
  width:100%;
}
.cms-block--steps .steps-modern__card h3{
  margin:0 0 12px;
  color:#171717;
  font-weight:800;
  overflow-wrap:break-word;
}
.cms-block--steps .steps-modern__card p{
  margin:0;
  color:#686d75;
  font-size:15px;
  line-height:1.55;
  overflow-wrap:break-word;
}
.cms-block--steps .steps-modern__media{
  position:relative;
  flex:1 1 auto;
  min-width:0;
  min-height:112px;
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
}
.cms-block--steps .steps-modern__media::before{
  content:'';
  position:absolute;
  right:0;
  bottom:0;
  width:min(170px,100%);
  height:94%;
  border-radius:28px;
  background:linear-gradient(180deg,#fff7d1 0%,#fff3b0 100%);
  opacity:.95;
}
.cms-block--steps .steps-modern__media img{
  position:relative;
  z-index:1;
  display:block;
  max-width:100%;
  max-height:122px;
  width:auto;
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 10px 18px rgba(0,0,0,.10));
}
.cms-block--steps .steps-modern__action{
  display:flex;
  justify-content:center;
  margin-top:34px;
}
.cms-block--steps .steps-modern__cta{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:20px;
  min-height:60px;
  min-width:320px;
  padding:17px 34px;
  border-radius:16px;
  background:var(--site-accent,#ffd83d);
  color:#171717;
  font-size:18px;
  font-weight:800;
  line-height:1.2;
  text-align:center;
  text-decoration:none;
  transition:background-color .2s ease,transform .2s ease;
}
.cms-block--steps .steps-modern__cta:hover{
  background:#ffe367;
  transform:translateY(-2px);
}
.cms-block--steps .steps-modern__cta:focus-visible{
  outline:3px solid #fff;
  outline-offset:4px;
}
.cms-block--steps .steps-modern__cta span{
  font-size:24px;
  line-height:1;
  font-weight:400;
}
@media(max-width:1100px){
  .cms-block--steps .steps-modern__grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .cms-block--steps .steps-modern__card{
    min-height:308px;
  }
}
@media(max-width:640px){
  .cms-block--steps .steps-modern__head{
    margin-bottom:28px;
  }
  .cms-block--steps .steps-modern__subtitle{
    margin-top:15px;
    font-size:16px;
  }
  .cms-block--steps .steps-modern__grid{
    grid-template-columns:minmax(0,1fr);
    gap:12px;
  }
  .cms-block--steps .steps-modern__card{
    min-height:0;
    padding:24px 22px 20px;
    border-radius:24px;
  }
  .cms-block--steps .steps-modern__number{
    width:40px;
    height:40px;
    flex-basis:40px;
  }
  .cms-block--steps .steps-modern__card-bottom{
    gap:12px;
    padding-top:12px;
  }
  .cms-block--steps .steps-modern__media{
    min-height:100px;
  }
  .cms-block--steps .steps-modern__media img{
    max-height:110px;
  }
  .cms-block--steps .steps-modern__action{
    margin-top:25px;
  }
  .cms-block--steps .steps-modern__cta{
    width:100%;
    min-width:0;
    min-height:58px;
    padding:16px 24px;
    font-size:17px;
  }
}
@media(prefers-reduced-motion:reduce){
  .cms-block--steps .steps-modern__card,
  .cms-block--steps .steps-modern__cta{transition:none}
  .cms-block--steps .steps-modern__card:hover,
  .cms-block--steps .steps-modern__cta:hover{transform:none}
}
