/* ================================================================
   who-we-serve.css
   Page-specific styles for the Who We Serve view.
   All base variables, nav, footer, cursor, reveal, section-label,
   section-title, page-hero, tabs-section, tab-btn, tab-panel,
   tab-hero, tab-icon-large, tab-ring, services-grid, service-card,
   stats-strip, checklist, niche-callout, link-arrow, btn-primary,
   btn-large, cta-section are already in style.css — not repeated here.
   ================================================================ */

/* ── Hero video overlay ── */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-hero-content { position: relative; z-index: 2; }

/* ── Hub Intro Section ── */
.hub-intro { background: var(--off-white); }
.hub-inner { gap: 80px; align-items: start; }
.hub-body { font-size: 16px; font-weight: 400; color: var(--grey-600); line-height: 1.85; margin-top: 20px; }
.hub-body p { margin-bottom: 16px; }
.hub-body p:last-child { margin-bottom: 0; }

/* ── Pain / challenge section ── */
.pain-section { background: var(--off-white); padding: 80px 56px; }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--grey-100);
  margin-top: 52px;
}
.pain-card {
  background: var(--off-white);
  padding: 40px 36px;
  cursor: default;
  transition: background 0.3s ease;
  position: relative;
}
.pain-card::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.pain-card:hover { background: var(--white); }
.pain-card:hover::before { transform: scaleX(1); }
.pain-quote {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 600; font-style: italic;
  color: var(--black); line-height: 1.4;
  margin-bottom: 14px;
  border-left: 3px solid var(--red);
  padding-left: 16px;
}
.pain-answer { font-size: 15px; color: var(--grey-400); line-height: 1.7; }

/* ── Solutions section ── */
.solutions-section { background: var(--white); padding: 80px 56px; }
.solutions-body { font-size: 16px; color: var(--grey-600); line-height: 1.85; margin-top: 20px; }
.solutions-body p { margin-bottom: 16px; }
.solutions-body p:last-child { margin-bottom: 0; }
.solutions-body strong { color: var(--black); }

/* ── Resource card title (used inside pain-cards for pros tab) ── */
.resource-title { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--black); margin-bottom: 8px; letter-spacing: -0.01em; }

/* ── Deal stages (Investors tab) ── */
.deal-stages { display: flex; flex-direction: column; gap: 1px; background: var(--grey-100); margin-top: 52px; }
.deal-stage {
  background: var(--white);
  padding: 32px 36px;
  display: grid; grid-template-columns: 200px 1fr;
  gap: 32px; align-items: start;
  cursor: default; transition: background 0.3s ease;
  border-left: 2px solid transparent;
}
.deal-stage:hover { background: var(--off-white); border-left-color: var(--blue); }
.deal-stage-label { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--blue); letter-spacing: -0.01em; }
.deal-stage-body  { font-size: 15px; color: var(--grey-400); line-height: 1.7; }

/* ── Tab closing CTA (NGO tab) ── */
.tab-cta {
  background: var(--off-white);
  padding: 72px 56px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; border-top: 1px solid var(--grey-100);
}
.tab-cta-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(22px, 2.5vw, 34px);
  letter-spacing: -0.03em; color: var(--black); line-height: 1.2;
}
.tab-cta-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

/* ================================================================
   RESPONSIVE OVERRIDES
   ================================================================ */

/* ── Tablet (≤ 1024px) ── */
@media (max-width: 1024px) {
  .pain-section      { padding: 80px 32px; }
  .solutions-section { padding: 80px 32px; }
  .tab-cta           { padding: 56px 32px; }

  .pain-grid         { grid-template-columns: 1fr 1fr; }
  .deal-stage        { grid-template-columns: 120px 1fr; gap: 20px; }

  .pain-section > div[style],
  .solutions-section > div[style] { grid-template-columns: 1fr !important; gap: 40px !important; }

  .tab-cta           { flex-direction: column; gap: 24px; }
}

/* ── Mobile (≤ 768px) ── */
@media (max-width: 768px) {
  .pain-section      { padding: 56px 20px; }
  .solutions-section { padding: 56px 20px; }

  .pain-grid         { grid-template-columns: 1fr; }
  .pain-card         { padding: 28px 20px; }
  .pain-quote        { font-size: 16px; }
  .pain-answer       { font-size: 14px; }

  .deal-stage        { grid-template-columns: 1fr; gap: 6px; padding: 24px 20px; }
  .deal-stage-label  { font-size: 14px; }
  .deal-stage-body   { font-size: 14px; }

  .tab-cta           { flex-direction: column; padding: 48px 20px; gap: 24px; }
  .tab-cta-title     { font-size: clamp(18px, 5vw, 26px); }
  .tab-cta-actions   { flex-direction: column; width: 100%; }
  .tab-cta-actions .btn-primary { width: 100%; justify-content: center; }

  .pain-section > div[style],
  .solutions-section > div[style] { grid-template-columns: 1fr !important; gap: 32px !important; }
}

/* ── Small mobile (≤ 480px) ── */
@media (max-width: 480px) {
  .pain-section      { padding: 48px 16px; }
  .solutions-section { padding: 48px 16px; }
  .tab-cta           { padding: 40px 16px; }
}

/* ── Touch devices — remove stuck hover states ── */
@media (hover: none) {
  .pain-card:hover   { background: inherit; }
  .pain-card:hover::before { transform: scaleX(0); }
  .deal-stage:hover  { background: var(--white); border-left-color: transparent; }
}
