/* ==========================================================================
   BITNEKA — SECONDARY PAGES HISTORICAL RESTORATION & POLISH
   Target pages: about.html, portfolio.html, blog.html, careers.html,
                 contact.html, generative-ai.html
   Permanent Dark Palette (#000000 canvas, neutral charcoal surfaces #080808 - #181818)
   OpenAI Codex restrained visual language: editorial typography, subtle borders,
   white-pill primary buttons, dark secondary buttons, no navy section dominance.
   ========================================================================== */

/* ── 0. CANONICAL DESIGN TOKENS & SPACING CONTRACT ── */
:root {
  --text-primary:        #ffffff;
  --text-secondary:      #cbd5e1;
  --text-muted:          #94a3b8;
  --text-tertiary:       #64748b;
  --border-subtle:       rgba(255, 255, 255, 0.08);
  --border-focus:        rgba(56, 189, 248, 0.4);
  --surface-base:        #000000;
  --surface-alt:         #080808;
  --surface-card:        #0d0d0d;
  --surface-elevated:    #121212;
  --accent-cyan:         #38bdf8;
  --accent-blue:         #4f6ef7;
  --accent-emerald:      #34d399;

  --section-pad-desktop: clamp(80px, 8vw, 112px);
  --section-pad-tablet:  clamp(64px, 7vw, 88px);
  --section-pad-mobile:  clamp(48px, 6vw, 64px);
  --card-pad-desktop:    28px;
  --card-pad-compact:    24px 20px;
  --card-pad-mobile:     20px 16px;
}

/* ── 1. GLOBAL BASE NORMALIZATION FOR SECONDARY PAGES ── */
body.secondary-page,
main#mainContent,
main {
  background-color: #000000 !important;
  color: #e2e8f0;
}

/* ── 2. SHARED BUTTON SYSTEM (STANDARDIZED) ── */
.btn-primary-pill,
.btn.btn-primary,
.btn-cta-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: #ffffff !important;
  color: #000000 !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 12px 24px !important;
  border-radius: 999px !important;
  border: 1px solid #ffffff !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
}

.btn-primary-pill:hover,
.btn.btn-primary:hover,
.btn-cta-primary:hover {
  background: #f1f5f9 !important;
  color: #000000 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15) !important;
}

.btn-secondary-pill,
.btn.btn-ghost,
.btn.btn-hero-ghost,
.btn-cta-ghost {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 12px 24px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease !important;
}

.btn-secondary-pill:hover,
.btn.btn-ghost:hover,
.btn.btn-hero-ghost:hover,
.btn-cta-ghost:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

/* ── 3. STANDARDIZED RESTORATION FOR FINAL CTA BANNERS ── */
/* Replaces the oversized bright navy/purple gradient boxes with restrained dark editorial CTA */
.sp-cta-box,
.cta-banner,
.final-cta-box {
  background: #0a0a0a !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 24px !important;
  padding: clamp(48px, 6vw, 68px) clamp(24px, 5vw, 56px) !important;
  text-align: center !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7) !important;
  position: relative !important;
  overflow: hidden !important;
}

.sp-cta-box::before,
.final-cta-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  pointer-events: none;
}

.sp-cta-box h2,
.cta-banner h2,
.final-cta-box h2 {
  color: #ffffff !important;
  font-family: 'Manrope', sans-serif !important;
  font-weight: 800 !important;
  font-size: clamp(26px, 3.5vw, 38px) !important;
  line-height: 1.2 !important;
  margin: 12px auto 16px !important;
  max-width: 720px !important;
}

.sp-cta-box p,
.cta-banner p,
.final-cta-box p {
  color: #a0a0a0 !important;
  font-size: clamp(15px, 1.2vw, 17px) !important;
  line-height: 1.65 !important;
  max-width: 620px !important;
  margin: 0 auto 30px !important;
}

/* ── 4. ABOUT.HTML SPECIFIC REFINEMENTS ── */
.sp-hero-title .accent {
  background: linear-gradient(180deg, #ffffff 30%, #a0a0a0 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: 800;
}

/* About Value Cards (Engineering Pillars) */
.ab-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.ab-value-card {
  background: #0d0d0d !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  padding: 28px !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease !important;
}

.ab-value-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  background: #121212 !important;
}

.ab-value-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 20px;
}

.ab-value-card h3 {
  font-size: 18px !important;
  color: #ffffff !important;
  margin: 0 0 10px !important;
  font-weight: 700 !important;
}

