/* Services hub page (page-services.php) — new sections only.
   The service card grid reuses .savvy-services / .savvy-service-card from
   services-grid.css; this file styles hero, the 3-step "how we work", and the
   industries cross-link band. */

/* ① Photo banner (image only, no text — Wulf style) -----------------------
   The bg image + light gradient is set inline in page-services.php (theme URI).
   This rule sets the band height + cover behaviour. */
.savvy-services-banner {
  background-color: var(--surface-inverse);
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  height: clamp(220px, 32vw, 420px);
}

/* ① Intro band (title + copy on dark, below the photo — Wulf style) -------- */
.savvy-services-hero {
  background-color: var(--surface-inverse);
  color: var(--text-on-dark);
}
.savvy-services-hero__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-9) var(--container-padding);
  text-align: center;
}
.savvy-services-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw + 1rem, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
  margin: 0 0 var(--space-4);
}
.savvy-services-hero__sub {
  font-size: var(--fs-md);
  line-height: var(--lh-normal);
  color: var(--text-on-dark);
  opacity: 0.9;
  margin: 0 auto var(--space-3);
  max-width: 70ch;
}
.savvy-services-hero__sub:last-child {
  margin-bottom: 0;
}

/* ③ How we work — 3 numbered steps (light) -------------------------------- */
.savvy-services-steps {
  background: var(--surface-alt);
}
.savvy-services-steps__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-9) var(--container-padding);
}
.savvy-services-steps__inner h2 {
  font-size: var(--fs-2xl);
  margin: 0 0 var(--space-7);
}
.savvy-services-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-7);
}
.savvy-services-steps__item {
  border-top: 2px solid var(--text-default);
  padding-top: var(--space-4);
}
.savvy-services-steps__num {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  line-height: 1;
  color: var(--text-default);
  opacity: 0.3;
  display: block;
  margin-bottom: var(--space-3);
}
.savvy-services-steps__head {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin: 0 0 var(--space-2);
}
.savvy-services-steps__body {
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--text-muted);
  margin: 0;
}

/* ⑤ Industries cross-link (dark anchor) ----------------------------------- */
.savvy-services-industries {
  background: var(--surface-inverse);
  color: var(--text-on-dark);
}
.savvy-services-industries__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-8) var(--container-padding);
  text-align: center;
}
.savvy-services-industries__inner h2 {
  font-size: var(--fs-2xl);
  color: var(--text-on-dark);
  margin: 0 0 var(--space-3);
}
.savvy-services-industries__inner p {
  font-size: var(--fs-md);
  color: var(--text-on-dark);
  opacity: 0.85;
  margin: 0 auto var(--space-5);
  max-width: 60ch;
}
.savvy-services-industries__link {
  display: inline-block;
  font-weight: var(--fw-semibold);
  color: var(--text-on-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
.savvy-services-industries__link:hover {
  text-decoration-thickness: 2px;
}

@media (max-width: 820px) {
  .savvy-services-steps__list {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}


/* ── CTA override — services hub only ──────────────────────────────────────
   The shared .savvy-cta band is dark site-wide. On the services hub, Geet
   wants the final CTA to match the "How we work" light-grey band above it
   rather than reading as a hard black close. Scoped under .savvy-page--services
   so other pages keep the dark CTA. Buttons + text flipped to dark-on-light. */
.savvy-page--services .savvy-cta {
  background: var(--surface-alt);
  color: var(--ink);
}
.savvy-page--services .savvy-cta__copy h2,
.savvy-page--services .savvy-cta__copy p {
  color: var(--ink);
  opacity: 1;
}
.savvy-page--services .savvy-cta__copy p {
  color: var(--text-muted);
}
.savvy-page--services .savvy-cta__actions .btn--primary {
  background: var(--brand-primary);
  color: var(--text-on-dark);
  border-color: var(--brand-primary);
}
.savvy-page--services .savvy-cta__actions .btn--primary:hover {
  background: var(--ink);
}
.savvy-page--services .savvy-cta__actions .btn--secondary {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}
.savvy-page--services .savvy-cta__actions .btn--secondary:hover {
  background: var(--brand-primary);
  color: var(--text-on-dark);
}
