/* ---------------- Scrollytelling services ---------------- */
.services {
  position: relative;
  height: 440vh;
  background: #fbf3ec;
}

.services-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}

.services-sticky::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.13;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.service-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1s var(--ease), transform 1.4s var(--ease);
}

.service-bg.is-active {
  opacity: 1;
  transform: scale(1);
}

.service-bg::before,
.service-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
}

.bg--1 {
  background: linear-gradient(135deg, #fdf6f0 0%, #fcecdf 46%, #f7e5ea 100%);
}

.bg--1::before {
  width: 58vw;
  height: 58vw;
  right: -14vw;
  top: -22vw;
  background: radial-gradient(circle, #ffd0b2 0%, rgba(255, 208, 178, 0) 66%);
}

.bg--1::after {
  width: 46vw;
  height: 46vw;
  left: -14vw;
  bottom: -22vw;
  background: radial-gradient(circle, #f5c4dc 0%, rgba(245, 196, 220, 0) 66%);
}

.bg--2 {
  background: linear-gradient(135deg, #f2faf6 0%, #e5f6ef 50%, #f8f7ed 100%);
}

.bg--2::before {
  width: 54vw;
  height: 54vw;
  left: -12vw;
  top: -18vw;
  background: radial-gradient(circle, #b8ecdb 0%, rgba(184, 236, 219, 0) 66%);
}

.bg--2::after {
  width: 44vw;
  height: 44vw;
  right: -10vw;
  bottom: -18vw;
  background: radial-gradient(circle, #d8edc2 0%, rgba(216, 237, 194, 0) 66%);
}

.bg--3 {
  background: linear-gradient(135deg, #f2f3fe 0%, #e8ebff 52%, #f6effb 100%);
}

.bg--3::before {
  width: 56vw;
  height: 56vw;
  right: -12vw;
  top: -20vw;
  background: radial-gradient(circle, #c3c1ff 0%, rgba(195, 193, 255, 0) 66%);
}

.bg--3::after {
  width: 44vw;
  height: 44vw;
  left: -12vw;
  bottom: -18vw;
  background: radial-gradient(circle, #bcd8ff 0%, rgba(188, 216, 255, 0) 66%);
}

.bg--4 {
  background: linear-gradient(135deg, #fdf4f7 0%, #f8eaf2 50%, #f1eefa 100%);
}

.bg--4::before {
  width: 54vw;
  height: 54vw;
  left: -12vw;
  top: -18vw;
  background: radial-gradient(circle, #f7c3d8 0%, rgba(247, 195, 216, 0) 66%);
}

.bg--4::after {
  width: 46vw;
  height: 46vw;
  right: -12vw;
  bottom: -18vw;
  background: radial-gradient(circle, #d3c8f5 0%, rgba(211, 200, 245, 0) 66%);
}

/* ---------------- Slides ---------------- */
.service-slides {
  position: absolute;
  inset: 0;
}

.service-slide {
  position: absolute;
  inset: 0;
  z-index: 2;
  max-width: 1290px;
  margin: 0 auto;
  padding: 96px 48px 72px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 54px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease),
    visibility 0.75s;
}

.service-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.service-copy {
  max-width: 470px;
}

.service-copy > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.service-slide.is-active .service-copy > * {
  opacity: 1;
  transform: none;
}

.service-slide.is-active .service-copy > *:nth-child(1) {
  transition-delay: 0.15s;
}

.service-slide.is-active .service-copy > *:nth-child(2) {
  transition-delay: 0.21s;
}

.service-slide.is-active .service-copy > *:nth-child(3) {
  transition-delay: 0.27s;
}

.service-slide.is-active .service-copy > *:nth-child(4) {
  transition-delay: 0.33s;
}

.service-slide.is-active .service-copy > *:nth-child(5) {
  transition-delay: 0.4s;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.service-tag i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--teal));
}

.service-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 26px rgba(70, 48, 80, 0.09);
  color: var(--ink);
  flex-shrink: 0;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-copy h2 {
  font-size: clamp(34px, 3.9vw, 56px);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.service-copy p {
  margin-top: 22px;
  max-width: 430px;
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: 0.01em;
  color: rgba(23, 23, 29, 0.58);
}

.service-copy .btn {
  margin-top: 30px;
}

/* ---------------- Mockup shell ---------------- */
.service-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 600px;
  justify-self: center;
  width: 100%;
}

.visual-badge {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(66, 46, 78, 0.13);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  animation: badgeFloat 6.5s ease-in-out infinite alternate;
}

.visual-badge i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #46cba0;
}

.visual-badge--a {
  top: -6px;
  right: 8px;
}

.visual-badge--b {
  bottom: -12px;
  left: -18px;
}

.visual-badge--c {
  top: 14px;
  left: -20px;
}

.visual-badge--d {
  bottom: -6px;
  right: 18px;
}

@keyframes badgeFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-8px);
  }
}

.mockup {
  position: relative;
  width: 100%;
  height: min(600px, calc(100svh - 186px));
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 40px 100px rgba(73, 48, 78, 0.17), 0 2px 10px rgba(73, 48, 78, 0.05);
  backdrop-filter: blur(24px) saturate(1.1);
  -webkit-backdrop-filter: blur(24px) saturate(1.1);
  overflow: hidden;
  opacity: 0;
  transform: translateY(34px) scale(0.97);
  transition: opacity 0.9s 0.15s var(--ease), transform 1s 0.15s var(--ease);
}

.service-slide.is-active .mockup {
  opacity: 1;
  transform: none;
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 46px;
  padding: 0 20px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(23, 23, 29, 0.06);
  background: rgba(255, 255, 255, 0.5);
  font-size: 10.5px;
  color: var(--muted);
}

.mockup-dots {
  display: flex;
  gap: 5px;
}

.mockup-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(23, 23, 29, 0.14);
}

.mockup-title {
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

.mockup-badge {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(23, 23, 29, 0.05);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: rgba(23, 23, 29, 0.46);
}

/* ---------------- Chat mockup ---------------- */
.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(23, 23, 29, 0.06);
  flex-shrink: 0;
}

.chat-head .favatar {
  width: 42px;
  height: 42px;
  font-size: 15px;
}

.chat-doc {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.chat-doc strong {
  font-size: 13.5px;
  font-weight: 600;
}

.chat-doc em {
  font-style: normal;
  font-size: 10.5px;
  color: var(--muted);
}

.chat-online {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(70, 203, 160, 0.12);
  color: #2b9a76;
  font-size: 9.5px;
  letter-spacing: 0.06em;
}

.chat-body {
  flex: 1;
  min-height: 0;
  padding: 18px 22px 14px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  overflow: hidden;
  background: linear-gradient(180deg, #fbfafd 0%, #fff 80%);
}

.chat-time {
  align-self: center;
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: rgba(23, 23, 29, 0.32);
}

.msg {
  max-width: 80%;
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 11.5px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.msg--user {
  align-self: flex-end;
  background: #1b1b23;
  color: rgba(255, 255, 255, 0.9);
  border-bottom-right-radius: 4px;
  box-shadow: 0 8px 18px rgba(27, 27, 35, 0.14);
}

.msg--doc {
  align-self: flex-start;
  display: flex;
  gap: 8px;
  max-width: 88%;
  padding: 0;
  background: none;
  color: var(--ink-soft);
}

.msg--doc > div {
  padding: 10px 13px;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  background: #f2f1f6;
}

.msg-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(140deg, #9a8dff, #74cdc3);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
}

.msg-card {
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid rgba(119, 107, 255, 0.16);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(60, 50, 110, 0.07);
}

.msg-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  flex-shrink: 0;
  background: #eef0ff;
  color: #6d5cff;
  font-size: 11px;
  font-weight: 600;
}

.msg-card div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.msg-card strong {
  font-size: 10.5px;
  font-weight: 600;
}

.msg-card em {
  font-style: normal;
  font-size: 9px;
  color: var(--muted);
}

.msg-card-link {
  margin-left: auto;
  font-size: 9.5px;
  color: #6d5cff;
}

.chat-safety {
  margin-top: auto;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(23, 23, 29, 0.035);
  font-size: 8.5px;
  letter-spacing: 0.03em;
  color: rgba(23, 23, 29, 0.34);
}

.chat-safety span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #43cfc1;
}

.chat-input {
  flex-shrink: 0;
  margin: 12px 22px 20px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px 0 16px;
  border-radius: 999px;
  background: #f4f3f8;
  font-size: 10.5px;
  color: rgba(23, 23, 29, 0.38);
}

.chat-input i {
  display: inline-flex;
  align-items: center;
  height: 33px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.06em;
}

/* ---------------- Prescription mockup ---------------- */
.rx-paper {
  flex: 1;
  min-height: 0;
  margin: 16px 18px 18px;
  padding: 22px 24px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(23, 23, 29, 0.06);
  box-shadow: inset 0 1px 0 #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.rx-paper::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, #8f7bff, #6ad3c2 55%, #f4b7a0);
  opacity: 0.75;
}

.rx-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.rx-head h4 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.rx-head span {
  display: block;
  margin-top: 5px;
  font-size: 9.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.rx-type {
  padding: 5px 11px;
  border-radius: 999px;
  background: #e9f8f2;
  color: #2d9b7b;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.rx-patient {
  margin-top: 14px;
  padding: 9px 13px;
  border-radius: 9px;
  background: #f7f8fa;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 9.5px;
  color: var(--muted);
}

.rx-meds {
  margin-top: 12px;
}

.rx-meds li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(23, 23, 29, 0.1);
}

.rx-med-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex-shrink: 0;
  background: #efeaff;
  color: #6d5cff;
  font-size: 10px;
  font-weight: 700;
}

.rx-med-icon--teal {
  background: #e3f8f3;
  color: #279c82;
}

.rx-med-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.rx-med-info strong {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.rx-med-info em {
  font-style: normal;
  font-size: 9px;
  color: var(--muted);
}

.rx-qty {
  margin-left: auto;
  font-size: 9.5px;
  color: var(--muted);
  flex-shrink: 0;
}

.rx-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.rx-sign {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.rx-sign span {
  font-size: 8.5px;
  letter-spacing: 0.1em;
  color: rgba(23, 23, 29, 0.34);
}

.rx-sign strong {
  font-size: 12px;
  font-weight: 600;
}

.rx-sign em {
  font-style: normal;
  font-size: 8.5px;
  color: var(--muted);
}

.rx-qr {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  width: 48px;
  height: 48px;
  padding: 4px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid rgba(23, 23, 29, 0.1);
  margin-left: auto;
}

.rx-qr i {
  background: #22222a;
  border-radius: 1px;
}

.rx-qr i:nth-child(2),
.rx-qr i:nth-child(4),
.rx-qr i:nth-child(8) {
  background: transparent;
}

.rx-seal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1.5px solid rgba(214, 86, 96, 0.5);
  color: rgba(200, 72, 84, 0.72);
  font-size: 7.5px;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.02em;
  transform: rotate(-11deg);
  flex-shrink: 0;
}

.rx-advice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 13px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #f7f9f5;
  border: 1px solid rgba(23, 23, 29, 0.05);
}

.rx-advice span {
  flex-shrink: 0;
  margin-top: 1px;
  padding: 2px 7px;
  border-radius: 4px;
  background: #e7f6f0;
  color: #2d9b7b;
  font-size: 8.5px;
  letter-spacing: 0.08em;
}

.rx-advice p {
  font-size: 9px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.rx-delivery-note {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(23, 23, 29, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 9px;
  color: var(--muted);
}

.rx-delivery-note b {
  font-weight: 600;
  color: #2f8f77;
}

/* ---------------- Report mockup ---------------- */
.mockup--report {
  padding: 22px 24px 20px;
  gap: 13px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92), rgba(249, 248, 255, 0.86));
}

.report-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.report-head h4 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.report-head span {
  display: block;
  margin-top: 5px;
  font-size: 9.5px;
  color: var(--muted);
}

.report-tag {
  padding: 5px 11px;
  border-radius: 999px;
  background: #efeaff;
  color: #6d5cff;
  font-size: 9.5px;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.file-chip {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(23, 23, 29, 0.07);
  box-shadow: 0 6px 16px rgba(60, 50, 110, 0.05);
}

.file-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 40px;
  border-radius: 7px;
  background: #fff0f1;
  color: #d8576a;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.file-chip div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.file-chip strong {
  font-size: 10.5px;
  font-weight: 600;
}

.file-chip em {
  font-style: normal;
  font-size: 9px;
  color: var(--muted);
}

.file-ok {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e7f7f0;
  color: #2d9b7b;
  font-size: 10px;
  flex-shrink: 0;
}

.ai-note {
  padding: 13px 15px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f3f0ff, #eef8ff);
  border: 1px solid rgba(119, 107, 255, 0.16);
}

.ai-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #6d5cff;
  font-size: 8.5px;
  letter-spacing: 0.08em;
}

.ai-note p {
  margin-top: 7px;
  font-size: 10px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.ai-note b {
  font-weight: 600;
  color: #6d5cff;
}

.report-chart {
  margin-top: 2px;
}

.chart-axis {
  display: block;
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.report-chart svg {
  width: 100%;
  height: 84px;
  margin-top: 4px;
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: rgba(23, 23, 29, 0.32);
  letter-spacing: 0.04em;
}

.report-actions {
  margin-top: auto;
  display: flex;
  gap: 9px;
}

.mini-pill {
  display: inline-flex;
  align-items: center;
  height: 29px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(23, 23, 29, 0.12);
  background: #fff;
  font-size: 9.5px;
  color: var(--ink-soft);
}

.mini-pill--dark {
  margin-left: auto;
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* ---------------- Chronic care mockup ---------------- */
.mockup--care {
  padding: 22px 24px 20px;
  gap: 14px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.94), rgba(244, 251, 248, 0.9));
}

.care-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.care-head h4 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.care-head span {
  display: block;
  margin-top: 5px;
  font-size: 9.5px;
  color: var(--muted);
}

.care-status {
  padding: 5px 11px;
  border-radius: 999px;
  background: #e7f7ef;
  color: #2b9a76;
  font-size: 9.5px;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.care-top {
  display: flex;
  align-items: center;
  gap: 20px;
}

.bp-ring {
  position: relative;
  width: 136px;
  height: 136px;
  border-radius: 50%;
  flex-shrink: 0;
  background: conic-gradient(from 210deg, #43cfc1 0deg, #7f9dff 226deg, rgba(23, 23, 29, 0.07) 226deg 360deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bp-ring::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(23, 23, 29, 0.04);
}

.bp-ring > span {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.bp-ring strong {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.bp-ring strong em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.bp-ring small {
  font-size: 8px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.care-stats {
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.care-stats div {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(240, 249, 245, 0.85);
  border: 1px solid rgba(67, 207, 193, 0.14);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.care-stats strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.care-stats em {
  font-style: normal;
  font-size: 9px;
  color: var(--muted);
}

.care-chart .chart-axis {
  font-size: 9px;
}

.care-chart svg {
  width: 100%;
  height: 66px;
  margin-top: 4px;
}

.care-tasks {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.care-tasks li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(23, 23, 29, 0.05);
  font-size: 9.5px;
  color: var(--ink-soft);
}

.care-tasks em {
  margin-left: auto;
  font-style: normal;
  font-size: 8.5px;
  color: var(--muted);
}

.task-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ddf5ec;
  color: #2b9a76;
  font-size: 9px;
  flex-shrink: 0;
}

.task-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(23, 23, 29, 0.18);
  flex-shrink: 0;
}

/* ---------------- Progress ---------------- */
.service-progress {
  position: absolute;
  bottom: 30px;
  right: 48px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 16px;
}

.service-count {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-variant-numeric: tabular-nums;
}

.service-count b {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.service-count i {
  font-style: normal;
  font-size: 9.5px;
  color: var(--muted);
}

.service-bars {
  display: flex;
  align-items: center;
  gap: 5px;
}

.service-bars i {
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: rgba(23, 23, 29, 0.14);
  transition: width 0.6s var(--ease), background 0.6s var(--ease);
}

.service-bars i.is-active {
  width: 46px;
  background: var(--ink);
}

@media (max-width: 1180px) {
  .service-slide {
    padding: 92px 36px 66px;
    gap: 32px;
    grid-template-columns: 0.9fr 1.1fr;
  }

  .service-copy h2 {
    font-size: clamp(32px, 4.1vw, 46px);
  }

  .service-copy p {
    font-size: 14px;
  }

  .mockup {
    height: min(560px, calc(100svh - 176px));
  }

  .visual-badge--b {
    left: -6px;
  }

  .visual-badge--c {
    left: -4px;
  }

  .service-progress {
    right: 34px;
    bottom: 24px;
  }
}

/* ---------------- Mobile: natural flow ---------------- */
@media (max-width: 900px) {
  .services {
    height: auto;
  }

  .services-sticky {
    position: relative;
    height: auto;
    overflow: visible;
  }

  .services-sticky::after {
    display: none;
  }

  .service-bg {
    display: none;
  }

  .service-slides {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
  }

  .service-slide,
  .service-slide:not(.is-active) {
    position: relative;
    inset: auto;
    max-width: none;
    min-height: 100svh;
    padding: 100px 24px 64px;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 34px;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .service-slide:nth-child(1) {
    background: linear-gradient(160deg, #fdf6f0, #fbe8e6 60%, #f8e7ee);
  }

  .service-slide:nth-child(2) {
    background: linear-gradient(160deg, #f2faf6, #e5f6ef 60%, #f5f6e9);
  }

  .service-slide:nth-child(3) {
    background: linear-gradient(160deg, #f2f3fe, #e8ebff 60%, #f5effa);
  }

  .service-slide:nth-child(4) {
    background: linear-gradient(160deg, #fdf4f7, #f8eaf2 60%, #f0edf9);
  }

  .service-copy {
    max-width: none;
  }

  .service-copy > *,
  .service-slide:not(.is-active) .service-copy > * {
    opacity: 1;
    transform: none;
  }

  .service-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  .service-head {
    gap: 12px;
    margin-bottom: 16px;
  }

  .service-copy h2 {
    font-size: clamp(33px, 9vw, 44px);
  }

  .service-copy p {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.9;
    max-width: none;
  }

  .service-copy .btn {
    margin-top: 22px;
    height: 44px;
  }

  .service-visual {
    max-width: none;
  }

  .mockup {
    height: 470px;
    border-radius: 22px;
  }

  .mockup--chat {
    height: 584px;
  }

  .chat-body {
    padding: 14px 16px 12px;
    gap: 8px;
  }

  .mockup--chat .msg {
    max-width: 82%;
    font-size: 11px;
    line-height: 1.65;
  }

  .service-slide.is-active .mockup,
  .service-slide .mockup {
    opacity: 1;
    transform: none;
  }

  .visual-badge {
    display: none;
  }

  .msg-card-link,
  .rx-delivery-note,
  .report-actions {
    display: none;
  }

  .service-progress {
    display: none;
  }
}

@media (max-width: 380px) {
  .mockup {
    height: 440px;
  }

  .care-top {
    gap: 12px;
  }

  .bp-ring {
    width: 116px;
    height: 116px;
  }
}
