
.ione-steps,
.ione-steps *,
.ione-steps *::before,
.ione-steps *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.ione-steps {
  --ion-navy-950: #0f1e2e;
  --ion-navy-800: #182d43;
  --ion-navy-700: #1e3552;
  --ion-amber-700: #7a4014;
  --ion-amber-500: #e6a23c;
  --ion-amber-300: #f4c77a;
  --ion-white: #ffffff;
  --ion-sun-cream: #fbefdd;
  --ion-cream: #faf6ef;
  --ion-warm-panel: #f3ece0;
  --ion-text-strong: #182d43;
  --ion-text-body: #2c3540;
  --ion-text-muted: #66707c;
  --ion-border-warm: #e4dbcd;

  font-family: "Barlow Semi Condensed", "Prompt", sans-serif;
  position: relative;
  overflow: hidden;
  padding: 72px 24px 78px;
  background: linear-gradient(
    180deg,
    var(--ion-warm-panel) 0,
    var(--ion-cream) 68px,
    var(--ion-cream) 72%,
    var(--ion-warm-panel) 100%
  );
  -webkit-font-smoothing: antialiased;
}

.ione-steps::before {
  content: none;
  display: none;
  background: none;
}

.ione-steps::after {
  content: none;
  display: none;
  background: none;
}

.ione-steps__inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
}

.ione-steps__header {
  text-align: center;
  margin-bottom: 42px;
}

.ione-steps__h2 {
  font-family: "Barlow Semi Condensed", "Prompt", sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  font-weight: 700;
  color: var(--ion-text-strong);
  line-height: 1.55;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.ione-steps__rule {
  width: 92px;
  height: 3px;
  margin: 0 auto;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--ion-amber-500),
    var(--ion-amber-300),
    transparent
  );
  box-shadow: none;
}

.ione-steps__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
}

.ione-steps__item {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  padding: 22px 26px 20px;
  border-radius: 24px;
  background: var(--ion-white);
  border: 1px solid var(--ion-border-warm);
  box-shadow: 0 14px 34px rgba(15, 30, 46, 0.08);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.ione-steps__item:hover {
  transform: translateY(-5px);
  border-color: var(--ion-amber-300);
  background: var(--ion-sun-cream);
  box-shadow: 0 18px 38px rgba(15, 30, 46, 0.11);
}

.ione-steps__shine {
  position: absolute;
  top: 0;
  left: 18%;
  width: 64%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230, 162, 60, 0.72), transparent);
  pointer-events: none;
}

.ione-steps__title-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.ione-steps__emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  flex: 0 0 28px;
  font-size: 1.35rem;
  line-height: 1;
  margin-top: 2px;
  filter: none;
}

.ione-steps__title {
  font-family: "Barlow Semi Condensed", "Prompt", sans-serif;
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  font-weight: 700;
  color: var(--ion-text-strong);
  line-height: 1.5;
}

.ione-steps__desc {
  font-family: "Barlow Semi Condensed", "Prompt", sans-serif;
  font-size: 0.91rem;
  font-weight: 400;
  color: var(--ion-text-body);
  line-height: 1.72;
  text-align: left;
}

/* Tablet */
@media (max-width: 1024px) {
  .ione-steps {
    padding: 66px 22px 74px;
  }

  .ione-steps__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .ione-steps__item {
    min-height: 210px;
    padding: 30px 24px 28px;
  }

  .ione-steps__title-row {
    gap: 11px;
    margin-bottom: 12px;
  }

  .ione-steps__emoji {
    width: 29px;
    height: 29px;
    min-width: 29px;
    flex-basis: 29px;
    font-size: 1.4rem;
  }

  .ione-steps__desc {
    line-height: 1.8;
    font-size: 0.92rem;
  }
}

/* Mobile */
@media (max-width: 620px) {
  .ione-steps {
    padding: 56px 18px 62px;
  }

  .ione-steps__header {
    margin-bottom: 38px;
  }

  .ione-steps__h2 {
    font-size: clamp(1.35rem, 6vw, 1.7rem);
  }

  .ione-steps__list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ione-steps__item {
    min-height: auto;
    border-radius: 20px;
    padding: 30px 22px;
  }

  .ione-steps__title-row {
    gap: 10px;
    margin-bottom: 12px;
  }

  .ione-steps__emoji {
    width: 28px;
    height: 28px;
    min-width: 28px;
    flex-basis: 28px;
    font-size: 1.35rem;
    margin-top: 2px;
  }

  .ione-steps__desc {
    font-size: 0.88rem;
    line-height: 1.8;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ione-steps__item {
    transition: none;
  }

  .ione-steps__item:hover {
    transform: none;
  }
}
