/* ==========================================================================
   Section 09 — How It Works (Elementor id 6ae64e0)
   Static section: no scroll trigger, no entrance animation.
   Desktop 1440x606 / tablet 768x726 / mobile 390x1305.
   ========================================================================== */

.s-how-it-works {
  padding: 50px 0;
  background-image: linear-gradient(rgb(247, 247, 247) 0%, rgb(255, 255, 255) 100%);
  font-family: var(--f-body);
  font-size: var(--t-body-15);
  font-weight: 300;
  line-height: 1.5em;
  color: var(--c-text);
}

.s-how-it-works .hiw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  column-gap: 0;
}

/* ---- Left column: eyebrow, title, lead, button --------------------------- */

.s-how-it-works .hiw-intro {
  max-width: 490px;
}

.s-how-it-works .hiw-eyebrow {
  margin: 0 0 25px;
  font-family: var(--f-display);
  font-size: var(--t-body-lg);
  font-weight: 500;
  line-height: 1.3em;
  color: var(--c-green);
}

.s-how-it-works .hiw-title {
  margin: 0 0 14px;
  font-family: var(--f-display);
  font-size: var(--t-h2-alt);
  font-weight: 300;
  line-height: 1.3em;
  color: var(--c-text);
}

.s-how-it-works .hiw-title b {
  font-weight: 700;
}

.s-how-it-works .hiw-lead {
  margin: 0 0 24px;
  font-family: var(--f-display);
  font-size: var(--t-body-md);
  font-weight: 400;
  line-height: 24px;
  color: var(--c-slate);
}

/* ---- Button -------------------------------------------------------------- */

.s-how-it-works .hiw-btn {
  display: inline-block;
  padding: 18px 30px;
  border-radius: 8px;
  background: var(--c-black);
  color: var(--c-white);
  transition: all var(--dur);
}

.s-how-it-works .hiw-btn:hover,
.s-how-it-works .hiw-btn:focus-visible {
  background: var(--c-green);
}

.s-how-it-works .hiw-btn-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.s-how-it-works .hiw-btn-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: currentColor;
}

.s-how-it-works .hiw-btn-text {
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4em;
  letter-spacing: 1.5px;
}

/* ---- Right column: the four numbered steps ------------------------------- */

.s-how-it-works .hiw-step {
  display: grid;
  grid-template-columns: 85px 1fr;
  column-gap: 38px;
  align-items: start;
}

.s-how-it-works .hiw-step + .hiw-step {
  margin-top: 32px;
}

.s-how-it-works .hiw-step-img {
  margin: 0;
  width: 85px;
}

.s-how-it-works .hiw-step-img img {
  display: block;
  width: 85px;
  height: 85px;
  object-fit: fill;
  border-radius: 0;
}

.s-how-it-works .hiw-step-title {
  margin: 0 0 10px;
  font-family: var(--f-display);
  font-size: var(--t-body-md);
  font-weight: 600;
  line-height: 1.3em;
  color: var(--c-text);
}

.s-how-it-works .hiw-step-desc {
  margin: 0;
  font-family: var(--f-display);
  font-size: var(--t-body-15);
  font-weight: 400;
  line-height: 20px;
  color: var(--c-slate);
}

.s-how-it-works .hiw-btn--mobile {
  display: none;
}

/* ---- Tablet 768–1024 ------------------------------------------------------ */

@media (min-width: 768px) and (max-width: 1024px) {
  .s-how-it-works .hiw-grid {
    column-gap: 24px;
  }

  .s-how-it-works .hiw-intro {
    max-width: none;
  }

  /* the target keeps the display heading at its desktop step on tablet */
  .s-how-it-works .hiw-title {
    font-size: 50px;
  }

  .s-how-it-works .hiw-lead {
    font-size: 16px;
  }

  .s-how-it-works .hiw-step {
    grid-template-columns: 85px 1fr;
    column-gap: 20px;
  }

  .s-how-it-works .hiw-step-desc {
    font-size: 15px;
  }
}

/* ---- Mobile <=767 --------------------------------------------------------- */

@media (max-width: 767px) {
  .s-how-it-works .hiw-grid {
    grid-template-columns: 1fr;
    row-gap: 0;
    text-align: center;
  }

  .s-how-it-works .hiw-intro {
    max-width: none;
  }

  .s-how-it-works .hiw-eyebrow {
    margin-bottom: 20px;
    font-size: 16px;
  }

  .s-how-it-works .hiw-title {
    margin-bottom: 16px;
    font-size: 25px;
  }

  .s-how-it-works .hiw-lead {
    margin-bottom: 0;
    font-size: 15px;
    line-height: 24px;
  }

  .s-how-it-works .hiw-steps {
    margin-top: 45px;
  }

  .s-how-it-works .hiw-step {
    grid-template-columns: 1fr;
    justify-items: center;
    column-gap: 0;
    row-gap: 18px;
  }

  .s-how-it-works .hiw-step + .hiw-step {
    margin-top: 45px;
  }

  .s-how-it-works .hiw-step-title {
    margin-bottom: 8px;
    font-size: 15px;
  }

  .s-how-it-works .hiw-step-desc {
    font-size: 15px;
    line-height: 24px;
  }

  .s-how-it-works .hiw-btn--mobile {
    display: inline-block;
    margin-top: 45px;
  }
}