.ab-value-card p {
  font-size: 14px !important;
  color: #a0a0a0 !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

/* About Leadership Team - Intentional 3 + 2 Executive Composition */
.ab-leadership-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

@media (min-width: 992px) {
  .ab-leadership-grid {
    grid-template-columns: repeat(6, 1fr) !important;
  }
  .ab-leadership-grid > .ab-leader-card:nth-child(1) { grid-column: 1 / span 2 !important; }
  .ab-leadership-grid > .ab-leader-card:nth-child(2) { grid-column: 3 / span 2 !important; }
  .ab-leadership-grid > .ab-leader-card:nth-child(3) { grid-column: 5 / span 2 !important; }
  .ab-leadership-grid > .ab-leader-card:nth-child(4) { grid-column: 2 / span 2 !important; }
  .ab-leadership-grid > .ab-leader-card:nth-child(5) { grid-column: 4 / span 2 !important; }
}

@media (min-width: 641px) and (max-width: 991px) {
  .ab-leadership-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  .ab-leadership-grid > .ab-leader-card:nth-child(1),
  .ab-leadership-grid > .ab-leader-card:nth-child(2),
  .ab-leadership-grid > .ab-leader-card:nth-child(3),
  .ab-leadership-grid > .ab-leader-card:nth-child(4) {
    grid-column: span 1 !important;
  }
  .ab-leadership-grid > .ab-leader-card:nth-child(5) {
    grid-column: 1 / -1 !important;
    max-width: 440px !important;
    margin: 0 auto !important;
    width: 100% !important;
  }
}

@media (max-width: 640px) {
  .ab-leadership-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
  .ab-leadership-grid > .ab-leader-card {
    grid-column: auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

.ab-leader-card {
  background: #0d0d0d !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.25s ease, border-color 0.25s ease !important;
}

.ab-leader-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

.ab-leader-avatar-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #141414;
  overflow: hidden;
  position: relative;
}

.ab-leader-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

.ab-leader-card:hover .ab-leader-avatar {
  transform: scale(1.03);
}

.ab-leader-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ab-leader-name {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 4px !important;
}

.ab-leader-role {
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #38bdf8 !important;
  margin-bottom: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}

.ab-leader-bio {
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  color: #94a3b8 !important;
  margin-bottom: 16px !important;
  flex: 1;
}

.ab-leader-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  width: fit-content;
}

/* About Delivery Footprint */
.ab-footprint-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.ab-hub-card {
  background: #0d0d0d !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  padding: 28px !important;
  margin-bottom: 18px;
  transition: border-color 0.25s ease;
}

.ab-hub-card:last-child {
  margin-bottom: 0;
}

.ab-hub-card:hover {
  border-color: rgba(255, 255, 255, 0.16) !important;
}

.ab-hub-card h3 {
  font-size: 18px !important;
  color: #ffffff !important;
  margin: 0 0 10px !important;
  font-weight: 700 !important;
}

.ab-hub-card p {
  font-size: 14px !important;
  color: #a0a0a0 !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

/* About Standards Grid */
.ab-standards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ab-standard-card {
  background: #0d0d0d !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  padding: 26px !important;
  transition: transform 0.25s ease, border-color 0.25s ease !important;
}

.ab-standard-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

.ab-standard-card i {
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 16px;
  display: block;
}

.ab-standard-card h4 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 8px !important;
}

.ab-standard-card p {
  font-size: 13.5px !important;
  color: #a0a0a0 !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* ── 5. PORTFOLIO.HTML HISTORICAL RESTORATION ── */
/* Pure Black Hero without Blue Glow Wash */
.portfolio-hero {
  background: #000000 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.portfolio-hero::before {
  opacity: 0.4 !important;
}

.portfolio-hero .eyebrow {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #cbd5e1 !important;
}

.portfolio-hero .eyebrow i {
  color: #ffffff !important;
}

/* Neutral Charcoal Stat Cards */
.portfolio-stat-card {
  background: #0d0d0d !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

.portfolio-stat-card:hover {
  background: #141414 !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  transform: translateY(-2px) !important;
}

.portfolio-stat-card .stat-number {
  color: #ffffff !important;
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
}

.portfolio-stat-card .stat-label {
  color: #888888 !important;
}

/* HISTORICAL ACTIVE FILTER RESTORATION:
   WHITE / OFF-WHITE ACTIVE PILL + BLACK TEXT */
.portfolio-filter-bar {
  background: rgba(12, 12, 12, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.portfolio-filter-pill {
  color: #a0a0a0 !important;
  background: transparent !important;
  border: 1px solid transparent !important;
}

.portfolio-filter-pill:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.portfolio-filter-pill.active {
  background: #ffffff !important;
  color: #000000 !important;
  font-weight: 700 !important;
  border-color: #ffffff !important;
  box-shadow: 0 2px 14px rgba(255, 255, 255, 0.18) !important;
}

.portfolio-filter-pill .count {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #888888 !important;
}

.portfolio-filter-pill.active .count {
  background: rgba(0, 0, 0, 0.12) !important;
  color: #000000 !important;
  font-weight: 700 !important;
}

/* Neutral Charcoal Project Cards */
.project-card {
  background: #0d0d0d !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}

.project-card:hover {
  background: #131313 !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6) !important;
  transform: translateY(-4px) !important;
}

.project-card:hover .project-card-title {
  color: #ffffff !important;
}

.category-tag {
  background: rgba(10, 10, 10, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #e2e8f0 !important;
}

.project-card-metric {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.project-card-metric span {
  color: #cbd5e1 !important;
}

.project-card-link {
  color: #ffffff !important;
}

.project-card-link:hover {
  color: #38bdf8 !important;
}

/* Portfolio Capabilities section (How We Build Software That Scales) */
.section-pad.portfolio-standards {
  background: #080808 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.case-features-grid .feature-box {
  background: #0d0d0d !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  padding: 30px !important;
  transition: transform 0.25s ease, border-color 0.25s ease !important;
}

.case-features-grid .feature-box:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

/* Portfolio Final CTA */
.portfolio-final-cta,
.cta-section {
  background: #000000 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: clamp(70px, 8vw, 110px) 0 !important;
}

.cta-section .cta-grid-bg,
.cta-sweep {
  display: none !important;
}

/* ── 6. CONTACT.HTML SPECIFIC POLISH ── */
.contact-hero-wrap h1 .gradient-text {
  background: linear-gradient(180deg, #ffffff 40%, #cbd5e1 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.direct-channel-card {
  background: #0d0d0d !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  padding: 26px !important;
  display: flex !important;
  flex-direction: column !important;
  transition: border-color 0.25s ease, transform 0.25s ease !important;
}

.direct-channel-card:hover {
  border-color: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-3px) !important;
}

.direct-channel-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.direct-channel-card h3 {
  font-size: 17.5px !important;
  color: #ffffff !important;
  margin: 0 0 8px !important;
  font-weight: 700 !important;
}

.direct-channel-card p {
  font-size: 13.5px !important;
  color: #a0a0a0 !important;
  line-height: 1.6 !important;
  margin: 0 0 16px !important;
  flex: 1;
}

/* Service & Budget Pill Selection in Contact Form */
.service-pill {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #94a3b8 !important;
  font-weight: 600 !important;
  border-radius: 999px !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}

.service-pill:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.service-pill.active {
  background: #ffffff !important;
  color: #000000 !important;
  font-weight: 700 !important;
  border-color: #ffffff !important;
  box-shadow: 0 2px 12px rgba(255, 255, 255, 0.2) !important;
}

.contact-form {
  background: #0d0d0d !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5) !important;
}

.contact-form input,
.contact-form textarea {
  background: #141414 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 255, 255, 0.4) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08) !important;
}

.submit-btn {
  background: #ffffff !important;
  color: #000000 !important;
  font-weight: 700 !important;
  border: 1px solid #ffffff !important;
  border-radius: 999px !important;
  transition: background 0.2s ease, transform 0.2s ease !important;
  cursor: pointer;
}

.submit-btn:hover {
  background: #f1f5f9 !important;
  transform: translateY(-2px);
}

/* Contact Process Cards */
.process-step-card {
  background: #0d0d0d !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 24px !important;
}

.process-step-card:hover {
  border-color: rgba(255, 255, 255, 0.16) !important;
}

/* ── 7. CAREERS.HTML REFINEMENTS ── */
.careers-hero {
  padding: clamp(90px, 10vw, 130px) 0 clamp(40px, 5vw, 60px) !important;
}

.careers-hero h1 {
  max-width: 820px !important;
  margin: 0 auto 20px !important;
  font-size: clamp(32px, 4.2vw, 50px) !important;
  line-height: 1.15 !important;
}

.careers-hero p {
  max-width: 660px !important;
  margin: 0 auto 32px !important;
  font-size: clamp(15px, 1.5vw, 17px) !important;
  color: #a0a0a0 !important;
}

.jobs-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 24px !important;
  align-items: stretch !important;
}

@media (max-width: 860px) {
  .jobs-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

.job-card {
  background: #0d0d0d !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  padding: 28px !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.25s ease, border-color 0.25s ease !important;
}

.job-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  background: #111111 !important;
}

.job-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.job-type {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  margin-bottom: 8px;
}

.job-card h3 {
  font-size: 19px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 !important;
}

.job-location {
  font-size: 12.5px;
  font-weight: 600;
  color: #888888;
  white-space: nowrap;
}

.job-card p {
  font-size: 14px !important;
  color: #a0a0a0 !important;
  line-height: 1.6 !important;
  margin: 0 0 16px !important;
}

.job-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.job-bullets li {
  font-size: 13.5px;
  color: #888888;
  position: relative;
  padding-left: 18px;
  line-height: 1.5;
}

.job-bullets li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: #a0a0a0;
  font-weight: bold;
}

.job-card .apply-btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ── 8. GENERATIVE-AI.HTML REFINEMENTS ── */
/* Remove navy background dominance, restore neutral charcoal surfaces */
.sp-section--alt {
  background: #080808 !important;
}

.sp-benefit-card,
.sp-cap-card,
.sp-deliv-card,
.sp-why-card,
.sp-case-card,
.sp-outcome-card {
  background: #0d0d0d !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  transition: transform 0.25s ease, border-color 0.25s ease !important;
}

.sp-benefit-card:hover,
.sp-cap-card:hover,
.sp-deliv-card:hover,
.sp-why-card:hover,
.sp-case-card:hover,
.sp-outcome-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  background: #121212 !important;
}

.sp-process-step {
  background: #0d0d0d !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  padding: 26px !important;
  transition: transform 0.25s ease, border-color 0.25s ease !important;
}

.sp-process-step:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

.sp-step-num {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #38bdf8 !important;
  letter-spacing: 0.1em !important;
  margin-bottom: 12px !important;
}

.sp-hero-card {
  background: #0d0d0d !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5) !important;
}

.sp-outcome-val {
  color: #ffffff !important;
  font-weight: 800 !important;
}

/* ── 9. BLOG.HTML REFINEMENTS ── */
.blog-cat-btn {
  padding: 8px 18px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #94a3b8 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.blog-cat-btn:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}

.blog-cat-btn.active {
  background: #ffffff !important;
  color: #000000 !important;
  font-weight: 700 !important;
  border-color: #ffffff !important;
  box-shadow: 0 2px 14px rgba(255, 255, 255, 0.18) !important;
}

.blog-card {
  background: #0d0d0d !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.25s ease, border-color 0.25s ease !important;
}

.blog-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  background: #121212 !important;
}

.blog-card h3 a {
  color: #ffffff !important;
  transition: color 0.2s ease;
}

.blog-card:hover h3 a {
  color: #38bdf8 !important;
}

.blog-card p {
  color: #94a3b8 !important;
  line-height: 1.6 !important;
}

/* Editorial Group Separator */
.blog-editorial-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 54px 0 28px;
  grid-column: 1 / -1;
}

.blog-editorial-divider h3 {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #cbd5e1;
  margin: 0;
  white-space: nowrap;
}

.blog-editorial-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
}

/* ── 10. MOBILE RESPONSIVE POLISH (320px - 430px) ── */
@media (max-width: 640px) {
  .ab-values-grid,
  .ab-standards-grid,
  .ab-footprint-grid,
  .ab-leadership-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .portfolio-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .portfolio-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .portfolio-filter-bar {
    border-radius: 16px !important;
    padding: 6px !important;
    gap: 6px !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .sp-cta-box,
  .cta-banner,
  .final-cta-box {
    padding: 36px 18px !important;
    border-radius: 18px !important;
  }

  .sp-cta-box h2,
  .cta-banner h2,
  .final-cta-box h2 {
    font-size: 24px !important;
  }
}

/* ── 11. COMPLETE SERVICE PRACTICE PAGES SYSTEM ── */
/* Targets all 13 specialized service practice pages + services.html hub */
.srv-vector-icon {
  width: 46px !important;
  height: 46px !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  font-size: 20px !important;
}

.sp-hero {
  background: #000000 !important;
  padding: clamp(90px, 10vw, 130px) 0 clamp(40px, 6vw, 70px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  position: relative !important;
}

.sp-hero-grid,
.sp-hero-inner {
  display: grid !important;
  grid-template-columns: 1.15fr 0.85fr !important;
  gap: clamp(32px, 5vw, 64px) !important;
  align-items: center !important;
}

.sp-hero-title {
  font-family: 'Manrope', sans-serif !important;
  font-size: clamp(32px, 4vw, 50px) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  color: #ffffff !important;
  margin: 16px 0 20px !important;
}

.sp-hero-title .accent {
  background: linear-gradient(180deg, #ffffff 40%, #a0a0a0 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.sp-hero-desc {
  font-size: clamp(15px, 1.3vw, 17px) !important;
  line-height: 1.68 !important;
  color: #a0a0a0 !important;
  max-width: 620px !important;
  margin: 0 0 28px !important;
}

.sp-hero-actions {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
  margin-bottom: 32px !important;
}

/* Service Hero Stats (Index Scale-Stat Style) */
.sp-hero-stats {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
  padding-top: 24px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.sp-hero-stat {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.sp-hero-stat strong {
  font-family: 'Manrope', sans-serif !important;
  font-size: clamp(20px, 2.2vw, 26px) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em !important;
}

.sp-hero-stat span {
  font-size: 12.5px !important;
  color: #888888 !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
}

/* Service Architecture Spec Card */
.sp-hero-card {
  background: #0a0a0a !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  padding: 26px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7) !important;
}

.sp-card-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding-bottom: 16px !important;
  margin-bottom: 16px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.sp-card-tag {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #cbd5e1 !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
}

.sp-spec-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.sp-spec-item {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 16px !important;
  font-size: 13px !important;
  padding: 6px 0 !important;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06) !important;
}

.sp-spec-item:last-child {
  border-bottom: none !important;
}

.sp-spec-item > span:first-child {
  color: #888888 !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

.sp-spec-item > span:last-child {
  color: #e2e8f0 !important;
  text-align: right !important;
  font-weight: 500 !important;
}

/* Service Section Rhythm */
.sp-section {
  padding: clamp(60px, 8vw, 100px) 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.sp-section-head {
  max-width: 780px !important;
  margin: 0 auto clamp(36px, 5vw, 56px) !important;
  text-align: center !important;
}

.sp-section-head.text-left {
  text-align: left !important;
  margin-left: 0 !important;
}

.sp-section-title {
  font-family: 'Manrope', sans-serif !important;
  font-size: clamp(26px, 3.5vw, 38px) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
  margin: 12px 0 14px !important;
}

.sp-section-sub {
  font-size: clamp(15px, 1.2vw, 17px) !important;
  color: #94a3b8 !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

/* Service Overview & Highlight Grid */
.sp-overview-grid {
  display: grid !important;
  grid-template-columns: 1.1fr 0.9fr !important;
  gap: clamp(32px, 5vw, 56px) !important;
  align-items: start !important;
}

.sp-overview-text h3 {
  font-size: clamp(20px, 2.5vw, 26px) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 16px !important;
}

.sp-overview-text p {
  font-size: 15.5px !important;
  line-height: 1.7 !important;
  color: #a0a0a0 !important;
}

.sp-highlight-cards {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.sp-highlight-card {
  background: #0d0d0d !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 22px !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 16px !important;
  transition: transform 0.25s ease, border-color 0.25s ease !important;
}

.sp-highlight-card:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  background: #121212 !important;
}

.sp-highlight-icon {
  width: 42px !important;
  height: 42px !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  font-size: 16px !important;
  flex-shrink: 0 !important;
}

.sp-highlight-info h4 {
  font-size: 16.5px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 6px !important;
}

.sp-highlight-info p {
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  color: #888888 !important;
  margin: 0 !important;
}

/* Service Benefits / Capabilities / Deliverables (Symmetrical 3x2 on Desktop) */
.sp-benefits-grid,
.sp-caps-grid,
.sp-delivs-grid,
.sp-deliv-grid,
.ab-values-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

@media (min-width: 992px) {
  .sp-benefits-grid,
  .sp-caps-grid,
  .sp-delivs-grid,
  .sp-deliv-grid,
  .ab-values-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
  }
}

/* Service Why Section (4 Cards in 1 Row on Desktop - Image 2 Fix) */
.sp-why-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

@media (min-width: 992px) {
  .sp-why-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
  }
}

/* Service Quantifiable Outcomes (4 Metrics in 1 Row on Desktop - Image 1 Fix) */
.sp-outcomes-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

@media (min-width: 992px) {
  .sp-outcomes-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
  }
}

/* Service Case Studies (2x2 Balanced Grid for 4 Items on Desktop) */
.sp-cases-grid,
.sp-use-cases-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

@media (min-width: 992px) {
  .sp-cases-grid,
  .sp-use-cases-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }
}

/* Tablet Layouts (641px - 991px) */
@media (min-width: 641px) and (max-width: 991px) {
  .sp-benefits-grid,
  .sp-caps-grid,
  .sp-delivs-grid,
  .sp-deliv-grid,
  .ab-values-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .sp-why-grid,
  .sp-outcomes-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  .sp-cases-grid,
  .sp-use-cases-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* Mobile Stacking Layouts (<= 640px) */
@media (max-width: 640px) {
  .sp-benefits-grid,
  .sp-caps-grid,
  .sp-delivs-grid,
  .sp-deliv-grid,
  .sp-use-cases-grid,
  .sp-why-grid,
  .sp-cases-grid,
  .ab-values-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  .sp-outcomes-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}

/* Universal Grid Item Box Integrity */
.sp-benefits-grid > *,
.sp-caps-grid > *,
.sp-delivs-grid > *,
.sp-deliv-grid > *,
.sp-use-cases-grid > *,
.sp-why-grid > *,
.sp-cases-grid > *,
.sp-outcomes-grid > *,
.ab-values-grid > * {
  grid-column: auto !important;
  grid-row: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* Base Card Shells */
.sp-benefit-card,
.sp-cap-card,
.sp-deliv-card,
.sp-case-card,
.ab-value-card {
  background: #0d0d0d !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  padding: 28px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  min-height: auto !important;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease !important;
  box-sizing: border-box !important;
}

.sp-benefit-card:hover,
.sp-cap-card:hover,
.sp-deliv-card:hover,
.sp-case-card:hover,
.ab-value-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  background: #121212 !important;
}

/* Precision Why Bitneka Cards (Tailored for 4-in-a-row Desktop Harmony) */
.sp-why-card {
  background: #0d0d0d !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  padding: 24px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  min-height: auto !important;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease !important;
  box-sizing: border-box !important;
}

.sp-why-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
  background: #121212 !important;
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.6) !important;
}

.sp-why-icon {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  border-radius: 12px !important;
  background: rgba(56, 189, 248, 0.08) !important;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
  color: #38bdf8 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
  margin-bottom: 18px !important;
  flex-shrink: 0 !important;
}

.sp-why-card h3,
.sp-why-card h4 {
  font-family: 'Manrope', sans-serif !important;
  font-size: 16.5px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.35 !important;
  margin: 0 0 10px 0 !important;
}

.sp-why-card p {
  font-family: 'Inter', sans-serif !important;
  font-size: 13.5px !important;
  line-height: 1.55 !important;
  color: #94a3b8 !important;
  margin: 0 !important;
}

/* Outcomes Metric Cards (Animated, Shimmer Accent & 4-in-a-row Desktop Layout) */
@keyframes outcomeCardIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sp-outcome-card {
  background: #0d0d0d !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  padding: 24px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  position: relative !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  animation: outcomeCardIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease !important;
}

.sp-outcomes-grid > .sp-outcome-card:nth-child(1) { animation-delay: 0.08s; }
.sp-outcomes-grid > .sp-outcome-card:nth-child(2) { animation-delay: 0.16s; }
.sp-outcomes-grid > .sp-outcome-card:nth-child(3) { animation-delay: 0.24s; }
.sp-outcomes-grid > .sp-outcome-card:nth-child(4) { animation-delay: 0.32s; }

.sp-outcome-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.7), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.sp-outcome-card:hover::before {
  opacity: 1;
}

.sp-outcome-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
  background: #131313 !important;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6), 0 0 20px -4px rgba(56, 189, 248, 0.1) !important;
}

.sp-outcome-card:hover .sp-outcome-val {
  transform: scale(1.04);
  transition: transform 0.25s ease;
}

.sp-outcome-val {
  font-family: 'Manrope', -apple-system, sans-serif !important;
  font-size: clamp(34px, 2.5vw, 42px) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 12px !important;
  display: block !important;
  transition: transform 0.25s ease !important;
}

.sp-outcome-label {
  font-family: 'Manrope', sans-serif !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 6px !important;
  line-height: 1.35 !important;
}

.sp-outcome-sub {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  color: #94a3b8 !important;
  margin: 0 !important;
}

/* Service Hero Eyebrow & Breadcrumb Precision Alignment (Image 3 Fix) */
.sp-breadcrumb {
  display: flex !important;
  width: 100% !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.6) !important;
  margin: 0 0 16px 0 !important;
  padding: 0 !important;
  flex-wrap: wrap !important;
  line-height: 1.5 !important;
}

.sp-breadcrumb a {
  color: #7c9aff !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.sp-breadcrumb a:hover {
  text-decoration: underline !important;
  color: #ffffff !important;
}

.sp-breadcrumb-sep {
  opacity: 0.4 !important;
  color: rgba(255, 255, 255, 0.5) !important;
  user-select: none !important;
}

.sp-hero-content > .price-badge,
.sp-hero-content > span.price-badge {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 0 20px 0 !important;
  align-self: flex-start !important;
  line-height: 1 !important;
}

/* Service Capabilities Specialized Typography & Hierarchy */
.sp-cap-num {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #38bdf8 !important;
  letter-spacing: 0.06em !important;
  margin-bottom: 12px !important;
  display: inline-block !important;
}

.sp-cap-card h3,
.sp-benefit-card h3,
.sp-deliv-card h3,
.sp-case-card h3,
.ab-value-card h3 {
  font-family: 'Manrope', sans-serif !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.3 !important;
  margin: 0 0 10px 0 !important;
}

.sp-cap-card p,
.sp-benefit-card p,
.sp-deliv-card p,
.sp-case-card p,
.ab-value-card p {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  color: #94a3b8 !important;
  margin: 0 0 16px 0 !important;
}

.sp-cap-list {
  margin: auto 0 0 0 !important;
  padding: 16px 0 0 0 !important;
  list-style: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 9px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.sp-cap-list li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  font-size: 13px !important;
  color: #cbd5e1 !important;
  line-height: 1.5 !important;
}

.sp-cap-list li i {
  color: #38bdf8 !important;
  font-size: 11px !important;
  margin-top: 4px !important;
  flex-shrink: 0 !important;
}

/* Service 5-Stage Process Grid */
.sp-process-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 16px !important;
}

.sp-process-step {
  background: #0d0d0d !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 24px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  transition: transform 0.25s ease, border-color 0.25s ease !important;
}

.sp-process-step:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  background: #121212 !important;
}

