/* IMPULSE HEALTHCARE — subpage styles
   Uses tokens from programs.css (--impulse-blue, --impulse-blue-deep, --impulse-blue-soft).
   Only this page carries the blue theme; other pages stay on Bayes's neutral palette. */

.hc-main { padding-top: 72px; background: var(--bg); }

/* HERO */
.hc-hero {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: clamp(56px, 8vw, 96px) 24px;
  gap: 18px;
  background:
    radial-gradient(ellipse at top, rgba(122, 190, 204, 0.18), transparent 70%),
    var(--bg);
  border-bottom: 1px solid rgba(122, 190, 204, 0.18);
}
.hc-hero .p-pill { align-self: center; }
.hc-hero-logo { height: clamp(40px, 5.5vw, 72px); width: auto; max-width: 90vw; margin: 6px 0 4px; }
.hc-hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.35;
  color: var(--impulse-blue-deep);
  font-style: italic;
  max-width: 760px;
  text-wrap: balance;
}
.hc-hero-sub {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.65;
  color: rgba(0,0,0,0.65);
  max-width: 620px;
}
.hc-hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
.hc-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 100px;
  font-size: 14px; font-weight: 600;
  transition: transform 0.2s ease, background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.hc-btn-primary { background: var(--impulse-blue-deep); color: white; }
.hc-btn-primary:hover {
  background: #1f5764;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 20px rgba(42, 110, 126, 0.20);
}
.hc-btn-ghost { color: var(--impulse-blue-deep); border: 1px solid rgba(42, 110, 126, 0.3); }
.hc-btn-ghost:hover {
  background: var(--impulse-blue-soft);
  border-color: var(--impulse-blue-deep);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 16px rgba(42, 110, 126, 0.10);
}

/* STATS */
.hc-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 1100px; margin: 0 auto;
  padding: 64px 40px;
  gap: 24px;
}
.hc-stat {
  background: white;
  border: 1px solid rgba(122, 190, 204, 0.22);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
}
.hc-stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 3.5vw, 52px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  color: var(--impulse-blue-deep);
}
.hc-stat-label {
  font-size: 12px; line-height: 1.5;
  color: rgba(0,0,0,0.65);
  margin-top: 10px;
}

/* SECTION TITLES (shared) */
.hc-section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 32px);
  text-transform: uppercase; letter-spacing: -0.025em;
  line-height: 1.1;
  text-align: center;
  margin-bottom: 40px;
}

/* VALUE PROPOSITION */
.hc-value { padding: 64px 40px; max-width: 1100px; margin: 0 auto; }
.hc-value-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.hc-value-item {
  background: white;
  border-left: 3px solid var(--impulse-blue);
  border-radius: 0 14px 14px 0;
  padding: 26px 28px;
}
.hc-value-name {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.02em;
  margin-bottom: 8px;
  color: var(--impulse-blue-deep);
}
.hc-value-desc {
  font-size: 14px; line-height: 1.7;
  color: rgba(0,0,0,0.75);
}

/* TIMELINE */
.hc-timeline { padding: 64px 40px; max-width: 1100px; margin: 0 auto; }
.hc-tl-track {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.hc-tl-track::before {
  content: '';
  position: absolute;
  top: 12px;
  left: calc(100% / 8);
  right: calc(100% / 8);
  height: 2px;
  background: var(--impulse-blue);
  opacity: 0.4;
}
.hc-tl-phase {
  position: relative;
  padding: 0 18px;
  text-align: center;
}
.hc-tl-phase::before {
  content: '';
  display: block;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--impulse-blue-deep);
  border: 4px solid var(--bg);
  margin: 0 auto 16px;
  position: relative; z-index: 1;
}
.hc-tl-period {
  font-family: var(--font-display);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--impulse-blue-deep);
  margin-bottom: 6px;
}
.hc-tl-name {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.hc-tl-desc {
  font-size: 13px; line-height: 1.6;
  color: rgba(0,0,0,0.7);
}

/* PARTNERS — reuses .p-partners-row from programs.css */
.hc-partners-section { padding: 64px 40px; max-width: 1100px; margin: 0 auto; }
.hc-partners-section .p-partners-row { border-top: none; padding-top: 0; margin-top: 0; }

/* FAQ */
.hc-faq { padding: 64px 40px; max-width: 800px; margin: 0 auto; }
.hc-faq-list { display: flex; flex-direction: column; gap: 8px; }
.hc-faq-item {
  background: white;
  border: 1px solid rgba(122, 190, 204, 0.22);
  border-radius: 12px;
  padding: 18px 22px;
  transition: border-color 0.2s;
}
.hc-faq-item[open] { border-color: var(--impulse-blue); }
.hc-faq-q {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  color: var(--ink);
}
.hc-faq-q::-webkit-details-marker { display: none; }
.hc-faq-q::after {
  content: '+';
  font-size: 22px; font-weight: 400;
  color: var(--impulse-blue-deep);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.hc-faq-item[open] .hc-faq-q::after { content: '−'; }
.hc-faq-a {
  font-family: var(--font-body);
  font-size: 14px; line-height: 1.75;
  color: rgba(0,0,0,0.78);
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(122, 190, 204, 0.18);
}

/* CONTACT */
.hc-contact { padding: 64px 40px; max-width: 720px; margin: 0 auto; }
.hc-contact-card {
  background: var(--impulse-blue-soft);
  border-radius: 24px;
  padding: clamp(40px, 5vw, 56px) clamp(24px, 4vw, 48px);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.hc-contact-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  text-transform: uppercase; letter-spacing: -0.02em;
  color: var(--impulse-blue-deep);
}
.hc-contact-sub {
  font-size: 14px; line-height: 1.6;
  color: rgba(0,0,0,0.7);
  max-width: 480px;
}
.hc-contact-card .p-impulse-form { margin-top: 6px; }
.hc-contact-meta {
  font-size: 12.5px;
  color: rgba(0,0,0,0.55);
  margin-top: 8px;
}
.hc-contact-meta a {
  color: var(--impulse-blue-deep);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

/* BACK LINK */
.hc-back { padding: 32px 40px 64px; text-align: center; }
.hc-back-link {
  font-size: 13px; color: rgba(0,0,0,0.55);
  border-bottom: 1px solid rgba(0,0,0,0.2);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.hc-back-link:hover { color: var(--ink); border-color: var(--ink); }

/* MOBILE */
@media (max-width: 900px) {
  .hc-hero { padding: 48px 20px; gap: 14px; }
  .hc-stats { grid-template-columns: 1fr 1fr; padding: 48px 20px; gap: 14px; }
  .hc-value { padding: 48px 20px; }
  .hc-value-grid { grid-template-columns: 1fr; }
  .hc-timeline { padding: 48px 20px; }
  .hc-tl-track { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .hc-tl-track::before { display: none; }
  .hc-partners-section { padding: 48px 20px; }
  .hc-faq { padding: 48px 20px; }
  .hc-contact { padding: 48px 20px; }
  .hc-back { padding: 24px 20px 56px; }
}
