/* Care CTA — base 1920px, scales via media queries */

.care-cta {
  width: 100%;
  max-width: var(--syncare-design-width, 1920px);
  margin: 0 auto;
  padding: 273px var(--syncare-section-padding, 150px) 80px;
  background: #ffffff;
  box-sizing: border-box;
}

.care-cta__wrapper {
  /*
   * Fill the section content box (padding already applied on .care-cta).
   * Do not use --syncare-content-width here — that calc is for unpadded
   * shells (header). Why Syncare flex content already spans this full area.
   */
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.care-cta__box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 452px;
  margin: 0;
  padding: 0 60px;
  border-radius: 40px;
  background: linear-gradient(180deg, #b8daf4 0%, #7ec0e4 100%);
  box-shadow: 0 16px 36px rgba(39, 71, 96, 0.1);
  overflow: visible;
  box-sizing: border-box;
}

.care-cta__content {
  position: relative;
  z-index: 1;
  width: 811px;
  max-width: 100%;
  flex-shrink: 0;
}

.care-cta__heading {
  margin: 0 0 28px;
  text-align: left;
  font: normal normal bold 60px/72px Montserrat, sans-serif;
  letter-spacing: 3px;
  color: #ffffff;
}

.care-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.care-cta__actions .cta-btn,
.care-cta__actions .cta-btn--nurse,
.care-cta__actions .cta-btn--partner {
  text-align: center;
  font: normal normal normal 18px/22px Montserrat, sans-serif;
  letter-spacing: 0.14px;
  color: #ffffff;
}

.care-cta__media {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-70%);
  z-index: 2;
  line-height: 0;
}

.care-cta__media img {
  display: block;
  width: 544px;
  height: 614px;
  max-width: none;
  border-radius: 40px;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(39, 71, 96, 0.2);
}

/* ── ≤1600px ── */
@media (max-width: 1600px) {
  .care-cta {
    padding-top: 228px;
  }

  .care-cta__heading {
    font-size: 44px;
    line-height: 1.2;
    letter-spacing: 2px;
  }
}

/* ── ≤1440px — match design: overlapping image + compact box ── */
@media (max-width: 1440px) {
  .care-cta {
    padding-top: 220px;
    padding-bottom: 64px;
  }

  .care-cta__box {
    height: 340px;
    padding: 0 48px;
    border-radius: 36px;
  }

  .care-cta__content {
    width: 620px;
    max-width: calc(100% - 420px);
  }

  .care-cta__heading {
    margin-bottom: 24px;
    font-size: 44px;
    line-height: 1.2;
    letter-spacing: 2px;
  }

  .care-cta__media {
    right: 28px;
    top: 50%;
    transform: translateY(-68%);
  }

  .care-cta__media img {
    width: 408px;
    height: 460px;
    border-radius: 36px;
  }
}

/* ── ≤1200px ── */
@media (max-width: 1200px) {
  .care-cta {
    padding-top: 170px;
  }

  .care-cta__box {
    height: 360px;
    padding: 0 36px;
  }

  .care-cta__content {
    width: 560px;
  }

  .care-cta__heading {
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: 1.5px;
  }

  .care-cta__media {
    right: 16px;
  }

  .care-cta__media img {
    width: 380px;
    height: 430px;
  }
}

/* ── 1024px only — compact side-by-side ── */
@media (min-width: 1024px) and (max-width: 1024px) {
  .care-cta {
    padding-top: 146px;
    padding-bottom: 56px;
  }

  .care-cta__box {
    height: 320px;
    padding: 0 32px;
    border-radius: 32px;
  }

  .care-cta__content {
    width: 520px;
  }

  .care-cta__heading {
    font-size: 28px;
    line-height: 1.25;
    letter-spacing: 1px;
    margin-bottom: 20px;
  }

  .care-cta__actions .cta-btn {
    font-size: 16px;
    line-height: 20px;
  }

  .care-cta__media {
    right: 16px;
  }

  .care-cta__media img {
    width: 340px;
    height: 384px;
  }
}

/* ── ≤991px — stack content + image ── */
@media (max-width: 991px) {
  .care-cta {
    padding-top: 162px;
    padding-bottom: 56px;
  }

  .care-cta__box {
    height: auto;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 40px 32px 0;
    overflow: visible;
  }

  .care-cta__content {
    width: 100%;
    max-width: 100%;
    padding-bottom: 28px;
  }

  .care-cta__media {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin: 0 auto;
  }

  .care-cta__media img {
    width: min(544px, 100%);
    height: auto;
    aspect-ratio: 544 / 614;
    border-radius: 28px;
  }
}

/* ── ≤900px ── */
@media (max-width: 900px) {
  .care-cta {
    padding-top: 78px;
    padding-bottom: 56px;
  }

  .care-cta__box {
    padding: 36px 24px 0;
  }

  .care-cta__heading {
    font-size: 28px;
    line-height: 1.25;
    letter-spacing: 1px;
  }

  .care-cta__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .care-cta__actions .cta-btn {
    flex: none;
    width: 100%;
  }
}

/* ── ≤575px ── */
@media (max-width: 575px) {
  .care-cta {
    padding-top: 52px;
    padding-bottom: 40px;
  }

  .care-cta__box {
    padding: 28px 16px 0;
    border-radius: 24px;
  }

  .care-cta__heading {
    font-size: 22px;
    line-height: 1.3;
    letter-spacing: 0.3px;
    margin-bottom: 20px;
  }

  .care-cta__actions {
    flex-direction: column;
    gap: 10px;
  }

  .care-cta__actions .cta-btn {
    width: 100%;
    flex: none;
  }

  .care-cta__media img {
    border-radius: 24px;
    box-shadow: 0 12px 28px rgba(39, 71, 96, 0.15);
  }
}

/* ── ≤480px ── */
@media (max-width: 480px) {
  .care-cta__heading {
    font-size: 20px;
  }
}
