.ajm-wrap {
  margin: 34px 0;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(8, 25, 56, .08);
  color: #071b44;
}
.ajm-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  border-bottom: 1px solid #dde6f0;
  padding-bottom: 22px;
}
.ajm-badge,
.ajm-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  line-height: 1.2;
}
.ajm-badge {
  color: #166534;
  background: #edf8ef;
  border: 1px solid #9bd3aa;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 16px;
}
.ajm-date {
  flex: 0 0 auto;
  color: #166534;
  background: #edf8ef;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 16px;
}
.ajm-wrap svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ajm-head h2 {
  margin: 18px 0 10px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: 0;
}
.ajm-head p {
  margin: 0;
  max-width: 820px;
  color: #263855;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  line-height: 1.75;
}
.ajm-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 26px;
}
.ajm-step {
  position: relative;
  min-height: 230px;
  padding: 28px 22px 24px;
  border: 1px solid #cfd9e5;
  border-bottom: 5px solid #0b2c63;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #fbfdff);
  text-align: center;
}
.ajm-step:nth-of-type(2) { border-bottom-color: #16803a; }
.ajm-step:nth-of-type(3) { border-bottom-color: #d89000; }
.ajm-num {
  position: absolute;
  top: -20px;
  left: 20px;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #071b44;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}
.ajm-step-icon {
  display: inline-grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin-top: 12px;
  border-radius: 50%;
  color: #16753a;
  background: #edf8ef;
}
.ajm-step-icon svg {
  width: 42px;
  height: 42px;
}
.ajm-step h3 {
  margin: 18px 0 10px;
  font-size: clamp(22px, 2.7vw, 30px);
  line-height: 1.25;
}
.ajm-step p {
  margin: 0;
  color: #40506a;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}
.ajm-arrow {
  align-self: center;
  color: #0b2c63;
  font-size: 42px;
  font-weight: 900;
}
.ajm-focus {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid #b9d5f5;
  border-radius: 8px;
  background: #f7fbff;
}
.ajm-focus h3 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
}
.ajm-focus ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ajm-focus li {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  color: #071b44;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
}
.ajm-focus li span {
  flex: 0 0 auto;
  color: #1b6ed1;
}
.ajm-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 18px 0 0;
  padding: 16px 18px;
  border: 1px solid #f0c36c;
  border-radius: 8px;
  background: #fffaf0;
  color: #27364e;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.65;
}
.ajm-note svg {
  flex: 0 0 auto;
  color: #d89000;
  margin-top: 2px;
}
@media (max-width: 760px) {
  .ajm-wrap {
    margin: 26px 0;
    padding: 20px;
  }
  .ajm-head {
    display: block;
  }
  .ajm-date {
    margin-top: 16px;
    width: 100%;
    justify-content: center;
    font-size: 16px;
  }
  .ajm-flow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .ajm-arrow {
    display: none;
  }
  .ajm-step {
    min-height: 0;
    text-align: left;
    padding: 24px 18px 20px 96px;
  }
  .ajm-num {
    top: 22px;
    left: 18px;
  }
  .ajm-step-icon {
    width: 54px;
    height: 54px;
    margin: 0 0 10px;
  }
  .ajm-step-icon svg {
    width: 30px;
    height: 30px;
  }
  .ajm-focus {
    grid-template-columns: 1fr;
  }
  .ajm-focus ul {
    grid-template-columns: 1fr;
  }
}
