/* Service detail pages (/services/<slug>), built by tools/site-fixes/service-page.ts.
   Layout follows wishboneadvisory.com/services/*, in NeuWrk colors and type. */
.svc-hero, .svc-process, .svc-work {
  --svc-blue: #0077ff;
  --svc-orange: #ff3c00;
  --svc-ink: #0a0a0a;
  font-family: Intertight, Arial, sans-serif;
}

/* Small label above headings, e.g. "SERVICE" */
.svc-eyebrow {
  display: block;
  margin: 0 0 20px; font-size: 13px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: #818181;
}

/* ---------- Hero: service image as background ---------- */
.svc-hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 82vh; display: flex; align-items: flex-end;
  padding: 160px 0 72px; color: #fff; background: var(--svc-ink);
}
.svc-hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; max-width: none; object-fit: cover;
}
.svc-hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.75) 50%, rgba(10, 10, 10, 0.35) 100%),
    linear-gradient(to right, rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0) 75%);
}
.svc-hero-inner { width: 100%; }
.svc-hero .svc-eyebrow { color: rgba(255, 255, 255, 0.75); }
.svc-title {
  margin: 0 0 24px; max-width: 14ch;
  font-size: clamp(44px, 7.5vw, 104px); font-weight: 600; line-height: 0.95; letter-spacing: -0.04em; color: #fff;
}
.svc-lead { max-width: 640px; }
.svc-lead p { margin: 0 0 12px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: rgba(255, 255, 255, 0.88); }
.svc-lead strong { color: #fff; font-weight: 600; }
.svc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.svc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; border-radius: 999px; font-size: 16px; font-weight: 500;
  text-decoration: none; transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.svc-btn-primary { background: var(--svc-blue); color: #fff; }
.svc-btn-primary:hover { background: #005fd1; }
.svc-btn-ghost { border: 1px solid rgba(255, 255, 255, 0.4); color: #fff; }
.svc-btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

/* ---------- Shared section heading ---------- */
.svc-process, .svc-work { padding: 120px 0; }
.svc-head { margin-bottom: 56px; }
.svc-h2 {
  margin: 0; max-width: 18ch;
  font-size: clamp(34px, 4.6vw, 64px); font-weight: 600; line-height: 1.02; letter-spacing: -0.035em;
}

/* ---------- How we work (dark) ---------- */
.svc-process { background: var(--svc-ink); color: #fff; }
.svc-process .svc-h2 { color: #fff; }
.svc-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin: 0; padding: 0; list-style: none;
}
.svc-step { padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.svc-step-num { display: block; margin-bottom: 40px; font-size: 14px; font-weight: 600; color: var(--svc-blue); letter-spacing: 0.06em; }
.svc-step-title { margin: 0 0 12px; font-size: 24px; font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; color: #fff; }
.svc-step-text { margin: 0; font-size: 16px; line-height: 1.55; color: #9f9f9f; }

/* ---------- The work (gallery) ---------- */
.svc-work { background: #fff; color: var(--svc-ink); }
.svc-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-shot { margin: 0; }
.svc-shot-img {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: 8px; background: #ececec;
}
.svc-shot figcaption { margin-top: 14px; font-size: 16px; font-weight: 500; color: var(--svc-ink); }
.svc-shot figcaption span { margin-right: 8px; color: var(--svc-blue); font-weight: 600; }

/* ---------- Two-column layout: heading left, content right ---------- */
.svc-included, .svc-deliverables, .svc-faq {
  --svc-blue: #0077ff; --svc-orange: #ff3c00; --svc-ink: #0a0a0a;
  font-family: Intertight, Arial, sans-serif;
  padding: 120px 0; background: #fff; color: var(--svc-ink);
}
.svc-included + .svc-process { margin-top: 0; }
.svc-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.svc-split .svc-head { margin-bottom: 0; position: sticky; top: 120px; }

/* What's included: checklist cards */
.svc-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
.svc-checklist li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 18px 20px; border: 1px solid #ececec; border-radius: 8px;
  font-size: 16px; line-height: 1.4; background: #fff;
}
.svc-check { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; color: var(--svc-blue); }

/* Deliverables: two-column list with dividers */
.svc-deliverables { background: #f4f4f4; }
.svc-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; margin: 0; padding: 0; list-style: none; }
.svc-list li {
  position: relative; padding: 20px 0 20px 24px; border-top: 1px solid #dcdcdc;
  font-size: 17px; line-height: 1.4;
}
.svc-list li::before {
  content: ""; position: absolute; left: 0; top: 28px;
  width: 8px; height: 8px; background: var(--svc-orange);
}

/* FAQ: accordion with <details> */
.svc-faq-list { border-bottom: 1px solid #ececec; }
.svc-q { border-top: 1px solid #ececec; }
.svc-q summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em;
}
.svc-q summary::-webkit-details-marker { display: none; }
.svc-q summary:hover { color: var(--svc-blue); }
.svc-q-icon { position: relative; flex: 0 0 16px; width: 16px; height: 16px; }
.svc-q-icon::before, .svc-q-icon::after {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: currentColor;
  transition: transform 0.25s ease;
}
.svc-q-icon::after { transform: rotate(90deg); }
.svc-q[open] .svc-q-icon::after { transform: rotate(0deg); }
.svc-q p { margin: 0; padding: 0 40px 24px 0; font-size: 17px; line-height: 1.6; color: #4a4a4a; }

/* ---------- Industries (built by industries.ts) ---------- */
.ind-challenge, .ind-list, .ind-more {
  --svc-blue: #0077ff; --svc-orange: #ff3c00; --svc-ink: #0a0a0a;
  font-family: Intertight, Arial, sans-serif; background: #fff; color: var(--svc-ink);
}
.ind-challenge, .ind-list { padding: 120px 0; }
.ind-texture { image-rendering: pixelated; }
/* Textures are abstract, so the hero needs less shade than a photo to keep text readable */
.ind-hero .svc-hero-shade {
  background:
    linear-gradient(to top, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.45) 45%, rgba(10, 10, 10, 0.05) 100%),
    linear-gradient(to right, rgba(10, 10, 10, 0.45), rgba(10, 10, 10, 0) 70%);
}
.ind-challenge-text {
  margin: 0; font-size: clamp(24px, 2.6vw, 36px); font-weight: 500; line-height: 1.25; letter-spacing: -0.02em;
}
/* How we help: 2 x 2 on the dark band */
.ind-help { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px; margin: 0; padding: 0; list-style: none; }
.ind-help-item { padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.ind-help-item .svc-step-num { margin-bottom: 24px; }
.ind-help-item .svc-step-title a { color: #fff; text-decoration: none; }
.ind-help-item .svc-step-title a:hover { color: var(--svc-blue); }
.ind-help-link { display: inline-block; margin-top: 16px; font-size: 15px; font-weight: 500; color: var(--svc-blue); text-decoration: none; }
.ind-help-link:hover { text-decoration: underline; }
/* Listing grid */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ind-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid #ececec; border-radius: 8px; color: var(--svc-ink); text-decoration: none; background: #fff;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.ind-card:hover { border-color: var(--svc-blue); transform: translateY(-4px); }
.ind-card-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.ind-card-body { display: flex; flex-direction: column; gap: 10px; padding: 24px; flex: 1; }
.ind-card-title { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.ind-card-text { font-size: 16px; line-height: 1.5; color: #4a4a4a; flex: 1; }
.ind-card-link { margin-top: 6px; font-size: 15px; font-weight: 500; color: var(--svc-blue); }
/* Other industries */
.ind-more { padding: 0 0 96px; }
.ind-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.ind-pill {
  padding: 10px 18px; border: 1px solid #dcdcdc; border-radius: 999px;
  font-size: 15px; color: var(--svc-ink); text-decoration: none; transition: all 0.2s ease;
}
.ind-pill:hover { border-color: var(--svc-blue); color: var(--svc-blue); }

/* ---------- Tablet and phone ---------- */
@media (max-width: 991px) {
  .svc-hero { min-height: 72vh; padding: 140px 0 56px; }
  .svc-process, .svc-work { padding: 88px 0; }
  .svc-steps { grid-template-columns: 1fr; gap: 0; }
  .svc-step { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; padding: 24px 0; }
  .svc-step-num { margin: 4px 0 0; grid-row: span 2; }
  .svc-gallery { grid-template-columns: 1fr 1fr; }
  .svc-included, .svc-deliverables, .svc-faq { padding: 88px 0; }
  .svc-split { grid-template-columns: 1fr; gap: 36px; }
  .svc-split .svc-head { position: static; }
  .ind-challenge, .ind-list { padding: 88px 0; }
  .ind-grid { grid-template-columns: 1fr 1fr; }
  .ind-help { grid-template-columns: 1fr; gap: 0; }
  .ind-help-item { padding: 24px 0; }
}
@media (max-width: 600px) {
  .svc-hero { min-height: 78vh; padding: 120px 0 40px; }
  .svc-process, .svc-work { padding: 72px 0; }
  .svc-head { margin-bottom: 36px; }
  .svc-gallery { grid-template-columns: 1fr; }
  .svc-actions .svc-btn { flex: 1 1 100%; }
  .svc-included, .svc-deliverables, .svc-faq { padding: 72px 0; }
  .svc-checklist, .svc-list { grid-template-columns: 1fr; }
  .svc-q summary { font-size: 18px; }
  .ind-challenge, .ind-list { padding: 72px 0; }
  .ind-grid { grid-template-columns: 1fr; }
  .ind-more { padding-bottom: 72px; }
}
