/* ==========================================================================
   Service page template — shared by every internal service-detail page
   (Small Business Bookkeeping, and future pages: Outsourced Bookkeeping,
   QuickBooks Services, Cloud Bookkeeping, New Business Advisory, ...).

   Loaded after style.css. Page-specific bits (hero photo, split image url)
   belong in that page's own small stylesheet, not here — keep this file
   generic so new service pages can reuse it as-is.
   ========================================================================== */

/* ---------- Hero: white background, full-bleed photo with a soft WHITE
   transition (not the homepage's dark-green one) — spacious, premium,
   no card treatment around the photo. ---------- */
.hero--service {
  background: var(--white);
}
.hero--service .hero-content {
  background: none;
}
.hero--service .hero-text h1 {
  color: var(--ink);
  font-size: 1.9rem;
}
@media (max-width: 1024px) {
  .hero--service .hero-text h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
}
@media (max-width: 640px) {
  .hero--service .hero-text h1 { font-size: 1.6rem; }
}
.hero--service .hero-body { color: var(--ink-soft); }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--green-600); }
.breadcrumb span[aria-current] { color: var(--ink-soft); font-weight: 600; }

/* A service page's hero has no stats-bar after it, so the gap down to the
   next section's own top padding reads as too much empty space. */
.hero--service + .services { padding-top: 48px; }
.hero--service .hero-photo::before {
  background: linear-gradient(
    90deg,
    var(--white) 0%,
    rgba(255, 255, 255, 0.8) 8%,
    rgba(255, 255, 255, 0.4) 20%,
    rgba(255, 255, 255, 0) 38%
  );
}

/* ---------- Related-services links (real <a> tags for internal SEO) ---------- */
.related-services {
  margin-top: 40px;
  padding: 22px 28px;
  background: var(--green-tint);
  border-radius: var(--radius);
  text-align: center;
}
.related-services-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--green-800);
  margin-bottom: 8px;
}
.related-services-links {
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.related-services-links a {
  color: var(--green-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.related-services-links a:hover { color: var(--green-800); }

/* ---------- Split section: content one side, image the other ---------- */
.split-section {
  padding: 72px 0;
  background: var(--white);
}
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
/* Asymmetric variant — e.g. a narrower image column paired with a content
   column that needs more room (checklist + a cross-sell callout box).
   Placed before the mobile media query below so the 1-column stack always
   wins on small screens regardless of source order. */
.split-grid--40 {
  grid-template-columns: 2fr 3fr;
}
.split-content h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  margin: 10px 0 16px;
}
.split-content > p {
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.split-image {
  aspect-ratio: 3 / 2;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.checklist { display: flex; flex-direction: column; gap: 14px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
}
.checklist svg {
  width: 20px;
  height: 20px;
  color: var(--green-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Small callout box cross-selling a sibling page from inside split-content —
   e.g. Tax Preparation pointing to Tax Planning. Reusable wherever two
   pages in a sub-family should reference each other mid-content. */
.cross-sell {
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--green-tint);
  border-left: 3px solid var(--green-accent);
  border-radius: 8px;
}
.cross-sell h3 { font-size: 1rem; margin-bottom: 4px; }
.cross-sell p { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 10px; }
.cross-sell-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-700);
  font-weight: 700;
  font-size: 0.92rem;
}
.cross-sell-link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.cross-sell-link:hover { color: var(--green-800); }
.cross-sell-link:hover svg { transform: translateX(3px); }

@media (max-width: 900px) {
  .split-grid { grid-template-columns: 1fr; gap: 32px; }
  .split-section { padding: 56px 0; }
}

/* ---------- Benefits: a "why this approach" block, distinct from the
   services grid above it — tinted background, 4 lighter-weight items
   instead of full service cards. Reusable for any page that needs to
   sell an approach rather than list services (why outsource, why cloud,
   why QuickBooks with us, etc.). ---------- */
.benefits { padding: 72px 0; background: var(--green-tint); }

.benefits-intro {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.benefits-intro h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 14px; }
.benefits-intro p { color: var(--ink-soft); }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.benefit-item { text-align: center; }
.benefit-item .icon-wrap { margin: 0 auto 14px; background: var(--white); }
.benefit-item h3 { font-size: 1.02rem; margin-bottom: 6px; }
.benefit-item p { color: var(--ink-soft); font-size: 0.9rem; }

@media (max-width: 900px) {
  .benefits { padding: 56px 0; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 560px) {
  .benefits-grid { grid-template-columns: 1fr; }
}

/* ---------- Process steps: 4-across on desktop, stacked on mobile ---------- */
.process { padding: 72px 0; background: var(--gray-100); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 48px;
}
.process-steps::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--gray-200);
}

.process-step { position: relative; text-align: center; }
.process-number {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  position: relative;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.process-step p { color: var(--ink-soft); font-size: 0.92rem; }

@media (max-width: 900px) {
  .process-steps { grid-template-columns: 1fr; gap: 32px; }
  .process-steps::before { display: none; }
  .process { padding: 56px 0; }
}

/* ---------- Third-party trademark disclaimer — small, discreet, above the
   footer. Reusable wherever a page references a partner product by name. ---------- */
.trademark-disclaimer {
  padding: 24px 0;
  text-align: center;
}
.trademark-disclaimer p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.6;
}
