/* ========================================
   SERVICE DETAIL PAGE — PREMIUM REDESIGN
   Shared by all 8 individual service pages
   ======================================== */

/* ══ HERO ════════════════════════════════ */
.service-hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  background: linear-gradient(165deg, #0A0A0A 0%, #121212 100%);
}

/* Subtle dot-grid pattern */
.service-hero .grid-bg {
  background-image:
    radial-gradient(circle, rgba(0,0,0,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.5;
}

/* Soft ambient blobs */
.sh-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.sh-glow-1 {
  width: 480px; height: 480px;
  top: -160px; left: -80px;
  background: radial-gradient(circle, rgba(107,255,46,0.07), transparent 70%);
}
.sh-glow-2 {
  width: 360px; height: 360px;
  bottom: -80px; right: 0;
  background: radial-gradient(circle, rgba(37,99,235,0.05), transparent 70%);
}

.service-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 56px;
  align-items: center;
}

.sh-left { max-width: 680px; }

/* ─── NEW PREMIUM HEADING (Formerly Badge) ─── */
.service-hero .badge {
  display: block;
  font-size: clamp(2.5rem, 5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #6BFF2E;
  text-transform: none; /* remove uppercase */
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  animation: bcFadeUp 0.6s ease 0.1s both;
}

/* Animated orange accent underline now goes under the new heading */
.service-hero .badge::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #6BFF2E, #4DE000);
  border-radius: 2px;
  margin-top: 14px;
  animation: accentGrow 0.75s cubic-bezier(0.4,0,0.2,1) 0.45s forwards;
}

/* ─── PREMIUM BREADCRUMB ─── */
.sh-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-body);
  margin-bottom: 24px; /* Slight spacing before heading */
  animation: bcFadeUp 0.6s ease both;
}

@keyframes bcFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sh-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease;
}
.sh-breadcrumb a:hover { color: var(--text-primary); }

.sh-breadcrumb svg {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* Active page text */
.bc-active {
  color: #6BFF2E;
  font-weight: 500;
}

/* ─── PAGE SUBTITLE (Formerly H1) ─── */
.sh-left h1 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 20px 0 0;
  color: var(--text-secondary);
  animation: bcFadeUp 0.6s ease 0.2s both;
}

@keyframes accentGrow {
  from { width: 0; }
  to   { width: 52px; }
}

.sh-left p {
  font-size: 1rem;
  line-height: 1.75;
  max-width: 54ch;
  margin: 18px 0 28px;
  color: var(--text-secondary);
}

.sh-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* Right panel — metrics stacked */
.sh-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sh-metric {
  background: var(--bg-card);
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

/* Left accent bar on metric card */
.sh-metric::before {
  content: '';
  position: absolute;
  left: 0; top: 16%; bottom: 16%;
  width: 3px;
  background: linear-gradient(180deg, #6BFF2E, #4DE000);
  border-radius: 0 2px 2px 0;
}

.sh-metric:hover {
  border-color: rgba(107,255,46,0.25);
  transform: translateX(3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.07);
}

.sh-metric-num {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 3px;
  color: #6BFF2E;
}

.sh-metric-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ══ APPROACH SECTION ════════════════════ */
.approach-section {
  background: var(--bg-secondary);
  position: relative;
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Section eyebrow */
.approach-left h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.approach-left p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

/* Checklist */
.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 20px;
}

.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.fc-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(107,255,46,0.1);
  border: 1px solid rgba(107,255,46,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6BFF2E;
  font-size: 0.58rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Approach cards (right column) */
.approach-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ap-card {
  background: var(--bg-card);
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 20px 22px;
  transition: all 0.25s ease;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}

/* Sweep shimmer on hover */
.ap-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(107,255,46,0.04), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.ap-card:hover {
  border-color: rgba(107,255,46,0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}

.ap-card:hover::after { opacity: 1; }

/* Step pill */
.ap-num {
  font-size: 0.65rem;
  font-weight: 800;
  color: #6BFF2E;
  letter-spacing: 0.06em;
  background: rgba(107,255,46,0.08);
  border: 1px solid rgba(107,255,46,0.15);
  border-radius: 100px;
  padding: 4px 10px;
  flex-shrink: 0;
  margin-top: 1px;
  white-space: nowrap;
}

.ap-card h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.3;
}

.ap-card p {
  font-size: 0.81rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.55;
}

/* ══ PROCESS SECTION ═════════════════════ */
.process-section {
  background: var(--bg-card);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 44px;
  position: relative;
}

/* Connecting line */
.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + 8px);
  right: calc(12.5% + 8px);
  height: 1px;
  background: linear-gradient(90deg, #6BFF2E, rgba(37,99,235,0.3));
  z-index: 0;
}

.ps-step {
  background: var(--bg-card);
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  padding: 24px 20px 22px;
  position: relative;
  transition: all 0.25s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  z-index: 1;
}

.ps-step:hover {
  border-color: rgba(107,255,46,0.3);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

/* Step number circle at top */
.ps-step::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6BFF2E;
  display: block;
  margin: 0 auto 16px;
  box-shadow: 0 0 0 4px rgba(107,255,46,0.12);
}

.ps-step:last-child::after { display: none; }

.ps-num {
  font-size: 0.63rem;
  font-weight: 800;
  color: #6BFF2E;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
  text-align: center;
}

.ps-step h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-align: center;
}

.ps-step p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
  text-align: center;
}

