/* ================================================
   HOME PAGE — Extended styles
   V2 RCM Healthcare | Navy + Teal theme
   ================================================ */

h1, h2, h3 { font-family: var(--font-body); }

/* TRUST BAR */
.trust-bar { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; }
.trust-bar-inner { width: min(1200px,calc(100% - 32px)); margin: 0 auto; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.trust-label { margin: 0; color: var(--muted); font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.trust-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border: 1px solid var(--line); border-radius: 100px; background: var(--surface-soft); color: var(--navy); font-size: 0.8rem; font-weight: 700; }
.trust-badge svg { width: 14px; height: 14px; color: var(--teal); flex-shrink: 0; }

/* STATS STRIP */
.stats-strip { background: var(--navy); color: #fff; padding: 52px 0; }
.stats-inner { width: min(1200px,calc(100% - 32px)); margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 0; align-items: center; }
.stat-item { text-align: center; padding: 0 28px; }
.stat-item strong { display: block; font-family: var(--font-body); font-size: clamp(2.2rem,4vw,3.4rem); font-weight: 800; color: #6ee8db; line-height: 1; margin-bottom: 8px; }
.stat-item span { color: rgba(255,255,255,0.65); font-size: 0.86rem; font-weight: 500; line-height: 1.5; }
.stat-divider { width: 1px; height: 56px; background: rgba(255,255,255,0.1); }

/* PROCESS STEPS */
.process-steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 0; align-items: start; margin-top: 8px; }
.process-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 22px; box-shadow: var(--shadow-card); transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s; }
.process-step:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: rgba(27,189,168,0.32); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--navy); color: #6ee8db; border-radius: var(--radius); font-size: 0.88rem; font-weight: 800; margin-bottom: 14px; }
.step-body h3 { margin: 0 0 8px; font-size: 1rem; font-weight: 700; }
.step-body p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.65; }
.process-connector { margin-top: 56px; height: 2px; width: 28px; background: linear-gradient(90deg, var(--teal) 0%, rgba(27,189,168,0.2) 100%); align-self: flex-start; position: relative; }
.process-connector::after { content: ""; position: absolute; right: -5px; top: -4px; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 7px solid rgba(27,189,168,0.5); }

/* WHO WE SERVE */
.who-section { background: var(--surface-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.who-card { padding: 26px; transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s; }
.who-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: rgba(27,189,168,0.3); }
.who-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: var(--radius); background: rgba(27,189,168,0.1); color: var(--teal-dark); margin-bottom: 16px; }
.who-icon svg { width: 26px; height: 26px; }
.who-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 7px; }
.who-list li { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; font-weight: 600; color: var(--ink-soft); }
.who-list li::before { content: ""; width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: var(--teal); }

/* DIFFERENTIATORS */
.differentiators-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.diff-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-card); transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s; }
.diff-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: rgba(27,189,168,0.28); }
.diff-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius); margin-bottom: 14px; }
.diff-icon.diff-navy, .diff-navy { background: var(--navy); }
.diff-icon.diff-teal, .diff-teal { background: var(--teal-dark); }
.diff-icon.diff-blue, .diff-blue { background: #1565a8; }
.diff-icon.diff-amber, .diff-amber { background: var(--teal); }
.diff-card h3 { margin: 0 0 8px; font-size: 1rem; font-weight: 700; line-height: 1.3; }
.diff-card p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

/* TESTIMONIALS */
.testimonials-section { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 8px; }
.testimonial-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-soft); display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-card); transition: box-shadow 0.2s, transform 0.2s; }
.testimonial-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.stars { color: var(--teal); font-size: 1.05rem; letter-spacing: 2px; }
.testimonial-card blockquote { margin: 0; flex: 1; }
.testimonial-card blockquote p { margin: 0; color: #2d3d4e; font-size: 0.94rem; line-height: 1.75; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.author-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #6ee8db; font-size: 0.76rem; font-weight: 800; flex-shrink: 0; }
.testimonial-author strong { display: block; font-size: 0.88rem; color: var(--navy); }
.testimonial-author span { font-size: 0.78rem; color: var(--muted); }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: minmax(260px,0.52fr) minmax(0,1fr); gap: clamp(28px,5vw,72px); align-items: start; }
.faq-head h2 { margin: 0; font-size: clamp(1.7rem,3.2vw,2.6rem); line-height: 1.1; letter-spacing: -0.02em; }
.faq-head p { margin: 14px 0 0; color: var(--muted); line-height: 1.7; }
.faq-list { display: grid; gap: 8px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: var(--shadow-card); transition: border-color 0.2s; }
.faq-item[open] { border-color: rgba(27,189,168,0.4); }
.faq-item summary { padding: 17px 20px; font-weight: 700; font-size: 0.95rem; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--navy); user-select: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; font-weight: 400; color: var(--teal); flex-shrink: 0; transition: transform 0.2s; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0; padding: 0 20px 18px; color: var(--muted); font-size: 0.9rem; line-height: 1.75; border-top: 1px solid var(--line); padding-top: 14px; }

/* CTA SECTION */
.cta-section { background: linear-gradient(135deg, #040d1a 0%, #0c1e40 45%, #041418 100%); color: #fff; padding: clamp(52px,8vw,96px) 0; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(27,189,168,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(27,189,168,0.05) 1px, transparent 1px); background-size: 56px 56px; pointer-events: none; }
.cta-section::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(27,189,168,0.4), transparent); }
.cta-inner { width: min(1200px,calc(100% - 32px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,0.72fr); gap: clamp(36px,5vw,72px); align-items: start; position: relative; z-index: 1; }
.cta-content h2 { margin: 10px 0 0; font-size: clamp(1.9rem,3.8vw,3rem); line-height: 1.06; letter-spacing: -0.02em; }
.cta-content p { margin: 16px 0 0; color: rgba(255,255,255,0.72); font-size: 1rem; line-height: 1.8; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-checklist { background: rgba(27,189,168,0.07); border: 1px solid rgba(27,189,168,0.22); border-radius: var(--radius-lg); padding: 26px; backdrop-filter: blur(12px); }
.cta-checklist h3 { margin: 0 0 18px; font-size: 1rem; color: rgba(255,255,255,0.9); font-weight: 700; }
.cta-checklist ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cta-checklist li { display: flex; align-items: flex-start; gap: 12px; color: rgba(255,255,255,0.76); font-size: 0.9rem; line-height: 1.6; }
.cta-check { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(27,189,168,0.28); color: #6ee8db; font-size: 0.72rem; flex-shrink: 0; margin-top: 1px; }

/* RESPONSIVE */
@media (max-width: 1040px) {
  .differentiators-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .testimonials-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stat-divider { display: none; }
  .process-steps { grid-template-columns: 1fr; gap: 12px; }
  .process-connector { width: 2px; height: 18px; margin: 0 0 0 38px; background: linear-gradient(180deg, var(--teal) 0%, rgba(27,189,168,0.2) 100%); }
  .process-connector::after { right: -4px; top: auto; bottom: -5px; border-top: 7px solid rgba(27,189,168,0.5); border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: none; }
  .faq-layout { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .trust-bar-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .differentiators-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .trust-badges { gap: 6px; }
  .trust-badge { font-size: 0.74rem; padding: 5px 9px; }
  .stats-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-actions { flex-direction: column; }
  .btn-ghost { width: 100%; }
}


/* RESPONSIVE additional */
@media (max-width: 820px) {
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .process-steps { grid-template-columns: 1fr; }
  .process-connector { display: none; }
  .faq-layout { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .differentiators-grid { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
}
