#system + section:has(.steps) .steps,
section:has(.steps) .steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 30px 0 28px;
  counter-reset: stage;
}
.stages{
    padding: 60px 0;
}
@media only screen and (max-width : 578px) {
    .stages{
    padding: 30px 0;
}
}

section:has(.steps) .step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 205px;
  padding: 22px 20px 18px;
  overflow: hidden;
  border: 1px solid #e3e9ee;
  border-top: 3px solid #fd5a42;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(11, 31, 51, .05);
  counter-increment: stage;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

section:has(.steps) .step:hover {
  transform: translateY(-3px);
  border-color: #d5dfe7;
  border-top-color: #02818a;
  box-shadow: 0 14px 30px rgba(11, 31, 51, .09);
}

section:has(.steps) .step::after {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #fff0ed;
  color: #fd5a42;
  content: counter(stage, decimal-leading-zero);
  font: 700 12px/1 "SF Pro Display", Arial, sans-serif;
}

section:has(.steps) .step > .ii {
  display: block;
  width: 34px;
  height: 34px;
  margin: 0 0 16px;
  color: #fd5a42;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

section:has(.steps) .step > b {
  margin: 0 0 8px;
  color: #0b1f33;

  font-size: clamp(0.9375rem, 0.9125rem + 0.125vw, 1.0625rem);
  font-weight: 700;
  line-height: 1.35;
  margin-top: 15px;
  text-transform: uppercase;
}

section:has(.steps) .step > p,
section:has(.steps) .step > small {
  color: #687786;
  font-family: "SF Pro Display", Arial, sans-serif;
  font-size: clamp(0.9375rem, 0.9125rem + 0.125vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.5;
}

section:has(.steps) .step > p {
  margin: 0 0 14px;
}

section:has(.steps) .step > small {
  display: block;
  margin-top: auto;
  padding-top: 10px;
  color: #02818a;
  font-weight: 600;
}

section:has(.steps) .steps + .gstrip {
  display: grid;
  grid-template-columns: minmax(190px, .72fr) minmax(0, 1.7fr) auto;
  gap: 20px 28px;
  align-items: center;
  margin: 0 0 18px;
  padding: 24px 26px;
  border: 1px solid #cfe5e2;
  border-radius: 10px;
  background: #272C2D;
}

section:has(.steps) .gs-h {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #0b1f33;
}

section:has(.steps) .gs-h .ii {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  color: #02818a;
}

section:has(.steps) .gs-h b {
 
  font-size: clamp(0.9375rem, 0.9125rem + 0.125vw, 1.0625rem);
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  text-transform: uppercase;
}

section:has(.steps) .gs-l {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

section:has(.steps) .gs-l li {
  position: relative;
  margin: 0;
  padding-left: 22px;
  color: #ffffff9b;
  font-family: "SF Pro Display", Arial, sans-serif;
  font-size: clamp(0.9375rem, 0.9125rem + 0.125vw, 1.0625rem);
  font-weight: 300;
  line-height: 1.5;
}

section:has(.steps) .gs-l li::before {
  position: absolute;
  top: .45em;
  left: 2px;
  width: 11px;
  height: 6px;
  border-bottom: 2px solid #02818a;
  border-left: 2px solid #02818a;
  content: "";
  transform: rotate(-45deg);
}

section:has(.steps) .gs-l li b {
  color: #fff;
  font-weight: 700;
}

section:has(.steps) .gstrip > .btn.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 16px;
  border: 1px solid #02818a;
  border-radius: 5px;
  background: #fff;
  color: #02818a;
  font-family: "SF Pro Display", Arial, sans-serif;
  font-size: clamp(0.9375rem, 0.9125rem + 0.125vw, 1.0625rem);
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}

section:has(.steps) .gstrip > .btn.ghost:hover {
  background: #02818a;
  color: #fff;
}

section:has(.steps) .gstrip > .btn.ghost .ii {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

section:has(.steps) .gstrip + .warn {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 16px 20px;
  border: 1px solid #d5e8f2;
  border-radius: 8px;
  background: #f2f8fb;
  color: #405261;
  font-family: "SF Pro Display", Arial, sans-serif;
  font-size: clamp(0.9375rem, 0.9125rem + 0.125vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.5;
}

section:has(.steps) .gstrip + .warn > .ii {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: #02818a;
}

section:has(.steps) .gstrip + .warn b {
  color: #0b1f33;
}

section:has(.steps) .warn + .center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}



section:has(.steps) .warn + .center .btn:hover {
  transform: translateY(-1px);
  background: #e94a34;
  color: #fff;
}

section:has(.steps) .warn + .center .btn.ghost {
  border-color: #02818a;
  background: #fff;
  box-shadow: 0 4px 0 #027078;
  color: #02818a;
}

section:has(.steps) .warn + .center .btn.ghost:hover {
  background: #02818a;
  color: #fff;
}

@media (max-width: 1100px) {
  section:has(.steps) .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  section:has(.steps) .steps + .gstrip {
    grid-template-columns: 1fr auto;
  }

  section:has(.steps) .gs-h {
    grid-column: 1 / -1;
  }

  section:has(.steps) .gs-l {
    grid-column: 1;
  }
}

@media (max-width: 760px) {
  section:has(.steps) .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  section:has(.steps) .step {
    min-height: 190px;
    padding: 18px 15px 16px;
  }

  section:has(.steps) .steps + .gstrip {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  section:has(.steps) .gs-h,
  section:has(.steps) .gs-l {
    grid-column: auto;
  }

  section:has(.steps) .gstrip > .btn.ghost {
    justify-self: start;
  }
}

@media (max-width: 480px) {
  section:has(.steps) .steps {
    grid-template-columns: 1fr;
  }

  section:has(.steps) .step {
    min-height: 0;
  }

  section:has(.steps) .step > p {
    margin-bottom: 8px;
  }

  section:has(.steps) .gs-l {
    grid-template-columns: 1fr;
  }

  section:has(.steps) .gstrip + .warn {
    padding: 14px;
  }

  section:has(.steps) .warn + .center {
    flex-direction: column;
  }

  section:has(.steps) .warn + .center .btn {
    width: 100%;
  }
}