/* ══ RESULTS SECTION ═════════════════════ */
.results-section {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.results-section::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(107,255,46,0.02), transparent);
  pointer-events: none;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--bg-card);
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 44px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.rg-item {
  padding: 36px 24px;
  border-right: 1px solid #E5E7EB;
  text-align: center;
  transition: all 0.25s ease;
  position: relative;
}

.rg-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 20%; right: 20%;
  height: 2px;
  background: #6BFF2E;
  transform: scaleX(0);
  transition: transform 0.3s;
  border-radius: 2px;
}

.rg-item:hover { background: var(--bg-hover); }
.rg-item:hover::after { transform: scaleX(1); }
.rg-item:last-child { border-right: none; }

.rg-num {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 8px;
  color: #6BFF2E;
}

.rg-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ══ TOOLS SECTION ═══════════════════════ */
.tools-section {
  background: var(--bg-card);
}

.tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.tool-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  background: var(--bg-card);
  border: 1px solid #E5E7EB;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.tool-chip:hover {
  border-color: #6BFF2E;
  color: #6BFF2E;
  background: rgba(107,255,46,0.04);
  box-shadow: 0 4px 14px rgba(107,255,46,0.1);
  transform: translateY(-2px);
}

.tool-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6BFF2E;
  flex-shrink: 0;
}

/* ══ CASE STUDY STRIP ════════════════════ */
.case-strip {
  background: var(--bg-secondary);
}

.cs-card {
  background: var(--bg-card);
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 36px;
  align-items: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

.cs-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #6BFF2E, #2563EB);
}

.cs-card:hover {
  border-color: rgba(107,255,46,0.25);
  box-shadow: 0 16px 48px rgba(0,0,0,0.09);
  transform: translateY(-3px);
}

.cs-brand h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.cs-brand p { font-size: 0.85rem; max-width: none; margin: 0; }

.cs-results {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.cs-result { text-align: center; }

.cs-result-num {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
  color: #6BFF2E;
}

.cs-result-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.cs-cta { text-align: right; flex-shrink: 0; }

/* ══ CTA SECTION ═════════════════════════ */
.service-cta-section {
  background: var(--bg-secondary);
}

.service-cta-box {
  background: var(--bg-card);
  background-image: radial-gradient(circle at top right, rgba(107, 255, 46, 0.15) 0%, transparent 60%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Decorative circles */
.service-cta-box::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  top: -120px; right: -120px;
  pointer-events: none;
}

.service-cta-box::after {
  content: '';
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  bottom: -80px; left: -60px;
  pointer-events: none;
}

.scta-glow { display: none; } /* replaced by CSS circles */

.service-cta-box .badge {
  background: rgba(107, 255, 46, 0.1);
  border-color: rgba(107, 255, 46, 0.35);
  color: #6BFF2E;
}

.service-cta-box h2 {
  margin-bottom: 12px;
  color: #FFFFFF;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.service-cta-box p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 2;
}

.scta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.service-cta-box .btn-primary {
  background: var(--bg-card);
  color: #6BFF2E;
  box-shadow: 0 4px 20px rgba(0,0,0,0.14);
  font-weight: 700;
}
.service-cta-box .btn-primary:hover {
  background: rgba(107,255,46,0.1);
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}

.service-cta-box .btn-secondary {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.35);
  color: #FFFFFF;
}
.service-cta-box .btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.55);
  color: #FFFFFF;
}

/* ══ .text-cyan override ═════════════════ */
/* All .text-cyan on service pages = orange */
.text-cyan { color: #6BFF2E !important; }

/* ══ RESPONSIVE ══════════════════════════ */
@media (max-width: 1024px) {
  .service-hero-inner { grid-template-columns: 1fr; }
  .sh-right { flex-direction: row; flex-wrap: wrap; }
  .sh-metric { flex: 1; min-width: 130px; }
  .sh-metric::before { display: none; }

  .approach-grid { grid-template-columns: 1fr; gap: 40px; }

  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .ps-step::before { margin: 0 0 14px; }
  .ps-step h4, .ps-step p, .ps-num { text-align: left; }

  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .rg-item:nth-child(2) { border-right: none; }
  .rg-item:nth-child(1),
  .rg-item:nth-child(2) { border-bottom: 1px solid #E5E7EB; }

  .cs-card { grid-template-columns: 1fr; gap: 24px; }
  .cs-cta { text-align: left; }

  .service-cta-box { padding: 48px 32px; }
}

@media (max-width: 640px) {
  .service-hero { padding: 110px 0 60px; }
  .sh-right { display: grid; grid-template-columns: 1fr 1fr; }
  .sh-metric::before { display: none; }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps::before { display: none; }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .service-cta-box { padding: 36px 20px; }
  .service-cta-box::before,
  .service-cta-box::after { display: none; }
}
