/* CIMJ — Services page-specific styles */

/* ── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-anim {
  animation: fadeUp 0.65s ease both;
  animation-delay: var(--anim-delay, 0s);
}
.anim-fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: var(--anim-delay, 0s);
}
.anim-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}


.clinical { padding: 80px 80px; }
.clinical-sub { font-size: 16px; color: var(--text-light); line-height: 1.7; margin-bottom: 56px; max-width: 680px; }
.roles-stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.role-card { background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--green); display: grid; grid-template-columns: 1fr; grid-template-rows: auto 1fr; overflow: hidden; border-radius: 8px; }
.role-card.rpn { border-top-color: var(--accent); }
.role-card.rn  { border-top-color: var(--blue); }
.role-left { padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.role-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 14px; border-radius: 20px; align-self: flex-start; margin-bottom: 16px; }
.role-badge.psw { background: rgba(44,110,73,0.1);  color: var(--green); }
.role-badge.rpn { background: rgba(196,123,62,0.1); color: var(--accent-text); }
.role-badge.rn  { background: rgba(74,111,165,0.1);  color: var(--blue); }
.role-title { font-family: var(--display); font-size: 24px; font-weight: 500; color: var(--green-dark); margin-bottom: 8px; }

.role-right { background: var(--surface); padding: 32px; display: grid; grid-template-columns: 1fr; gap: 12px; align-content: start; }
.role-item { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-light); line-height: 1.5; }
.role-check { color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

.mid-cta { text-align: center; margin-top: 48px; }
.mid-cta-sub { display: block; margin-top: 10px; font-size: 13px; color: var(--text-muted); }

.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; }
.section-header h2 { font-family: var(--display); font-size: 48px; font-weight: 400; color: var(--green-dark); line-height: 1.2; }
.view-all { font-size: 14px; font-weight: 600; color: var(--green); }
.view-all:hover { text-decoration: underline; }

.engagement { background: var(--surface); padding: 80px 80px; }
.engagement .section-h2 { margin-bottom: 0; }
.eng-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.eng-card { background: var(--bg); padding: 40px; }
.eng-number { line-height: 1; margin-bottom: 8px; }
.eng-number::before { content: attr(data-num); font-family: var(--display); font-size: 48px; color: rgba(44,110,73,0.15); display: block; }
.eng-title { font-family: var(--display); font-size: 24px; font-weight: 500; color: var(--green-dark); margin-bottom: 12px; }
.eng-body { font-size: 14px; line-height: 1.75; color: var(--text-light); }

.process { padding: 80px 80px; }
.process .section-h2 { margin-bottom: 56px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); }
.step { padding: 0 40px 0 0; position: relative; }
.step:not(:last-child)::after { content: ''; position: absolute; top: 24px; right: 0; width: 40px; height: 1px; background: var(--border); }
.step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 22px; margin-bottom: 20px; }
.step-title { font-family: var(--display); font-size: 22px; font-weight: 500; color: var(--green-dark); margin-bottom: 10px; }
.step-body { font-size: 14px; line-height: 1.7; color: var(--text-light); }

.value-adds { background: var(--green-dark); padding: 80px 80px; }
.value-adds .section-label { color: #7AB596; }
.value-adds .section-h2 { color: var(--bg); margin-bottom: 48px; }
.va-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.va-card { background: #253428; padding: 36px 32px; }
.va-icon { margin-bottom: 16px; }
.va-title { font-family: var(--display); font-size: 22px; font-weight: 500; color: var(--bg); margin-bottom: 10px; }
.va-body { font-size: 14px; line-height: 1.7; color: #9BB8A3; }

.who { padding: 80px 80px; }
.who .section-h2 { margin-bottom: 48px; }
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.who-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 32px 28px; text-align: center; }
.who-icon { margin-bottom: 16px; display: flex; justify-content: center; }
.who-title { font-family: var(--display); font-size: 20px; font-weight: 500; color: var(--green-dark); margin-bottom: 8px; }
.who-body { font-size: 13px; line-height: 1.7; color: var(--text-light); }

.cta-band { background: var(--green); padding: 80px 80px; display: flex; justify-content: space-between; align-items: center; gap: 60px; }
.cta-band h2 { font-family: var(--display); font-size: 48px; font-weight: 400; color: var(--bg); line-height: 1.2; max-width: 560px; }
.cta-band h2 em { font-style: italic; }
.cta-right { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; flex-shrink: 0; }
.cta-sub { font-size: 13px; color: rgba(255,255,255,0.85); text-align: right; }

/* ── RESPONSIVE — 1024 px ── */
@media (max-width: 1024px) {
  .clinical, .engagement, .process, .value-adds, .who, .cta-band { padding-left: 40px; padding-right: 40px; }
}

/* ── RESPONSIVE — 900 px ── */
@media (max-width: 900px) {
  .roles-stack { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .va-grid { grid-template-columns: repeat(2, 1fr); }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── RESPONSIVE — 640 px ── */
@media (max-width: 640px) {
  .clinical, .engagement, .process, .value-adds, .who, .cta-band { padding: 56px 24px; }
  .cta-band { flex-direction: column; text-align: center; }
  .cta-right { align-items: center; }
  .cta-sub { text-align: center; }
  .va-grid { grid-template-columns: 1fr; }
  .eng-grid, .who-grid, .steps { grid-template-columns: 1fr; }
  .step:not(:first-child) { margin-top: 40px; }

}

/* ── PRINT ── */
@media print {
.value-adds { background: #fff !important; border-top: 2px solid #2C6E49; padding: 40px 32px; }
  .value-adds .section-label { color: #2C6E49 !important; }
  .value-adds .section-h2 { color: #1E2D1F !important; }
  .va-card { background: #f4f7f5 !important; border: 1px solid #cdd9d2; }
  .va-title { color: #1E2D1F !important; }
  .va-body { color: #555 !important; }

  .cta-band { background: #fff !important; border-top: 2px solid #2C6E49; padding: 40px 32px; }
  .cta-band h2 { color: #1E2D1F !important; }
  .cta-sub { color: #555 !important; }
}
