/* Apply Process — How To Apply page, base 1920px */

.apply-process {
  width: 100%;
  max-width: var(--syncare-design-width, 1920px);
  margin: 0 auto;
  padding: 110px var(--syncare-section-padding, 150px) 120px;
  background:
    radial-gradient(ellipse at 92% 88%, rgba(209, 232, 255, 0.4) 0%, rgba(255, 255, 255, 0) 55%),
    #ffffff;
  box-sizing: border-box;
}

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

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

.apply-process__intro-block,
.apply-step {
  grid-column: span 2;
  width: 100%;
  box-sizing: border-box;
}

.apply-process__intro-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 24px;
}

.apply-process__eyebrow {
  margin: 0 0 16px;
  text-align: left;
  font: normal normal 500 36px/36px Montserrat, sans-serif;
  letter-spacing: 0.29px;
  color: #479ec7;
}

.apply-process__heading {
  margin: 0 0 24px;
  text-align: left;
  font: normal normal bold 48px/60px Montserrat, sans-serif;
  letter-spacing: 2.4px;
  color: #274760;
}

.apply-process__text {
  margin: 0;
  max-width: 420px;
  text-align: left;
  font: normal normal normal 16px/28px Montserrat, sans-serif;
  letter-spacing: 0.13px;
  color: #274760;
}

.apply-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 404px;
  height: 100%;
  padding: 48px 42px 48px 48px;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(39, 71, 96, 0.1);
}

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

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

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

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

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

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

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

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

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

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

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

.apply-step__body li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #274760;
}

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

/* ── ≤1600px ── */
@media (max-width: 1600px) {
  .apply-process__heading {
    font-size: 44px;
    line-height: 1.2;
    letter-spacing: 2px;
  }

  .apply-step {
    min-height: 404px;
    padding: 44px 36px 44px 40px;
  }
}

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

  .apply-process__eyebrow {
    font-size: 30px;
    line-height: 1.15;
  }

  .apply-process__heading {
    font-size: 40px;
    line-height: 1.2;
    letter-spacing: 1.8px;
  }

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

  .apply-step {
    min-height: 380px;
    padding: 40px 32px;
  }

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

/* ── ≤1200px — 2 columns; intro full width above cards ── */
@media (max-width: 1200px) {
  .apply-process__heading {
    font-size: 40px;
    line-height: 1.2;
    letter-spacing: 1.8px;
  }

  .apply-process__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 24px;
    justify-content: center;
    max-width: 1082px;
    margin: 0 auto;
  }

  .apply-process__intro-block,
  .apply-step,
  .apply-step--center,
  .apply-step--pair-start,
  .apply-step--pair-end {
    grid-column: auto;
  }

  .apply-process__intro-block {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 640px;
    padding-top: 0;
    margin: 0 0 12px;
  }

  .apply-step {
    min-height: 360px;
  }

  /* Intro is child 1. Odd step count → last child even → center it. */
  .apply-process__grid > .apply-step:last-child:nth-child(even) {
    grid-column: 1 / -1;
    max-width: 531px;
    justify-self: center;
  }
}

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

  .apply-process__eyebrow {
    font-size: 28px;
  }

  .apply-process__heading {
    font-size: 36px;
    letter-spacing: 1.5px;
  }

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

  .apply-process__intro-block {
    max-width: none;
  }

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

  .apply-step {
    min-height: 320px;
    padding: 36px 28px;
  }

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

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

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

  .apply-process__eyebrow {
    font-size: 28px;
    line-height: 1.2;
  }

  .apply-process__heading {
    font-size: 32px;
    line-height: 1.25;
    letter-spacing: 1.5px;
  }

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

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

  .apply-process__intro-block {
    margin-bottom: 0;
  }

  .apply-step {
    min-height: 0;
    height: auto;
    padding: 40px 32px 48px;
  }
}

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

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

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

  .apply-process__text {
    font-size: 15px;
    line-height: 1.55;
  }

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

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

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