.sp-step-num {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #38bdf8 !important;
  letter-spacing: 0.08em !important;
  margin-bottom: 10px !important;
}

.sp-process-step h4 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 8px !important;
}

.sp-process-step p {
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: #888888 !important;
  margin: 0 !important;
}

/* Service Tech Matrix */
.sp-tech-matrix {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 20px !important;
}

.sp-matrix-group {
  background: #0d0d0d !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 24px !important;
}

.sp-matrix-group h4 {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 14px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Service FAQ Accordion */
.sp-faq-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  max-width: 820px !important;
  margin: 0 auto !important;
}

.sp-faq-item {
  background: #0d0d0d !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  transition: border-color 0.2s ease !important;
}

.sp-faq-item:hover {
  border-color: rgba(255, 255, 255, 0.16) !important;
}

.sp-faq-q {
  width: 100% !important;
  padding: 20px 24px !important;
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 16px !important;
  cursor: pointer !important;
  text-align: left !important;
  min-height: 48px !important;
}

.sp-faq-a {
  padding: 0 24px 20px !important;
  font-size: 14.5px !important;
  line-height: 1.65 !important;
  color: #94a3b8 !important;
}

/* ── 12. PRICING.HTML REFINEMENTS ── */
.price-models-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  align-items: stretch !important;
}

