/* ===========================================================================
   ZENTRA TALENT SOLUTIONS — HOMEPAGE COMPONENTS (Sprint 2)
   Loaded ONLY on index.html, after tokens/base/style. Every rule in this
   file is a NEW selector — nothing here edits or overrides a Sprint 1
   selector, so about.html / services.html / for-employers.html /
   contact.html render exactly as approved in Sprint 1.
   =========================================================================== */

/* -------------------------------------------------------------------
   1. Premium hero — two-column, abstract network graphic instead of
   stock photography (see build notes: avoids generic handshake/stock
   imagery entirely rather than sourcing a "less generic" photo).
   ------------------------------------------------------------------- */
.hero-premium {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: var(--space-8);
}
.hero-premium h1 { margin-bottom: var(--space-5); }
.hero-network { display: flex; align-items: center; justify-content: center; }
.hero-network svg { width: 100%; max-width: 440px; height: auto; }

/* -------------------------------------------------------------------
   2. Trust strip — five qualitative indicators (no numeric claims that
   would need independent verification, per audit findings).
   ------------------------------------------------------------------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-5);
  padding: var(--space-7) 0;
}
.trust-item { text-align: center; }
.trust-item .trust-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto var(--space-4);
  border-radius: var(--radius-full);
  background: var(--color-accent-100);
  color: var(--color-accent-600);
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-item .trust-icon .icon { width: 22px; height: 22px; }
.trust-item p {
  font-size: 14px;
  font-weight: var(--weight-semibold);
  color: var(--text-heading);
  line-height: var(--leading-snug);
}

/* -------------------------------------------------------------------
   3. Employer challenges — problem paired with Zentra's response,
   framed like a consulting diagnostic rather than a marketing list.
   ------------------------------------------------------------------- */
.challenge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.challenge-card {
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}
.challenge-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-caption);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-error-700);
  margin-bottom: var(--space-3);
}
.challenge-tag .icon { width: 14px; height: 14px; }
.challenge-card h3 { font-size: 17px; margin-bottom: var(--space-3); }
.challenge-divider {
  border: none;
  border-top: 1px dashed var(--border-default);
  margin: var(--space-4) 0;
}
.challenge-solution {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  font-size: var(--text-body);
  color: var(--text-body);
}
.challenge-solution .icon { width: 17px; height: 17px; color: var(--color-accent-500); flex-shrink: 0; margin-top: 2px; }
.challenge-solution strong { color: var(--text-heading); }

/* -------------------------------------------------------------------
   4. Recruitment process — horizontal 5-step timeline
   ------------------------------------------------------------------- */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border-default);
  z-index: 0;
}
.timeline-step { position: relative; z-index: 1; text-align: center; }
.timeline-num {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background: var(--color-accent-600);
  color: #fff;
  font-family: var(--font-head);
  font-weight: var(--weight-bold);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  box-shadow: 0 0 0 6px var(--bg-page);
}
.timeline-step h3 { font-size: 15px; margin-bottom: var(--space-2); }
.timeline-step p { font-size: var(--text-small); color: var(--text-muted); }

/* -------------------------------------------------------------------
   5. Reinforcement band — "Why Companies Choose Zentra". Deliberately
   a compact dark checklist band rather than another card grid, so it
   reads as a distinct closing reinforcement, not a repeat of the
   "Why Zentra" section above it.
   ------------------------------------------------------------------- */
.reinforce-band { background: var(--bg-dark); color: #fff; padding: var(--space-8) 0; }
.reinforce-band h2 { color: #fff; }
.reinforce-band .section-head p { color: var(--text-on-dark-muted); }
.reinforce-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6) var(--space-8); margin-top: var(--space-6); }
.reinforce-grid .check-list li { background: rgba(255, 255, 255, 0.06); color: #fff; }
.reinforce-grid .check-list .icon { color: var(--color-accent-300); }

/* -------------------------------------------------------------------
   6. FAQ accordion
   ------------------------------------------------------------------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-default); }
.faq-item:first-child { border-top: 1px solid var(--border-default); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  background: transparent;
  border: none;
  text-align: left;
  padding: var(--space-5) var(--space-2);
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 16.5px;
  font-weight: var(--weight-semibold);
  color: var(--text-heading);
}
.faq-question .icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-accent-600);
  transition: transform var(--duration-base) var(--ease-standard);
}
.faq-item[data-open="true"] .faq-question .icon { transform: rotate(180deg); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--duration-slow) var(--ease-standard);
}
.faq-item[data-open="true"] .faq-answer { max-height: 320px; }
.faq-answer p { padding: 0 var(--space-2) var(--space-5); font-size: var(--text-body); color: var(--text-body); max-width: 66ch; }

@media (prefers-reduced-motion: reduce) {
  .faq-answer, .faq-question .icon { transition: none; }
}

/* -------------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-premium { grid-template-columns: 1fr; }
  .hero-network { order: -1; max-width: 280px; margin: 0 auto var(--space-4); }
  .trust-strip { grid-template-columns: repeat(3, 1fr); }
  .challenge-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(5, 1fr); }
  .reinforce-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .challenge-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: var(--space-6); text-align: left; }
  .timeline::before { display: none; }
  .timeline-step { display: flex; gap: var(--space-4); text-align: left; align-items: flex-start; }
  .timeline-num { margin: 0; flex-shrink: 0; }
  .faq-question { font-size: 15.5px; }
}
