/* =============================================================
   STRATEGIC BOOKKEEPING PAGE — Giesler-Tran Bookkeeping
   File: assets/css/strategic-bookkeeping.css
   Builds on the theme's existing --lb-* design tokens. Nothing
   here redeclares :root — it only adds what this page needs.
   ============================================================= */

/* -------------------------------------------------------------
   0. Shared helpers
   ------------------------------------------------------------- */
.sb-pill {
  font-size: .8rem;
  font-weight: 600;
  color: var(--lb-ink);
  background: var(--lb-bg);
  border: 1px solid var(--lb-line);
  border-radius: 999px;
  padding: .4rem .85rem;
  display: inline-block;
}

.sb-img-frame {
  position: relative;
  overflow: hidden;
  background: var(--lb-accent-soft);
  border: 1px solid var(--lb-line);
}

.sb-img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

.sb-img-frame--portrait { aspect-ratio: 4 / 5; border-radius: var(--lb-radius); z-index: 1; }
.sb-img-frame--card { aspect-ratio: 8 / 5; border-radius: 12px; }
.sb-img-frame--wide { aspect-ratio: 16 / 8; border-radius: 12px; }

.sb-img-frame--auto { aspect-ratio: auto; border-radius: 12px; height: auto; }
.sb-img-frame--auto img { height: auto; object-fit: contain; }

/* -------------------------------------------------------------
   1. HERO
   ------------------------------------------------------------- */
.sb-hero-media {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
}

.sb-hero-media__blob {
  position: absolute;
  top: -10%;
  right: -12%;
  width: 85%;
  height: 85%;
  background: var(--lb-primary);
  opacity: .16;
  border-radius: 46% 54% 52% 48% / 44% 48% 52% 56%;
  z-index: 0;
}

.sb-hero-media__badge {
  position: absolute;
  left: -8%;
  bottom: -6%;
  z-index: 2;
  background: var(--lb-surface);
  border: 1px solid var(--lb-line);
  border-radius: 12px;
  padding: .7rem 1rem;
  box-shadow: 0 12px 28px rgba(35, 43, 34, .12);
  display: flex;
  flex-direction: column;
  gap: .15rem;
  max-width: 210px;
}

.sb-hero-media__badge-stars { color: var(--lb-primary-dark); font-size: .85rem; letter-spacing: .05em; }
.sb-hero-media__badge-text { font-size: .74rem; color: var(--lb-muted); font-weight: 600; }

@media (max-width: 991px) {
  .sb-hero-media { max-width: 340px; margin-top: 2rem; }
  .sb-hero-media__badge { left: 4%; bottom: -8%; }
}

/* -------------------------------------------------------------
   2. SECTION 1 — Will be / Will not be + Industries
   ------------------------------------------------------------- */
.sb-standard-card {
  background: var(--lb-surface);
  border: 1px solid var(--lb-line);
  border-radius: var(--lb-radius);
  padding: 2rem;
  height: 100%;
}

.sb-standard-card h3 { font-size: 1.05rem; margin-bottom: 1.1rem; }

.sb-standard-card--negative { border-color: rgba(198, 80, 61, .3); }

.sb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.sb-list li { display: flex; align-items: flex-start; gap: .65rem; font-size: .9rem; }
.sb-list li strong { color: var(--lb-ink); }
.sb-list li span { color: var(--lb-muted); }

.sb-list svg { flex-shrink: 0; width: 19px; height: 19px; margin-top: .1rem; }
.sb-list--positive svg { color: var(--lb-primary-dark); }
.sb-list--negative svg { color: var(--lb-danger); }

.sb-serve-card {
  background: var(--lb-surface);
  border: 1px solid var(--lb-line);
  border-radius: var(--lb-radius);
  padding: 1.75rem;
  height: 100%;
}

.sb-serve-card__ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--lb-accent-soft);
  color: var(--lb-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: .6rem;
  left: .6rem;
  z-index: 1;
  box-shadow: 0 6px 16px rgba(35, 43, 34, .15);
}

.sb-serve-card__ic svg { width: 24px; height: 24px; }

.sb-pill-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }

/* -------------------------------------------------------------
   3. SECTION 2 — Three-step system + deliverables + pricing
   ------------------------------------------------------------- */
.sb-step-row {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  margin-bottom: 0;
}

.sb-step-row + .sb-step-row { margin-top: 2rem; }