.price-card {
  background: #0d0d0d !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  padding: 34px 28px !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.price-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.price-card--featured {
  background: #111111 !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6) !important;
}

.price-card-popular {
  position: absolute !important;
  top: -12px !important;
  left: 28px !important;
  background: #ffffff !important;
  color: #000000 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
}

.price-card-title {
  font-size: 21px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 8px !important;
}

.price-card-tagline {
  font-size: 13.5px !important;
  color: #888888 !important;
  line-height: 1.55 !important;
  margin: 0 0 20px !important;
  min-height: 42px !important;
}

.price-card-rate {
  padding: 16px 0 !important;
  margin-bottom: 24px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
}

.price-card-amount {
  font-family: 'Manrope', sans-serif !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em !important;
}

.price-card-period {
  font-size: 13px !important;
  color: #888888 !important;
}

.price-features-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 32px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  flex: 1 !important;
}

.price-features-list li {
  font-size: 13.5px !important;
  color: #94a3b8 !important;
  line-height: 1.55 !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
}

.price-features-list li i {
  color: #ffffff !important;
  font-size: 12px !important;
  margin-top: 4px !important;
  flex-shrink: 0 !important;
}

.price-features-list li strong {
  color: #e2e8f0 !important;
}

.price-card-btn {
  margin-top: auto !important;
  width: 100% !important;
}

