/* ==========================================================================
   KiteLine Lawn Care — The KiteLine System (Operating Standard)
   Evergreen ground, Warm White type, horizontal process rail (vertical on
   narrow screens) rather than icon cards.
   ========================================================================== */

.kl-system {
  background: var(--kl-evergreen);
  padding: 128px 0;
}

.kl-system__inner {
  max-width: var(--kl-max-width);
  margin: 0 auto;
  padding: 0 var(--kl-gutter);
}

/* ---- Header ------------------------------------------------------------- */

.kl-system__header {
  max-width: 640px;
  margin-bottom: 104px;
}

.kl-system__eyebrow {
  font-family: var(--kl-font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kl-gold);
  margin: 0 0 24px;
}

.kl-system__headline {
  margin: 0 0 24px;
  font-family: var(--kl-font-display);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--kl-warm-white);
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.kl-system__copy {
  max-width: 480px;
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(245, 243, 236, 0.68);
}

/* ---- Process rail --------------------------------------------------------- */

.kl-system__rail {
  position: relative;
}

.kl-system__steps {
  list-style: none;
  margin: 0;
  padding: 44px 0 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: 24px;
  position: relative;
}

.kl-system__steps::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(242, 194, 48, 0.35);
}

.kl-step {
  position: relative;
  padding-top: 28px;
}

.kl-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 44px;
  bottom: 0;
  right: -12px;
  width: 1px;
  background: rgba(245, 243, 236, 0.08);
}

.kl-step__node {
  position: absolute;
  top: -5px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--kl-evergreen);
  border: 2px solid var(--kl-gold);
}

.kl-step__number {
  display: block;
  font-family: var(--kl-font-mono);
  font-weight: 500;
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1;
  color: var(--kl-warm-white);
  margin: 0 0 16px;
}

.kl-step__label {
  margin: 0 0 10px;
  font-family: var(--kl-font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 17px;
  color: var(--kl-warm-white);
}

.kl-step__copy {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(245, 243, 236, 0.6);
  max-width: 30ch;
}

/* ---- Emphasis: steps 05 (Inspect) and 06 (Communicate) --------------------- */

.kl-step--emphasis .kl-step__node {
  width: 15px;
  height: 15px;
  top: -7px;
  background: var(--kl-gold);
  border-color: var(--kl-gold);
  box-shadow: 0 0 0 5px rgba(242, 194, 48, 0.16);
}

.kl-step--emphasis .kl-step__number {
  color: var(--kl-gold);
  font-size: clamp(36px, 3.4vw, 50px);
}

.kl-step--emphasis .kl-step__copy {
  color: rgba(245, 243, 236, 0.76);
}

/* ---- Bottom statement ------------------------------------------------------- */

.kl-system__bottom {
  margin-top: 112px;
  text-align: center;
}

.kl-system__bottom-statement {
  margin: 0 auto;
  max-width: 820px;
  font-family: var(--kl-font-display);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--kl-warm-white);
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.005em;
}

.kl-system__bottom-statement .kl-gold {
  color: var(--kl-gold);
}

/* ---- Responsive: vertical timeline ------------------------------------------ */

@media (max-width: 980px) {
  .kl-system {
    padding: 96px 0;
  }

  .kl-system__header {
    margin-bottom: 72px;
  }

  .kl-system__steps {
    display: flex;
    flex-direction: column;
    gap: 44px;
    padding: 0 0 0 28px;
  }

  .kl-system__steps::before {
    top: 6px;
    bottom: 6px;
    left: 5px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .kl-step {
    padding-top: 0;
  }

  .kl-step:not(:last-child)::after {
    display: none;
  }

  .kl-step__node {
    top: 6px;
    left: -28px;
  }

  .kl-step--emphasis .kl-step__node {
    top: 4px;
    left: -30px;
  }

  .kl-step__copy {
    max-width: 52ch;
  }

  .kl-system__bottom {
    margin-top: 72px;
  }
}
