.first-step {
  color: #061b36;
  background: linear-gradient(115deg, #f6fbff, #eaf6ff);
}
.first-step__layout {
  width: min(1320px, calc(100% - clamp(48px, 8vw, 112px)));
  margin-inline: auto;
}
.first-step__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "intro art" "path path";
  align-items: center;
  padding-block: clamp(26px, 4vw, 62px) 24px;
  gap: clamp(22px, 3vw, 44px) 0;
}
.first-step__intro { grid-area: intro; position: relative; z-index: 1; }
.first-step h1 {
  color: #061b36;
  margin: 0;
  max-inline-size: 12ch;
  font: 800 clamp(50px, 5.6vw, 88px)/1.02 Inter, Arial, sans-serif;
  letter-spacing: -.053em;
  text-wrap: balance;
}
.first-step__intro > p {
  max-width: 42ch;
  margin: 15px 0 24px;
  color: #405570;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.45;
}
.first-step__form {
  display: grid;
  gap: 11px;
  max-width: 480px;
  padding: clamp(16px, 1.6vw, 24px);
  border: 1px solid #d7e6f1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(27, 66, 105, .07);
}
.first-step__form label, .first-step__path li { font-weight: 600 !important; }
.first-step__form select, .first-step__form button {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 10px 15px;
  border-radius: 9px;
  font: inherit;
  cursor: pointer;
}
.first-step__form select { border: 1px solid #9baec1; background: #fff; color: #19314b; }
.first-step__form button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 3px;
  border: 0;
  background: var(--orange);
  color: #fff;
  font-size: 20px;
  font-weight: 700 !important;
}
.first-step__form button span::after { content: "→"; }
[dir="rtl"] .first-step__form button span::after { content: "←"; }
.first-step :focus-visible { outline: 3px solid #116bc1; outline-offset: 3px; }
.first-step__art {
  grid-area: art;
  align-self: stretch;
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-start-start-radius: 65% 75%;
  background: linear-gradient(130deg, #e1f3ff, #cdeaff);
}
.first-step__art img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right bottom;
}
.first-step__path {
  grid-area: path;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 15px 0;
  border: 1px solid #c8dceb;
  border-radius: 12px;
  background: #ffffffd9;
  list-style: none;
  scroll-margin-top: 84px;
}
.first-step__path li { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 4px 10px; font-size: clamp(15px, 1.4vw, 20px); }
.first-step__path li + li { border-inline-start: 1px solid #d4e1ec; }
.first-step__path span {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e0edf7;
  font-weight: 700 !important;
}
.first-step__path li:first-child span { color: white; background: #086cb7; }
@media (max-width: 700px) {
  .first-step__layout { width: calc(100% - 40px); }
  .first-step__layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "path" "art";
    gap: 17px;
    padding-block: 23px 0;
  }
  .first-step__intro::before { content: ""; display: block; width: 32px; height: 4px; margin-bottom: 12px; border-radius: 2px; background: #38bdad; }
  .first-step h1 { font-size: clamp(39px, 9.7vw, 58px); }
  .first-step__intro > p { margin: 12px 0 17px; font-size: 16px; }
  .first-step__form { max-width: none; padding: 0; border: 0; box-shadow: none; background: transparent; gap: 7px; }
  .first-step__form button, .first-step__form select { min-height: 48px; }
  .first-step__form button { font-size: 18px; }
  .first-step__path { padding: 0; gap: 6px; border: 0; background: transparent; }
  .first-step__path li { justify-content: flex-start; gap: 5px; padding: 0; font-size: 13px; line-height: 1.25; }
  .first-step__path li + li { border: 0; }
  .first-step__path span { width: 21px; height: 21px; }
  .first-step__art { min-height: 0; height: clamp(160px, 46vw, 280px); margin-inline: -20px; border-start-start-radius: 52% 66%; }
  .first-step__art img { object-fit: contain; object-position: center bottom; }
}