/* Pricing Estimator */
.calc-box {
  background: #0a0a0a !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  padding: clamp(28px, 4vw, 44px) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7) !important;
}

/* ── 13. FAQ.HTML ACCORDIONS & FILTER BAR ── */
.fq-section {
  padding: clamp(40px, 6vw, 70px) 0 !important;
}

.fq-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.fq-card {
  background: #0d0d0d !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  transition: border-color 0.2s ease, background 0.2s ease !important;
}

.fq-card:hover {
  border-color: rgba(255, 255, 255, 0.18) !important;
}

.fq-trigger {
  width: 100% !important;
  padding: 22px 26px !important;
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 16.5px !important;
  font-weight: 700 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 16px !important;
  cursor: pointer !important;
  text-align: left !important;
  min-height: 52px !important;
}

.fq-plus-ico {
  font-size: 22px !important;
  font-weight: 400 !important;
  color: #888888 !important;
  transition: transform 0.25s ease, color 0.25s ease !important;
  flex-shrink: 0 !important;
}

.fq-card.is-open .fq-plus-ico {
  transform: rotate(45deg) !important;
  color: #ffffff !important;
}

.fq-body {
  padding: 0 26px 24px !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: #94a3b8 !important;
}

.fq-body strong {
  color: #ffffff !important;
}

/* ── 14. TRUST & SECURITY DIAGRAM CONTAINERS ── */
.trust-diagram-card {
  background: #0d0d0d !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  padding: 20px !important;
  overflow: hidden !important;
}

.trust-diagram-card img {
  width: 100% !important;
  height: auto !important;
  border-radius: 12px !important;
  display: block !important;
}

/* ── 15. LEGAL PAGES (PRIVACY, TERMS, COOKIE) ── */
.legal-page-container {
  max-width: 820px !important;
  margin: 0 auto !important;
  padding: clamp(60px, 8vw, 100px) clamp(16px, 4vw, 32px) !important;
}

