/* Healthcare App — 07 Process */

@keyframes cw-hc-proc-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cw-healthcare-process {
  background: #141210;
  color: #f3efe7;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.cw-healthcare-process__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) clamp(20px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.cw-healthcare-process__intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 24px;
  align-items: end;
}

.cw-healthcare-process__eyebrow {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #d4f53c;
}

.cw-healthcare-process__title {
  margin: 12px 0 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.cw-healthcare-process__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #d4f53c;
}

.cw-healthcare-process__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(243, 239, 231, 0.7);
  max-width: 480px;
}

.cw-healthcare-process__track-wrap {
  position: relative;
}

.cw-healthcare-process__track {
  position: absolute;
  left: 0;
  right: 0;
  top: 21px;
  height: 2px;
  background: rgba(243, 239, 231, 0.12);
  pointer-events: none;
  box-sizing: border-box;
}

.cw-healthcare-process__track-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #e0431c, #d4f53c);
  transition: width 0.5s ease;
}

.cw-healthcare-process__steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  position: relative;
}

.cw-healthcare-process__step {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  text-align: left;
  font: inherit;
  min-width: 0;
}

.cw-healthcare-process__step:focus-visible {
  outline: 2px solid #d4f53c;
  outline-offset: 4px;
  border-radius: 4px;
}

.cw-healthcare-process__badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #141210;
  color: #f3efe7;
  border: 2px solid rgba(243, 239, 231, 0.3);
  display: grid;
  place-items: center;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  flex-shrink: 0;
}

.cw-healthcare-process__step.is-past .cw-healthcare-process__badge {
  background: #ff5527;
  color: #141210;
  border-color: #ff5527;
}

.cw-healthcare-process__step.is-active .cw-healthcare-process__badge {
  background: #d4f53c;
  color: #141210;
  border-color: #d4f53c;
}

.cw-healthcare-process__step-title {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(12px, 1.3vw, 16px);
  line-height: 1.2;
  color: rgba(243, 239, 231, 0.55);
  transition: color 0.3s ease;
}

.cw-healthcare-process__step.is-active .cw-healthcare-process__step-title {
  color: #f3efe7;
}

.cw-healthcare-process__detail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
  border: 1px solid rgba(243, 239, 231, 0.14);
  border-radius: 28px;
  padding: clamp(22px, 3vw, 36px);
}

.cw-healthcare-process__detail.is-animating {
  animation: cw-hc-proc-in 0.4s ease both;
}

.cw-healthcare-process__detail-kicker {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #ff5527;
}

.cw-healthcare-process__detail-title {
  margin: 10px 0 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(34px, 4.4vw, 60px);
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.cw-healthcare-process__detail-desc {
  margin: 0;
  align-self: end;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(243, 239, 231, 0.8);
}

@media (max-width: 900px) {
  .cw-healthcare-process__steps {
    grid-template-columns: repeat(6, minmax(108px, 1fr));
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
}
