/* Healthcare App — 03 Solutions */

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

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

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

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

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

.cw-healthcare-solutions__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-solutions__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #1f6fa8;
}

.cw-healthcare-solutions__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #3a3530;
  max-width: 480px;
}

.cw-healthcare-solutions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 18px;
  align-items: start;
}

.cw-healthcare-solutions__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #d8d0c2;
}

.cw-healthcare-solutions__row {
  border: 0;
  border-bottom: 1px solid #d8d0c2;
  background: transparent;
  color: #141210;
  text-align: left;
  padding: 18px 16px;
  cursor: pointer;
  display: flex;
  gap: 14px;
  align-items: center;
  transition: background 0.2s ease, color 0.2s ease;
  font-family: inherit;
  width: 100%;
}

.cw-healthcare-solutions__row.is-active {
  background: #141210;
  color: #f3efe7;
}

.cw-healthcare-solutions__row-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cw-hc-sol-dot, #6ec6ff);
  flex: none;
}

.cw-healthcare-solutions__row-no {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  opacity: 0.7;
  flex: none;
}

.cw-healthcare-solutions__row-title {
  flex: 1;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  text-align: left;
}

.cw-healthcare-solutions__row-arrow {
  flex: none;
  transition: transform 0.25s ease;
  transform: rotate(-45deg);
}

.cw-healthcare-solutions__row.is-active .cw-healthcare-solutions__row-arrow {
  transform: rotate(0deg);
}

.cw-healthcare-solutions__panel {
  position: sticky;
  top: 90px;
  background: #141210;
  color: #f3efe7;
  border-radius: 28px;
  padding: clamp(22px, 3vw, 32px);
  min-height: 440px;
  box-sizing: border-box;
}

.cw-healthcare-solutions__panel-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: cw-hc-sol-in 0.35s ease both;
}

.cw-healthcare-solutions__panel-inner.is-animating {
  animation: cw-hc-sol-in 0.35s ease both;
}

.cw-healthcare-solutions__panel-kicker {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--cw-hc-sol-accent, #7cf5c8);
}

.cw-healthcare-solutions__panel-title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 2.8vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.cw-healthcare-solutions__panel-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(243, 239, 231, 0.75);
}

.cw-healthcare-solutions__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cw-healthcare-solutions__tag {
  border: 1px solid rgba(243, 239, 231, 0.2);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 12.5px;
}

.cw-healthcare-solutions__cta {
  align-self: flex-start;
  border: 0;
  background: var(--cw-hc-sol-accent, #6ec6ff);
  color: #06324f;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease;
  margin-top: auto;
}

.cw-healthcare-solutions__cta:hover,
.cw-healthcare-solutions__cta:focus-visible {
  background: #fff;
  color: #141210;
}

@media (max-width: 900px) {
  .cw-healthcare-solutions__panel {
    position: relative;
    top: auto;
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cw-healthcare-solutions__panel-inner,
  .cw-healthcare-solutions__panel-inner.is-animating {
    animation: none;
  }

  .cw-healthcare-solutions__row-arrow {
    transition: none;
  }
}