.legal-section {
  margin-bottom: 40px !important;
}

.legal-section h2 {
  font-size: clamp(20px, 2.5vw, 24px) !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 16px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.legal-section p,
.legal-section li {
  font-size: 15.5px !important;
  line-height: 1.72 !important;
  color: #cbd5e1 !important;
  margin-bottom: 14px !important;
}

.legal-section ul {
  padding-left: 24px !important;
  margin-bottom: 20px !important;
}

/* ── 16. SITEMAP & 404 UTILITIES ── */
.sitemap-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 32px !important;
}

.sitemap-group {
  background: #0d0d0d !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  padding: 28px !important;
}

.sitemap-group h3 {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  margin: 0 0 18px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.sitemap-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.sitemap-links a {
  color: #94a3b8 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.sitemap-links a:hover {
  color: #38bdf8 !important;
}

.not-found-hero {
  padding: clamp(100px, 12vw, 160px) 0 clamp(60px, 8vw, 100px) !important;
  text-align: center !important;
}

.not-found-code {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: clamp(72px, 12vw, 130px) !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  color: #ffffff !important;
  margin-bottom: 16px !important;
  letter-spacing: -0.04em !important;
}

/* ── 17. PORTFOLIO CASE STUDY DETAIL PAGES ── */
.case-reading-wrap {
  max-width: 820px !important;
  margin: 0 auto !important;
}

.case-meta-strip {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-bottom: 28px !important;
}

.case-problem-solution {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 24px !important;
  margin: 36px 0 !important;
}

.case-timeline-item {
  position: relative !important;
  padding-left: 28px !important;
  margin-bottom: 24px !important;
  border-left: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.case-timeline-item::before {
  content: "" !important;
  position: absolute !important;
  left: -5px !important;
  top: 4px !important;
  width: 9px !important;
  height: 9px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
}

/* Safe Code Snippets in Case Studies & Blog Articles */
pre,
code {
  font-family: 'JetBrains Mono', monospace !important;
}

pre {
  background: #0d0d0d !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  padding: 18px !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  max-width: 100% !important;
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  color: #e2e8f0 !important;
}

/* ── 18. BLOG ARTICLE DETAIL PAGES ── */
.article-reading-col {
  max-width: 780px !important;
  margin: 0 auto !important;
}

/* Suppress duplicated statement banner rendered inside main on blog pages */
main > section.ft-statement {
  display: none !important;
}

.article-body {
  font-size: 16px !important;
  line-height: 1.75 !important;
  color: #cbd5e1 !important;
}

.article-body h2 {
  font-family: 'Manrope', sans-serif !important;
  font-size: clamp(24px, 3vw, 32px) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 44px 0 16px !important;
  line-height: 1.25 !important;
}

.article-body h3 {
  font-family: 'Manrope', sans-serif !important;
  font-size: clamp(19px, 2.2vw, 23px) !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 32px 0 12px !important;
  line-height: 1.35 !important;
}

.article-body p {
  margin-bottom: 20px !important;
}

.article-body blockquote {
  border-left: 3px solid #ffffff !important;
  padding: 12px 0 12px 24px !important;
  margin: 32px 0 !important;
  font-style: italic !important;
  color: #ffffff !important;
  font-size: 17px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border-radius: 0 12px 12px 0 !important;
}

/* Responsive Table Wrapper & Overflow Containers */
.table-responsive,
div[style*="overflow-x:auto"],
div[style*="overflow-x: auto"] {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  margin: 28px 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
}

.table-responsive table,
div[style*="overflow-x:auto"] > table,
div[style*="overflow-x: auto"] > table {
  width: 100% !important;
  border-collapse: collapse !important;
  text-align: left !important;
  font-size: 14px !important;
  min-width: 600px !important;
}

.table-responsive th,
div[style*="overflow-x:auto"] th,
div[style*="overflow-x: auto"] th {
  background: #111111 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

.table-responsive td,
div[style*="overflow-x:auto"] td,
div[style*="overflow-x: auto"] td {
  color: #94a3b8 !important;
}

/* ── 19. MASTER MOBILE RESPONSIVE SYSTEM (<=768px and <=430px) ── */
@media (max-width: 900px) {
  /* Blog article sticky TOC hide and reading layout expansion */
  .hide-mobile,
  aside.hide-mobile {
    display: none !important;
  }

  .wrap[style*="grid-template-columns: 260px"],
  div.wrap:has(> aside.hide-mobile) {
    display: block !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .wrap[style*="grid-template-columns: 260px"] > article,
  div.wrap:has(> aside.hide-mobile) > article {
    width: 100% !important;
    max-width: 100% !important;
  }

  .price-models-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .sp-process-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .sp-hero-grid,
  .sp-hero-inner,
  .sp-overview-grid,
  .case-problem-solution {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .sp-hero-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  .sp-hero-card {
    margin-top: 12px !important;
  }
}

@media (max-width: 480px) {
  .sp-process-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .sp-hero-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .sp-spec-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }

  .sp-spec-item > span:last-child {
    text-align: left !important;
  }

  .fq-trigger {
    padding: 18px 18px !important;
    font-size: 15px !important;
  }

  .fq-body {
    padding: 0 18px 18px !important;
    font-size: 14px !important;
  }

  .price-card {
    padding: 26px 20px !important;
  }

  .price-card-amount {
    font-size: 24px !important;
  }

  /* Tap targets for mobile */
  .btn,
  .btn-primary-pill,
  .btn-secondary-pill,
  .service-pill,
  .blog-cat-btn,
  .portfolio-filter-pill,
  .fq-trigger,
  .sp-faq-q {
    min-height: 44px !important;
  }
}

/* ── 20. ARCHITECTURE WORKFLOW & SYSTEM TOPOLOGY MODULES ── */
.arch-flow-module {
  background: #0c0c0c !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  padding: 36px 32px !important;
  margin: 40px 0 !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6) !important;
}

.arch-flow-header {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  margin-bottom: 28px !important;
  text-align: left !important;
}

.arch-flow-eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: #34d399 !important;
}

.arch-flow-eyebrow::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
}

.arch-flow-title {
  font-size: clamp(20px, 2.2vw, 26px) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 !important;
  letter-spacing: -0.02em !important;
}

.arch-flow-desc {
  font-size: 14.5px !important;
  color: #a0a0a0 !important;
  margin: 0 !important;
  max-width: 720px !important;
  line-height: 1.6 !important;
}

.arch-pipeline {
  display: flex !important;
  align-items: stretch !important;
  gap: 12px !important;
  width: 100% !important;
  overflow-x: auto !important;
  padding-bottom: 8px !important;
  -webkit-overflow-scrolling: touch !important;
}

.arch-node {
  flex: 1 1 0 !important;
  min-width: 180px !important;
  background: #121212 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  padding: 18px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  position: relative !important;
  transition: transform 0.2s ease, border-color 0.2s ease !important;
}

.arch-node:hover {
  border-color: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-2px) !important;
}

