/* Recruit Process Steps — base 1920px, scales via media queries */

.recruit-process {
  width: 100%;
  max-width: var(--syncare-design-width, 1920px);
  margin: 0 auto;
  padding: 110px var(--syncare-section-padding, 150px) 120px;
  background: linear-gradient(180deg, #f7fbfe 0%, #ffffff 100%);
  box-sizing: border-box;
}

.recruit-process__inner {
  width: 100%;
  max-width: var(--syncare-content-width, 1620px);
  margin: 0 auto;
}

.recruit-process__header {
  max-width: 920px;
  margin: 0 auto 99px;
  text-align: center;
}

.recruit-process__eyebrow {
  margin: 0 0 16px;
  text-align: center;
  font: normal normal 600 24px/28px Montserrat, sans-serif;
  letter-spacing: 0.19px;
  color: #479ec7;
}

.recruit-process__heading {
  margin: 0 0 24px;
  text-align: center;
  font: normal normal bold 60px/72px Montserrat, sans-serif;
  letter-spacing: 3px;
  color: #274760;
}

.recruit-process__intro {
  margin: 0 auto;
  max-width: 820px;
  text-align: center;
  font: normal normal normal 16px/28px Montserrat, sans-serif;
  letter-spacing: 0.13px;
  color: #274760;
}

.recruit-process__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 257px));
  justify-content: center;
  column-gap: 17px;
  row-gap: 27px;
}

.recruit-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  grid-column: span 2;
  width: 100%;
  max-width: 531px;
  height: 468px;
  padding: 55px 42px 115px 55px;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(39, 71, 96, 0.1);
  box-sizing: border-box;
  justify-self: stretch;
}

/* One leftover card → center (cols 3–4 of 6) */
.recruit-step--center {
  grid-column: 3 / span 2;
}

/* Two leftover cards → center pair (cols 2–3 and 4–5) */
.recruit-step--pair-start {
  grid-column: 2 / span 2;
}

.recruit-step--pair-end {
  grid-column: 4 / span 2;
}

.recruit-step__label {
  margin: 0 0 8px;
  text-align: left;
  font: normal normal bold 18px/36px Montserrat, sans-serif;
  letter-spacing: 0.14px;
  color: #89cff0;
}

.recruit-step__title {
  margin: 0 0 16px;
  text-align: left;
  font: normal normal bold 24px/36px Montserrat, sans-serif;
  letter-spacing: 0.19px;
  color: #274760;
}

.recruit-step__body {
  text-align: left;
  font: normal normal normal 16px/28px Montserrat, sans-serif;
  letter-spacing: 0.13px;
  color: #274760;
}

.recruit-step__body p {
  margin: 0 0 12px;
  text-align: left;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}

.recruit-step__body p:last-child {
  margin-bottom: 0;
}

.recruit-step__body ul {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.recruit-step__body ul:last-child {
  margin-bottom: 0;
}

.recruit-step__body li {
  position: relative;
  padding-left: 18px;
  text-align: left;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}

.recruit-step__body li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #274760;
}

/* ── ≤1700px ── */
@media (max-width: 1700px) {
  .recruit-process__grid {
    grid-template-columns: repeat(6, minmax(0, 257px));
    column-gap: 16px;
    row-gap: 24px;
  }

  .recruit-step {
    max-width: none;
  }
}

/* ── ≤1600px ── */
@media (max-width: 1600px) {
  .recruit-process__header {
    margin-bottom: 80px;
  }

  .recruit-process__heading {
    font-size: 52px;
    line-height: 1.15;
    letter-spacing: 2.5px;
  }

  .recruit-step {
    height: auto;
    min-height: 420px;
    padding: 48px 36px 72px 48px;
  }
}

/* ── ≤1440px ── */
@media (max-width: 1440px) {
  .recruit-process {
    padding-top: 96px;
    padding-bottom: 100px;
  }

  .recruit-process__header {
    margin-bottom: 72px;
  }

  .recruit-process__eyebrow {
    font-size: 22px;
  }

  .recruit-process__heading {
    font-size: 48px;
    letter-spacing: 2px;
  }

  .recruit-process__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 20px;
  }

  .recruit-step {
    min-height: 400px;
    padding: 44px 32px 64px 40px;
  }

  .recruit-step__title {
    font-size: 22px;
    line-height: 1.35;
  }
}

/* ── ≤1200px — 2 columns ── */
@media (max-width: 1200px) {
  .recruit-process__eyebrow {
    font-size: 20px;
  }

  .recruit-process__heading {
    font-size: 48px;
    line-height: 1.15;
    letter-spacing: 2px;
  }

  .recruit-process__header {
    margin-bottom: 64px;
  }

  .recruit-process__grid {
    grid-template-columns: repeat(2, minmax(0, 531px));
    column-gap: 20px;
    row-gap: 24px;
    justify-content: center;
  }

  .recruit-step {
    grid-column: auto;
    min-height: 0;
    height: auto;
  }

  .recruit-step--center,
  .recruit-step--pair-start,
  .recruit-step--pair-end {
    grid-column: auto;
  }

  /* Odd last card on 2-col grid */
  .recruit-process__grid > .recruit-step:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 531px;
    justify-self: center;
  }
}

/* ── 1024px only ── */
@media (min-width: 1024px) and (max-width: 1024px) {
  .recruit-process {
    padding-top: 80px;
    padding-bottom: 88px;
  }

  .recruit-process__header {
    margin-bottom: 48px;
  }

  .recruit-process__eyebrow {
    font-size: 18px;
  }

  .recruit-process__heading {
    font-size: 40px;
    letter-spacing: 1.5px;
  }

  .recruit-process__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    column-gap: 16px;
    row-gap: 20px;
  }

  .recruit-step {
    padding: 36px 28px 48px;
  }

  .recruit-process__grid > .recruit-step:last-child:nth-child(odd) {
    max-width: none;
  }

  .recruit-step__title {
    font-size: 20px;
    line-height: 1.35;
  }

  .recruit-step__body {
    font-size: 15px;
    line-height: 1.55;
  }
}

/* ── ≤900px ── */
@media (max-width: 900px) {
  .recruit-process {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .recruit-process__eyebrow {
    font-size: 18px;
    line-height: 1.35;
  }

  .recruit-process__heading {
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: 1.5px;
  }

  .recruit-process__header {
    margin-bottom: 40px;
  }

  .recruit-process__grid {
    grid-template-columns: 1fr;
    max-width: 531px;
    margin: 0 auto;
    row-gap: 24px;
  }

  .recruit-step {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 40px 32px 48px;
    grid-column: auto;
  }

  .recruit-step--center,
  .recruit-step--pair-start,
  .recruit-step--pair-end,
  .recruit-process__grid > .recruit-step:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
  }
}

/* ── ≤575px ── */
@media (max-width: 575px) {
  .recruit-process {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .recruit-process__heading {
    font-size: 28px;
    letter-spacing: 1px;
  }

  .recruit-process__intro {
    font-size: 15px;
    line-height: 1.55;
  }

  .recruit-step {
    padding: 32px 24px 40px;
    border-radius: 24px;
  }

  .recruit-step__title {
    font-size: 20px;
    line-height: 1.35;
  }

  .recruit-step__body {
    font-size: 15px;
    line-height: 1.55;
  }
}
