/* ===== HealSpace Recommends teaser (links to /recommends/) ===== */
function RecommendsCTA() {
  const steps = [
    ['compass', 'var(--hs-coral)', 'Counseling'],
    ['messages-square', 'var(--hs-sprout-deep)', 'Psychotherapy'],
    ['stethoscope', 'var(--hs-sky)', 'Psychiatric Consultation'],
  ];
  return (
    <Section id="recommends" style={{ padding: '36px 0 20px' }}>
      <div className="hs-rec-grid" style={{ position: 'relative', overflow: 'hidden', background: 'var(--hs-gold-soft)', borderRadius: 'var(--r-xl)', padding: '44px 48px', display: 'grid', gridTemplateColumns: '1.3fr .7fr', gap: 36, alignItems: 'center' }}>
        <Confetti items={[
          { type: 'sq', x: '93%', y: 20, c: 'var(--hs-sky)', r: 12 },
          { type: 'dot', x: '3%', y: '85%', c: 'var(--hs-sprout)', s: 10 },
        ]} />
        <div style={{ position: 'relative', zIndex: 1 }}>
          <Eyebrow>HealSpace Recommends</Eyebrow>
          <h2 style={{ fontFamily: 'var(--font-display)', fontWeight: 700, fontSize: 'clamp(26px,3vw,36px)', color: 'var(--hs-teal)', margin: '12px 0 12px', lineHeight: 1.15 }}>Not sure which service fits?</h2>
          <p style={{ fontFamily: 'var(--font-body)', fontSize: 17, lineHeight: 1.6, color: 'var(--hs-ink-2)', margin: '0 0 22px', maxWidth: 520 }}>
            Answer a few private questions and we’ll suggest the best first step, for you or someone you care about. About 3 minutes. Nothing is saved.
          </p>
          <a href="/recommends/" style={{
            fontFamily: 'var(--font-display)', fontWeight: 600, fontSize: 15, borderRadius: 'var(--r-pill)',
            display: 'inline-flex', alignItems: 'center', gap: 9, padding: '13px 26px', textDecoration: 'none',
            background: 'var(--hs-sky)', color: '#fff', boxShadow: 'var(--shadow-sky)',
          }}><Icon name="compass" size={18} />Find the right care</a>
        </div>
        <div style={{ position: 'relative', zIndex: 1, display: 'flex', flexDirection: 'column', gap: 10 }}>
          {steps.map(([ic, c, t]) => (
            <div key={t} style={{ display: 'flex', alignItems: 'center', gap: 12, background: '#fff', borderRadius: 'var(--r-md)', padding: '12px 16px', boxShadow: 'var(--shadow-sm)' }}>
              <div style={{ width: 34, height: 34, flex: '0 0 auto', borderRadius: 'var(--r-sm)', background: c, display: 'flex', alignItems: 'center', justifyContent: 'center' }}><Icon name={ic} size={18} color="#fff" /></div>
              <span style={{ fontFamily: 'var(--font-display)', fontWeight: 600, fontSize: 15, color: 'var(--hs-teal)' }}>{t}</span>
            </div>
          ))}
        </div>
      </div>
    </Section>
  );
}
Object.assign(window, { RecommendsCTA });