.arch-node-badge {
  font-family: 'JetBrains Mono', monospace, sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  color: #4F6EF7 !important;
  text-transform: uppercase !important;
}

.arch-node-name {
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 !important;
  line-height: 1.35 !important;
}

.arch-node-detail {
  font-size: 12px !important;
  color: #888888 !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}

.arch-node-metric {
  margin-top: auto !important;
  padding-top: 8px !important;
  border-top: 1px dashed rgba(255, 255, 255, 0.08) !important;
  font-size: 11px !important;
  color: #34d399 !important;
  font-family: 'JetBrains Mono', monospace, sans-serif !important;
}

.arch-connector {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: rgba(255, 255, 255, 0.25) !important;
  font-size: 14px !important;
  flex-shrink: 0 !important;
  width: 20px !important;
}

@media (max-width: 860px) {
  .arch-flow-module {
    padding: 24px 18px !important;
  }
  .arch-pipeline {
    flex-direction: column !important;
    gap: 12px !important;
    overflow-x: visible !important;
  }
  .arch-node {
    min-width: 100% !important;
  }
  .arch-connector {
    width: 100% !important;
    height: 16px !important;
    transform: rotate(90deg) !important;
  }
}

/* ── 21. DECISION GUIDANCE MATRIX TABLE ── */
.decision-matrix-card {
  background: #0c0c0c !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  padding: 32px 28px !important;
  margin: 40px 0 !important;
}

.decision-matrix-card h3 {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 8px 0 !important;
}

.decision-matrix-card p.matrix-sub {
  font-size: 14.5px !important;
  color: #a0a0a0 !important;
  margin: 0 0 24px 0 !important;
}

.decision-table-wrap {
  width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
}

.decision-table-wrap table {
  width: 100% !important;
  border-collapse: collapse !important;
  min-width: 620px !important;
  text-align: left !important;
  font-size: 13.5px !important;
}

.decision-table-wrap th {
  background: #141414 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 14px 18px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.decision-table-wrap td {
  padding: 14px 18px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  color: #a0a0a0 !important;
  line-height: 1.5 !important;
}

.decision-table-wrap tr:last-child td {
  border-bottom: none !important;
}

.decision-table-wrap tr:hover td {
  background: rgba(255, 255, 255, 0.02) !important;
}

/* ── 20. MOBILE TABLE HORIZONTAL SCROLL AFFORDANCE ── */
.table-scroll-hint {
  display: none;
}

@media (max-width: 768px) {
  .table-scroll-hint {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #38bdf8 !important;
    background: rgba(56, 189, 248, 0.08) !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
    border-radius: 999px !important;
    padding: 5px 14px !important;
    margin-bottom: 14px !important;
    letter-spacing: 0.02em !important;
  }
}

.table-responsive,
.decision-table-wrap,
div[style*="overflow-x:auto"],
div[style*="overflow-x: auto"] {
  scrollbar-width: thin !important;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent !important;
}

.table-responsive::-webkit-scrollbar,
.decision-table-wrap::-webkit-scrollbar,
div[style*="overflow-x:auto"]::-webkit-scrollbar,
div[style*="overflow-x: auto"]::-webkit-scrollbar {
  height: 6px !important;
}

.table-responsive::-webkit-scrollbar-thumb,
.decision-table-wrap::-webkit-scrollbar-thumb,
div[style*="overflow-x:auto"]::-webkit-scrollbar-thumb,
div[style*="overflow-x: auto"]::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22) !important;
  border-radius: 999px !important;
}

/* ── 21. CANONICAL ICON CONTAINERS (PRECISION GEOMETRY) ── */
.sp-card-icon,
.ab-value-icon,
.srv-vector-icon,
.direct-channel-icon,
.price-card-icon,
.sp-why-icon,
.feature-icon-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}

.sp-card-icon,
.ab-value-icon,
.direct-channel-icon,
.sp-why-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
}

.srv-vector-icon {
  width: 42px !important;
  height: 42px !important;
  border-radius: 10px !important;
  background: rgba(79, 110, 247, 0.1) !important;
  color: #4f6ef7 !important;
  font-size: 18px !important;
}

/* ── 22. SERVICES HUB (REUSABLE ARCHITECTURAL CLASSES) ── */
.finder-card-box {
  background: #0a0a0a !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  padding: clamp(22px, 3.5vw, 38px) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6) !important;
}

.finder-step-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 10px !important;
}

.finder-step-label {
  font-family: 'Manrope', sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.finder-step-num {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background: rgba(79, 110, 247, 0.15) !important;
  color: #7c9aff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

.finder-step-counter {
  font-size: 12px !important;
  color: #64748b !important;
}

.finder-pills-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) !important;
  gap: 9px !important;
}

@media (max-width: 640px) {
  .finder-pills-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
}

.practices-directory-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 24px !important;
}

@media (max-width: 640px) {
  .practices-directory-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

.practice-card {
  background: #0c0c0c !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  padding: 28px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: auto !important;
  min-height: unset !important;
  transition: transform 0.25s ease, border-color 0.25s ease !important;
}

.practice-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  background: #111111 !important;
}

.practice-card-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  margin-bottom: 18px !important;
}

.practice-card-badge {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #7c9aff !important;
  background: rgba(79, 110, 247, 0.12) !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
}

.practice-card-title {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin-bottom: 10px !important;
}

.practice-card-desc {
  font-size: 14px !important;
  color: #94a3b8 !important;
  line-height: 1.6 !important;
  margin-bottom: 18px !important;
}

.practice-card-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin-bottom: 20px !important;
}

.practice-card-tags span {
  font-size: 11px !important;
  padding: 3px 8px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border-radius: 6px !important;
  color: #cbd5e1 !important;
}

.practice-card-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  font-size: 12.5px !important;
}

/* ── 23. BLOG EDITORIAL SYSTEM (REUSABLE CLASSES) ── */
.blog-hero-featured {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(79, 110, 247, 0.3) !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
}

.blog-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)) !important;
  gap: 28px !important;
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
}

.blog-card-thumb {
  display: block !important;
  aspect-ratio: 16 / 9 !important;
  background: #070b1a !important;
  overflow: hidden !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.blog-card-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.4s ease !important;
}

.blog-card:hover .blog-card-thumb img {
  transform: scale(1.04) !important;
}