.sb-step-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.sb-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lb-accent-soft);
  color: var(--lb-accent);
  font-family: var(--lb-font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sb-step-line {
  width: 2px;
  flex: 1;
  background: repeating-linear-gradient(to bottom, var(--lb-line) 0, var(--lb-line) 4px, transparent 4px, transparent 9px);
  margin: .4rem 0;
  min-height: 32px;
}

.sb-step-body {
  background: var(--lb-surface);
  border: 1px solid var(--lb-line);
  border-radius: var(--lb-radius);
  padding: 1.5rem 1.75rem;
  flex: 1;
}

.sb-step-body h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.sb-step-body p { font-size: .9rem; color: var(--lb-muted); margin-bottom: 0; }

.sb-deliverable-card {
  background: var(--lb-surface);
  border: 1px solid var(--lb-line);
  border-radius: var(--lb-radius);
  padding: 1.75rem;
  height: 100%;
}

.sb-deliverable-card h3 { font-size: 1rem; margin-bottom: 1.1rem; }

.sb-price-card {
  background: var(--lb-accent-soft);
  border: 1px solid var(--lb-primary);
  border-radius: var(--lb-radius);
  padding: 1.75rem;
  height: 100%;
}

.sb-price-card h3 { font-size: 1rem; margin-bottom: 1.1rem; color: var(--lb-accent); }

.sb-price-card .sb-list svg { color: var(--lb-accent); }

/* -------------------------------------------------------------
   4. SECTION 3 — Process timeline + FAQ + closing band
   ------------------------------------------------------------- */
.sb-timeline {
  position: relative;
  padding-left: 2.5rem;
}

.sb-timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--lb-line);
}

.sb-timeline-step {
  position: relative;
  padding-bottom: 2rem;
}

.sb-timeline-step:last-child { padding-bottom: 0; }

.sb-timeline-step__dot {
  position: absolute;
  left: -2.5rem;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--lb-primary);
  color: #fff;
  font-family: var(--lb-font-heading);
  font-weight: 700;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sb-timeline-step h3 { font-size: 1rem; margin-bottom: .35rem; }
.sb-timeline-step p { font-size: .88rem; color: var(--lb-muted); margin-bottom: 0; }

.sb-faq .accordion-item {
  background: var(--lb-surface);
  border: 1px solid var(--lb-line);
  border-radius: 12px !important;
  overflow: hidden;
  margin-bottom: .85rem;
}

.sb-faq .accordion-button {
  font-family: var(--lb-font-heading);
  font-weight: 600;
  font-size: .98rem;
  color: var(--lb-ink);
  background: var(--lb-surface);
  padding: 1.1rem 1.35rem;
  box-shadow: none;
}

.sb-faq .accordion-button:not(.collapsed) {
  background: var(--lb-accent-soft);
  color: var(--lb-accent);
}

.sb-faq .accordion-button:focus { box-shadow: 0 0 0 2px var(--lb-primary); }
.sb-faq .accordion-button::after { filter: none; background-size: 1.1rem; }

.sb-faq .accordion-body {
  font-size: .9rem;
  color: var(--lb-muted);
  padding: 0 1.35rem 1.25rem;
  line-height: 1.6;
}

.sb-final-band {
  background: var(--lb-ink);
  color: #F3F2ED;
  border-radius: var(--lb-radius);
  padding: 3rem clamp(1.25rem, 4vw, 3rem);
  text-align: center;
}

.sb-final-band h2 { color: #FFFFFF; }

.sb-final-band .sb-lede {
  color: #C9CFC3;
  max-width: 560px;
  margin: 0 auto 1.5rem;
}

.sb-final-band .btn-primary {
  background: var(--lb-primary);
  border-color: var(--lb-primary);
  color: var(--lb-ink);
}

.sb-final-band .btn-primary:hover { background: #9ccf58; border-color: #9ccf58; }

.sb-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  padding: .55rem 1.1rem;
  margin-top: 1.5rem;
}

.sb-rating-badge__stars { color: var(--lb-primary); font-size: .85rem; }
.sb-rating-badge__sub { font-size: .78rem; color: #A9B29E; }

.sb-location-note { font-size: .85rem; color: #A9B29E; margin-top: 1.25rem; }

/* -------------------------------------------------------------
   Responsive tweaks
   ------------------------------------------------------------- */
@media (max-width: 575px) {
  .sb-step-row { gap: 1rem; }
  .sb-step-body { padding: 1.25rem; }
  .sb-timeline { padding-left: 2.1rem; }
  .sb-timeline::before { left: 12px; }
  .sb-timeline-step__dot { left: -2.1rem; width: 28px; height: 28px; font-size: .78rem; }
}

/* -------------------------------------------------------------
   Accessibility / motion
   ------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .sb-serve-card, .sb-step-body { transition: none !important; }
}

.sb-faq .accordion-button:focus-visible,
.sb-final-band a.btn:focus-visible {
  outline: 2px solid var(--lb-primary);
  outline-offset: 2px;
}