/* ===== Section 06: Order & consultation steps (compact) ===== */
.landing-steps {
  --steps-gap: clamp(12px, 2vw, 28px);
  --steps-amber: #f6a530;
  --steps-idle: var(--landing-white);
  position: relative;
  direction: rtl;
  color: var(--landing-text);
  background-color: var(--landing-gray);
  padding-block: clamp(28px, 4vw, 52px);
}
.landing-steps *,
.landing-steps *::before,
.landing-steps *::after { box-sizing: border-box; }

.landing-steps__inner {
  max-width: var(--landing-wrap);
  margin-inline: auto;
  padding-inline: var(--landing-gutter);
}

.landing-steps h2.landing-steps__title {
  margin: 0 0 clamp(24px, 3vw, 40px);
  text-align: center;
  font-size: clamp(1.375rem, 1rem + 1.3vw, 2rem);
  font-weight: 800;
  line-height: 1.5;
  color: var(--landing-navy);
}
.landing-steps h2.landing-steps__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin: 10px auto 0;
  border-radius: 2px;
  background: var(--landing-yellow);
}

/* --- steps row (zig-zag) --- */
.landing-steps ol.landing-steps__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: var(--steps-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.landing-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0;
  text-align: center;
}
.landing-step:nth-child(even) { margin-top: clamp(16px, 2vw, 28px); }

.landing-step__icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--steps-idle);
  color: var(--steps-amber);
  transition: background-color .35s ease, color .35s ease;
}
.landing-step__glyph { width: 26px; height: 26px; }
.landing-step__glyph--flip { transform: scaleX(-1); }

.landing-step__badge {
  position: absolute;
  top: -8px;
  inset-inline-end: -10px;
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--steps-amber);
  box-shadow: 0 0 0 3px var(--landing-white);
  color: var(--landing-white);
  font-size: .7rem;
  font-weight: 700;
  line-height: 1;
  backface-visibility: hidden;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}

.landing-steps h3.landing-step__title {
  margin: 0 0 4px;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.6;
  color: var(--landing-navy);
}
.landing-steps p.landing-step__text {
  max-width: 17rem;
  margin: 0;
  font-size: .9rem;
  line-height: 1.8;
  color: var(--landing-text-soft);
}

/* hover: circle turns yellow, badge flips (in and out) */
.landing-step:hover .landing-step__icon {
  background: var(--landing-yellow);
  color: var(--landing-navy);
}
.landing-step:hover .landing-step__badge { transform: rotateY(360deg); }

/* --- dotted arrows between steps --- */
.landing-step__arrow {
  position: absolute;
  top: 82px;
  inset-inline-end: calc(-35px - var(--steps-gap) / 2);
  width: 70px;
  height: 28px;
  overflow: visible;
  color: var(--landing-navy);
  pointer-events: none;
}
.landing-step:nth-child(even) .landing-step__arrow { transform: scaleY(-1); }

/* --- response time line --- */
.landing-steps p.landing-steps__eta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: clamp(20px, 2.5vw, 32px) 0 0;
  font-size: .9rem;
  line-height: 1.8;
  color: var(--landing-text-soft);
}
.landing-steps__eta svg { width: 18px; height: 18px; flex: none; color: var(--steps-amber); }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .landing-steps ol.landing-steps__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
  }
  .landing-step:nth-child(even) { margin-top: 0; }
  .landing-step__arrow { display: none; }
}

@media (max-width: 600px) {
  .landing-steps ol.landing-steps__list { grid-template-columns: minmax(0, 1fr); row-gap: 22px; }
  .landing-step {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
    text-align: start;
  }
  .landing-step__icon { grid-row: 1 / span 2; margin-bottom: 0; }
  .landing-steps h3.landing-step__title { align-self: end; margin-bottom: 2px; }
  .landing-steps p.landing-step__text { max-width: none; }
  /* dotted connector between steps */
  .landing-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 64px;
    bottom: -16px;
    inset-inline-start: 27px;
    border-inline-start: 2px dotted var(--steps-amber);
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-step__icon { transition: none; }
  .landing-step__badge { transition: none; }
  .landing-step:hover .landing-step__badge { transform: none; }
}