.blog-card-body {
  padding: 24px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  justify-content: space-between !important;
}

.blog-card-meta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 12px !important;
}

.blog-card-tag {
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #7c9aff !important;
  background: rgba(79, 110, 247, 0.12) !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
}

.blog-card-readtime {
  font-size: 12px !important;
  color: #7f8792 !important;
}

.blog-card-title {
  font-size: 18.5px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.35 !important;
  margin-bottom: 10px !important;
}

.blog-card-excerpt {
  font-size: 13.5px !important;
  color: #94a3b8 !important;
  line-height: 1.6 !important;
  margin-bottom: 20px !important;
}

.blog-card-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-top: 16px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  font-size: 12.5px !important;
  color: #7f8792 !important;
}

/* ── 24. SERVICES HUB REUSABLE UTILITIES ── */
.practice-card-timeline {
  color: var(--text-tertiary, #64748b) !important;
  font-size: 12.5px !important;
}

.practice-card-link,
.practice-card-cta {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #4f6ef7 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  text-decoration: none !important;
  transition: color 0.2s ease, text-decoration 0.2s ease !important;
}

.practice-card-link:hover,
.practice-card-cta:hover {
  color: #7c9aff !important;
  text-decoration: underline !important;
}

.finder-result-box {
  background: #111111 !important;
  border: 1px solid rgba(79, 110, 247, 0.35) !important;
  border-radius: 16px !important;
  padding: clamp(20px, 3vw, 32px) !important;
}

.engagement-model-card,
.delivery-framework-card {
  background: #0d0d0d !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 28px !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.25s ease, border-color 0.25s ease !important;
}

.engagement-model-card:hover,
.delivery-framework-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.engagement-model-title {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 10px 0 !important;
}

.engagement-model-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 20px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  font-size: 13px !important;
  color: #cbd5e1 !important;
}

.engagement-model-cta {
  margin-top: auto !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #4f6ef7 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

/* ── 25. BLOG EDITORIAL HIERARCHY SYSTEM ── */
.blog-card--feature {
  border-color: rgba(79, 110, 247, 0.25) !important;
}

@media (min-width: 1024px) {
  .blog-card--feature {
    grid-column: span 2 !important;
    display: grid !important;
    grid-template-columns: 1.25fr 1fr !important;
  }
  .blog-card--feature .blog-card-thumb {
    height: 100% !important;
  }
}

@media (max-width: 768px) {
  .blog-card--compact .blog-card-excerpt {
    display: none !important;
  }
  .blog-card--compact {
    padding: 16px !important;
  }
}

/* ── 26. ARTICLE COMPARISON TABLE & CALLOUT SYSTEM ── */
.table-responsive-fade {
  position: relative !important;
}

@media (max-width: 768px) {
  .table-responsive-fade::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 28px !important;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.75)) !important;
    pointer-events: none !important;
    border-radius: 0 12px 12px 0 !important;
  }
}

.article-table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 13.5px !important;
  text-align: left !important;
  min-width: 600px !important;
}

.article-table thead tr {
  background: rgba(255, 255, 255, 0.04) !important;
}

.article-table th {
  padding: 12px 16px !important;
  text-align: left !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

.article-table td {
  padding: 12px 16px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  color: #cbd5e1 !important;
  line-height: 1.5 !important;
}

.article-table tbody tr:last-child td {
  border-bottom: none !important;
}

.article-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02) !important;
}

.article-callout-box {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-left: 3px solid #34d399 !important;
  border-radius: 10px !important;
  padding: 16px 20px !important;
  display: flex !important;
  gap: 12px !important;
  align-items: flex-start !important;
  margin: 28px 0 !important;
}

.article-callout-icon {
  color: #34d399 !important;
  margin-top: 4px !important;
  flex-shrink: 0 !important;
}

.article-callout-text {
  font-size: 14.5px !important;
  color: #e2e8f0 !important;
  line-height: 1.6 !important;
}

/* ── 27. CAREERS MOBILE COMPACTION ── */
.job-details-toggle {
  margin-bottom: 20px !important;
}

.job-details-summary {
  display: none !important;
  cursor: pointer;
  user-select: none;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #38bdf8 !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 14px !important;
  border-radius: 8px !important;
  background: rgba(56, 189, 248, 0.06) !important;
  border: 1px solid rgba(56, 189, 248, 0.18) !important;
  margin-bottom: 12px !important;
  list-style: none !important;
}

.job-details-summary::-webkit-details-marker {
  display: none !important;
}

@media (max-width: 768px) {
  .job-details-summary {
    display: flex !important;
  }
  .job-details-toggle:not([open]) .job-bullets {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .job-details-toggle {
    display: contents !important;
  }
}

/* ── 28. CONTACT MOBILE CONVERSION ORDER ── */
@media (max-width: 768px) {
  .contact-main-grid {
    display: flex !important;
    flex-direction: column !important;
  }
  .contact-right {
    order: 1 !important;
    margin-bottom: 36px !important;
  }
  .contact-left {
    order: 2 !important;
  }
}

/* ── 29. RESTRAINED PRE-FOOTER CTA HARMONIZATION ── */
.sp-cta,
.service-cta,
.cta-banner,
.consultation-cta {
  padding: clamp(48px, 6vw, 72px) 0 !important;
  background: #000000 !important;
}

.sp-cta-box,
.cta-banner-box {
  background: #080808 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  padding: clamp(32px, 4vw, 48px) clamp(24px, 4vw, 48px) !important;
  text-align: center !important;
}

.sp-cta-box h2,
.cta-banner h2 {
  font-family: 'Manrope', sans-serif !important;
  font-size: clamp(24px, 3.2vw, 36px) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 12px !important;
}

.sp-cta-box p,
.cta-banner p {
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: #94a3b8 !important;
  max-width: 600px !important;
  margin: 0 auto 24px !important;
}

.sp-cta-actions {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
}

/* ── 30. SERVICE DETAIL PAGES MOBILE DENSITY TUNING ── */
@media (max-width: 640px) {
  .sp-section {
    padding: 52px 0 !important;
  }
  .sp-section-head {
    margin-bottom: 24px !important;
  }
  .sp-benefit-card,
  .sp-cap-card,
  .sp-deliv-card,
  .sp-case-card,
  .sp-why-card,
  .ab-value-card {
    padding: 20px 16px !important;
    border-radius: 14px !important;
  }
  .sp-cap-card p,
  .sp-benefit-card p,
  .sp-deliv-card p,
  .sp-why-card p,
  .sp-case-card p {
    margin-bottom: 12px !important;
    font-size: 13.5px !important;
  }
  .sp-cap-list {
    gap: 7px !important;
    padding-top: 12px !important;
  }
}

