/* ============================================================
   Buffalo Tech Systems — Service detail pages
   (loads on top of styles.css)
   ============================================================ */

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 7.5rem 0 0; font-size: 0.85rem; color: var(--text-mute); display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-dim); transition: color .2s; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb span { color: var(--text-mute); }
.breadcrumb .bc-current { color: var(--text); }

/* ---------- Service hero ---------- */
.svc-hero { padding: 2.2rem 0 1rem; }
.svc-hero-head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.4rem; }
.svc-badge { flex: none; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 18px; background: var(--grad-soft); border: 1px solid var(--line-strong); color: var(--cyan); box-shadow: 0 0 40px rgba(139,92,246,0.2); }
.svc-hero h1 { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.03em; font-size: clamp(2.2rem, 6vw, 3.8rem); line-height: 1.04; }
.svc-lead { font-size: clamp(1.05rem, 2.3vw, 1.32rem); color: var(--text-dim); max-width: 760px; margin-bottom: 1.8rem; }
.svc-cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.svc-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip { font-family: var(--font-mono); font-size: 0.8rem; padding: 0.4rem 0.85rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text-dim); transition: border-color .25s, color .25s; }
.chip:hover { border-color: var(--line-strong); color: var(--text); }

/* section-head on service pages aligns left where it reads better, but keep default centered */
.svc-hero .eyebrow { margin-bottom: 0.35rem; }

/* ---------- Card grid tweaks ---------- */
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card h3 { position: relative; z-index: 2; }
.problems-section { background: linear-gradient(180deg, transparent, rgba(139,92,246,0.04), transparent); }

/* ---------- Problems ---------- */
.problems-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.problems-grid .section-title, .problems-grid .section-lead { text-align: left; }
.problem-list { display: grid; gap: 0.7rem; }
.problem-list li { position: relative; padding: 0.85rem 1rem 0.85rem 2.9rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); color: var(--text-dim); font-size: 0.95rem; }
.problem-list li::before { content: "!"; position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: rgba(255,181,71,0.14); border: 1px solid rgba(255,181,71,0.4); color: var(--amber); font-weight: 700; font-size: 0.8rem; }

/* ---------- 3-step process ---------- */
.steps-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Related services ---------- */
.related-cards .rel-card { display: flex; flex-direction: column; text-decoration: none; }
.rel-card .card-icon { margin-bottom: 1.1rem; }
.rel-card h3 { margin-bottom: 0.4rem; }
.rel-card p { color: var(--text-dim); font-size: 0.95rem; }
.rel-card .card-link { position: relative; z-index: 2; }
.rel-card .card-link::before { content: none; }

/* ---------- Final CTA ---------- */
.svc-final-cta { text-align: center; }
.svc-final-cta .section-title { margin-bottom: 0.7rem; }
.svc-final-cta .section-lead { max-width: 560px; margin: 0 auto 1.8rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards-3, .steps-3 { grid-template-columns: 1fr 1fr; }
  .problems-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cards-3, .steps-3 { grid-template-columns: 1fr; }
  .svc-badge { width: 56px; height: 56px; }
  .breadcrumb { padding-top: 6.5rem; }
}
