/* ============================================
   NAKHOMBE CONSULTANTS — Services Page Styles
   Styles specific to services.html only
   ============================================ */

/* ============================================
   SERVICES OVERVIEW
   ============================================ */
.services-overview {
  padding: var(--section-padding) 0 40px;
  background: white;
}

.services-overview-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.services-overview-header .section-subtitle {
  margin: 0 auto;
}

/* ============================================
   SERVICES DETAILED — Alternating Cards
   ============================================ */
.services-detailed {
  padding: 20px 0 var(--section-padding);
  background: white;
}

.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--slate-100);
}

.service-detail-card:last-child {
  border-bottom: none;
}

/* Reverse layout for alternating cards */
.service-detail-card.reverse {
  direction: rtl;
}

.service-detail-card.reverse > * {
  direction: ltr;
}

/* Service Image */
.service-detail-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.service-detail-image img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.service-detail-image:hover img {
  transform: scale(1.05);
}

.service-detail-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 46, 22, 0.25) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.service-detail-number {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  z-index: 1;
}

/* Service Content */
.service-detail-content {
  padding: 8px 0;
}

.service-detail-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-50);
  border-radius: var(--radius-lg);
  color: var(--green-600);
  margin-bottom: 20px;
  transition: all 0.3s var(--ease-out);
}

.service-detail-card:hover .service-detail-icon {
  background: var(--gradient-green);
  color: white;
}

.service-detail-content h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-detail-content > p {
  font-size: 1rem;
  color: var(--slate-500);
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-detail-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.service-detail-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.6;
}

.service-detail-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-green);
}

/* ============================================
   PROCESS / METHODOLOGY SECTION
   ============================================ */
.process-section {
  padding: var(--section-padding) 0;
  background: var(--slate-50);
  position: relative;
}

.process-header {
  text-align: center;
  margin-bottom: 56px;
}

.process-header .section-subtitle {
  margin: 0 auto;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

/* Connecting line */
.process-timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 12px);
  right: calc(12.5% + 12px);
  height: 2px;
  background: var(--green-200);
  z-index: 0;
}

.process-step {
  position: relative;
  text-align: center;
  z-index: 1;
}

.process-step-number {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: white;
  border: 2px solid var(--green-200);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-600);
  transition: all 0.4s var(--ease-out);
  box-shadow: var(--shadow-md);
}

.process-step:hover .process-step-number {
  background: var(--gradient-green);
  color: white;
  border-color: var(--green-500);
  transform: translateY(-4px);
  box-shadow: var(--shadow-green);
}

.process-step-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 8px;
}

.process-step-content p {
  font-size: 0.9rem;
  color: var(--slate-500);
  line-height: 1.7;
  max-width: 260px;
  margin: 0 auto;
}

/* ============================================
   SERVICES HERO — Image Background + Prismatic Slider
   ============================================ */
.svc-hero {
  position: relative;
  padding: calc(var(--nav-height) + 60px) 0 80px;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}

/* Background Image Slider (like index.html) */
.svc-hero-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.svc-hero-bg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.svc-hero-bg-slide.active {
  opacity: 1;
}

.svc-hero-bg-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-hero-bg-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5, 46, 22, 0.88) 0%,
    rgba(66, 42, 25, 0.75) 50%,
    rgba(15, 23, 42, 0.82) 100%
  );
}

/* Hero Layout */
.svc-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.svc-hero-content {
  animation: fadeInUp 0.8s var(--ease-out) both;
}

/* ============================================
   BREADCRUMB — Terrain Waypoint Trail
   Premium waypoint markers with gradient SVG trail,
   flowing dash animation, and warm beacon glow.
   ============================================ */
.svc-breadcrumb {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 22px 8px 8px;
  margin-bottom: 28px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow:
    0 4px 24px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.05);
  animation: bc-enter 0.7s var(--ease-out) 0.15s both;
  transition: border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.svc-breadcrumb:hover {
  border-color: rgba(255,255,255,0.13);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.15),
    inset 0 1px 0 rgba(255,255,255,0.07);
}

@keyframes bc-enter {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* --- OL container --- */
.bc {
  display: inline-flex;
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 2;
}

/* ---- Waypoint item wrapper ---- */
.bc__waypoint {
  display: flex;
  align-items: center;
  position: relative;
  animation: bc-item-in 0.55s var(--ease-out) both;
}

.bc__waypoint:nth-child(1) { animation-delay: 0.2s; }
.bc__waypoint:nth-child(3) { animation-delay: 0.5s; }

@keyframes bc-item-in {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ---- Node (shared base for Home + Active) ---- */
.bc__node {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding: 5px 16px 5px 5px;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
  z-index: 2;
}

.bc__node:hover {
  background: rgba(255,255,255,0.06);
}

/* ---- Node ring (icon circle) ---- */
.bc__node-ring {
  position: relative;
  z-index: 3;
  width: 34px;
  height: 34px;
  min-width: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.1);
  transition: all 0.4s var(--ease-out);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.bc__node:hover .bc__node-ring {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

/* ---- Active node ring ---- */
.bc__node-ring--active {
  background: rgba(22,163,74,0.15);
  border-color: rgba(52,211,153,0.35);
  box-shadow:
    0 0 0 4px rgba(52,211,153,0.06),
    0 2px 10px rgba(52,211,153,0.12);
}

.bc__node--active:hover .bc__node-ring--active {
  transform: scale(1.1);
  box-shadow:
    0 0 0 6px rgba(52,211,153,0.08),
    0 4px 18px rgba(52,211,153,0.18);
}

/* ---- Beacon (active pulse dot) ---- */
.bc__beacon {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-400);
  top: -2px;
  right: -2px;
  z-index: 4;
  box-shadow: 0 0 8px rgba(52,211,153,0.6);
  animation: bc-beacon-pulse 2.8s ease-in-out infinite;
}

@keyframes bc-beacon-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 8px rgba(52,211,153,0.6);
  }
  50% {
    opacity: 0.65;
    transform: scale(1.5);
    box-shadow: 0 0 14px rgba(52,211,153,0.35);
  }
}

/* ---- Node icon ---- */
.bc__node-icon {
  position: relative;
  z-index: 2;
  color: rgba(255,255,255,0.4);
  transition: all 0.35s var(--ease-out);
}

.bc__node:hover .bc__node-icon {
  color: rgba(255,255,255,0.85);
}

.bc__node-ring--active .bc__node-icon {
  color: var(--green-300);
}

.bc__node--active:hover .bc__node-ring--active .bc__node-icon {
  color: var(--green-200);
}

/* ---- Label ---- */
.bc__label {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.38);
  white-space: nowrap;
  line-height: 1;
  letter-spacing: 0.35px;
  transition: all 0.35s var(--ease-out);
  position: relative;
  z-index: 3;
}

.bc__node:hover .bc__label {
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.5px;
}

.bc__label--active {
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.5px;
}

.bc__node--active:hover .bc__label--active {
  color: white;
  letter-spacing: 0.7px;
}

/* ---- Trail connector (SVG path + arrow) ---- */
.bc__trail {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 4px;
  flex-shrink: 0;
  animation: bc-trail-fade 0.5s var(--ease-out) 0.35s both;
}

@keyframes bc-trail-fade {
  from { opacity: 0; transform: scaleX(0.5); }
  to { opacity: 1; transform: scaleX(1); }
}

.bc__trail-svg {
  display: block;
  overflow: visible;
}

.bc__trail-path {
  stroke-dasharray: 3 5;
  animation: bc-trail-flow 3.5s linear infinite;
}

@keyframes bc-trail-flow {
  to {
    stroke-dashoffset: -40;
  }
}

.bc__trail-arrow {
  color: rgba(255,255,255,0.22);
  flex-shrink: 0;
  margin-left: 1px;
  transition: color 0.3s var(--ease-out);
}

.svc-breadcrumb:hover .bc__trail-arrow {
  color: rgba(255,255,255,0.35);
}




/* Hero heading */
.svc-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  margin-bottom: 20px;
}

.svc-highlight {
  background: linear-gradient(135deg, var(--green-300) 0%, var(--green-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.svc-hero-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 520px;
}

/* Tags — Horizontal Auto-Slide Marquee */
.svc-hero-tags-track {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  max-width: 520px;
}

.svc-hero-tags-marquee {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: svc-tags-scroll 28s linear infinite;
}

.svc-hero-tags-marquee:hover {
  animation-play-state: paused;
}

@keyframes svc-tags-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.svc-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  backdrop-filter: blur(8px);
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
  flex-shrink: 0;
}

.svc-tag:hover {
  background: rgba(255,255,255,0.15);
  color: white;
  border-color: rgba(255,255,255,0.25);
}

/* Hero Visual — 3D Prismatic Carousel Slider */
.svc-hero-visual {
  position: relative;
  animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

.svc-prism-slider {
  position: relative;
  width: 100%;
  perspective: 1200px;
}

.prism-stage {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(0,0,0,0.15);
  box-shadow:
    0 25px 60px -15px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.06),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.prism-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

/* Individual slide */
.prism-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.88) rotateY(25deg) translateX(60px);
  filter: blur(4px) brightness(0.6);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
  pointer-events: none;
}

.prism-slide.active {
  opacity: 1;
  transform: scale(1) rotateY(0deg) translateX(0);
  filter: blur(0) brightness(1);
  z-index: 3;
  pointer-events: auto;
}

.prism-slide.prev {
  opacity: 0.4;
  transform: scale(0.82) rotateY(-18deg) translateX(-80px);
  filter: blur(3px) brightness(0.5);
  z-index: 1;
}

.prism-slide.next {
  opacity: 0.4;
  transform: scale(0.82) rotateY(18deg) translateX(80px);
  filter: blur(3px) brightness(0.5);
  z-index: 1;
}

.prism-slide-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.prism-slide-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 5s ease-out;
}

.prism-slide.active .prism-slide-inner img {
  transform: scale(1.08);
}

/* Reflection overlay — cinematic gradient at bottom */
.prism-slide-reflection {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 46, 22, 0.75) 0%,
    rgba(5, 46, 22, 0.3) 30%,
    rgba(0,0,0,0) 60%,
    rgba(0,0,0,0.1) 100%
  );
  pointer-events: none;
}

/* Glassmorphism caption */
.prism-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.3px;
  transform: translateY(16px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.prism-slide.active .prism-caption {
  transform: translateY(0);
  opacity: 1;
}

.prism-caption-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brown-400);
  box-shadow: 0 0 6px rgba(176, 137, 104, 0.5);
}

/* Per-Dot Progress Ring Navigation */
.prism-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  height: 48px;
}

.prism-dot-wrap {
  position: relative;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.prism-dot-ring {
  position: absolute;
  inset: 0;
  width: 36px;
  height: 36px;
  transform: rotate(-90deg);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.prism-dot-wrap.active .prism-dot-ring {
  opacity: 1;
}

.prism-dot-progress {
  transition: stroke-dashoffset 4s linear;
}

.prism-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
  background: transparent;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  z-index: 2;
  padding: 0;
}

.prism-dot:hover {
  border-color: rgba(255,255,255,0.5);
}

.prism-dot-wrap:hover .prism-dot {
  transform: scale(1.15);
}

.prism-dot.active {
  width: 10px;
  height: 10px;
  border-color: var(--brown-400);
  background: var(--brown-400);
  box-shadow:
    0 0 10px rgba(176, 137, 104, 0.45),
    0 0 20px rgba(176, 137, 104, 0.15);
}

/* ============================================
   BENTO GRID — Services Cards
   ============================================ */
.svc-bento {
  padding: var(--section-padding) 0;
  background: var(--slate-50);
}

.svc-bento-header {
  text-align: center;
  margin-bottom: 48px;
}

.svc-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  grid-auto-rows: minmax(200px, auto);
}

/* Card Types — spanning */
.svc-bento-card--large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 420px;
}

.svc-bento-card--medium {
  grid-column: span 1;
  min-height: 260px;
}

.svc-bento-card--small {
  grid-column: span 1;
  min-height: 220px;
}

.svc-bento-card--wide {
  grid-column: span 2;
  min-height: 260px;
}

/* Tall card — spans right column over 2 rows */
.svc-bento-card--tall {
  grid-column: 3;
  grid-row: span 2;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Tall card — Background image slider */
.svc-showcase-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.svc-showcase-bg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.svc-showcase-bg-slide.active {
  opacity: 1;
}

.svc-showcase-bg-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-showcase-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 46, 22, 0.88) 0%,
    rgba(44, 26, 14, 0.82) 50%,
    rgba(15, 23, 42, 0.9) 100%
  );
  z-index: 1;
}

/* Services Showcase Carousel */
.svc-showcase-carousel {
  position: relative;
  z-index: 2;
  flex: 1;
  overflow: hidden;
  padding: 36px 28px 16px;
}

.svc-showcase-slide {
  position: absolute;
  inset: 0;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.svc-showcase-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.svc-showcase-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--brown-300);
  margin-bottom: 20px;
  transition: all 0.4s var(--ease-out);
}

.svc-showcase-slide.active .svc-showcase-icon {
  background: rgba(176, 137, 104, 0.15);
  border-color: rgba(176, 137, 104, 0.25);
}

.svc-showcase-icon--cta {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: var(--green-300);
  background: rgba(52, 211, 153, 0.1);
  border-color: rgba(52, 211, 153, 0.2);
}

.svc-showcase-slide h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
  line-height: 1.3;
}

.svc-showcase-slide p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 260px;
}

.svc-showcase-slide--cta h4 {
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--green-300) 0%, var(--brown-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.svc-showcase-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 24px;
  background: var(--gradient-green);
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease-out);
  box-shadow: var(--shadow-green);
}

.svc-showcase-cta-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22,163,74,0.4);
}

.svc-showcase-cta-link svg {
  transition: transform 0.3s var(--ease-out);
}

.svc-showcase-cta-link:hover svg {
  transform: translateX(3px);
}

/* Showcase Dots */
.svc-showcase-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 12px 28px 24px;
}

.svc-showcase-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s var(--ease-out);
}

.svc-showcase-dot.active {
  width: 20px;
  border-radius: 3px;
  background: var(--brown-400);
  box-shadow: 0 0 8px rgba(176, 137, 104, 0.4);
}

.svc-showcase-dot:hover:not(.active) {
  background: rgba(255,255,255,0.4);
}

/* Base Card */
.svc-bento-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.45s var(--ease-out);
  cursor: default;
}

.svc-bento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2xl);
}

/* Cards WITH a background image */
.svc-bento-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.svc-bento-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.svc-bento-card:hover .svc-bento-card-bg img {
  transform: scale(1.06);
}

.svc-bento-card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 46, 22, 0.92) 0%,
    rgba(5, 46, 22, 0.7) 35%,
    rgba(5, 46, 22, 0.35) 100%
  );
  transition: background 0.4s ease;
}

.svc-bento-card:hover .svc-bento-card-bg::after {
  background: linear-gradient(
    to top,
    rgba(5, 46, 22, 0.95) 0%,
    rgba(5, 46, 22, 0.65) 35%,
    rgba(5, 46, 22, 0.3) 100%
  );
}

/* Card content (over image) */
.svc-bento-card-content {
  position: relative;
  z-index: 2;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  color: white;
}

.svc-bento-num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-300);
  opacity: 0.7;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.svc-bento-card-content h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.svc-bento-card--large .svc-bento-card-content h3 {
  font-size: 1.8rem;
}

.svc-bento-card-content p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 500px;
}

.svc-bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
  list-style: none;
  padding: 0;
}

.svc-bento-tags li {
  padding: 4px 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}

/* Bento link */
.svc-bento-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-300);
  transition: all 0.3s var(--ease-out);
}

.svc-bento-link:hover {
  gap: 12px;
  color: var(--green-200);
}

.svc-bento-link svg {
  transition: transform 0.3s var(--ease-out);
}

.svc-bento-card:hover .svc-bento-link svg {
  transform: translateX(4px);
}

.svc-bento-link--dark {
  color: var(--green-600);
}

.svc-bento-link--dark:hover {
  color: var(--green-700);
}

/* Cards — Small (now image-backed like others) */
.svc-bento-card--small .svc-bento-card-content h3 {
  font-size: 1.15rem;
}

.svc-bento-card--small .svc-bento-card-content p {
  font-size: 0.88rem;
}

/* ============================================
   HOW WE WORK — Vertical Process Steps
   ============================================ */
.svc-process {
  padding: var(--section-padding) 0;
  background: white;
}

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

.svc-process-sticky {
  position: sticky;
  top: calc(var(--nav-height) + 40px);
}

.svc-process-sticky .section-subtitle {
  margin-bottom: 28px;
}

.svc-process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.svc-step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  position: relative;
}

.svc-step:not(:last-child) {
  border-bottom: 1px solid var(--slate-100);
}

.svc-step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.svc-step-num {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--green-50);
  color: var(--green-600);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border: 2px solid var(--green-100);
  transition: all 0.4s var(--ease-out);
}

.svc-step:hover .svc-step-num {
  background: var(--gradient-green);
  color: white;
  border-color: var(--green-500);
  box-shadow: var(--shadow-green);
}

.svc-step-line {
  width: 2px;
  flex: 1;
  background: var(--green-100);
  margin-top: 8px;
}

.svc-step-body h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 8px;
  margin-top: 10px;
}

.svc-step-body p {
  font-size: 0.92rem;
  color: var(--slate-500);
  line-height: 1.7;
}

/* ============================================
   WHY NAKHOMBE — Impact Numbers
   ============================================ */
.svc-impact {
  padding: var(--section-padding) 0;
  background: var(--slate-50);
}

.svc-impact-header {
  text-align: center;
  margin-bottom: 48px;
}

.svc-impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.svc-impact-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--slate-100);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.svc-impact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.svc-impact-card:hover::before {
  transform: scaleX(1);
}

.svc-impact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.svc-impact-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green-600);
  line-height: 1;
  margin-bottom: 12px;
}

.svc-impact-number span {
  color: var(--green-400);
}

.svc-impact-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 8px;
}

.svc-impact-card p {
  font-size: 0.85rem;
  color: var(--slate-500);
  line-height: 1.6;
}

/* ============================================
   SERVICES CTA — Full Width Banner
   ============================================ */
.svc-cta {
  position: relative;
  padding: var(--section-padding) 0;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.svc-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.svc-cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5, 46, 22, 0.92) 0%,
    rgba(66, 42, 25, 0.82) 50%,
    rgba(15, 23, 42, 0.88) 100%
  );
}

.svc-cta .container {
  position: relative;
  z-index: 2;
}

.svc-cta-content {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.svc-cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: 16px;
}

.svc-cta-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 36px;
}

.svc-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   RESPONSIVE — SERVICES (TABLET)
   ============================================ */
@media (max-width: 1024px) {
  /* Service Detail Cards — Tablet */
  .service-detail-card {
    gap: 36px;
  }

  .service-detail-image img {
    height: 280px;
  }

  .service-detail-list {
    grid-template-columns: 1fr;
  }

  /* Process Timeline — Tablet */
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .process-timeline::before {
    display: none;
  }

  /* Services Page — Tablet */
  .svc-hero-inner {
    gap: 40px;
  }

  .svc-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-bento-card--large {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 320px;
  }

  .svc-bento-card--wide {
    grid-column: span 2;
  }

  .svc-bento-card--tall {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 360px;
  }

  .svc-impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-process-grid {
    gap: 40px;
  }
}

/* ============================================
   RESPONSIVE — SERVICES (MOBILE)
   ============================================ */
@media (max-width: 768px) {
  /* Service Detail Cards — Mobile */
  .service-detail-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0;
  }

  .service-detail-card.reverse {
    direction: ltr;
  }

  .service-detail-image img {
    height: 240px;
  }

  .service-detail-content h3 {
    font-size: 1.3rem;
  }

  .service-detail-list {
    grid-template-columns: 1fr;
  }

  /* Process Timeline — Mobile */
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .process-timeline::before {
    display: none;
  }

  .process-step {
    display: flex;
    text-align: left;
    gap: 20px;
    align-items: flex-start;
  }

  .process-step-number {
    width: 56px;
    height: 56px;
    min-width: 56px;
    margin: 0;
    font-size: 1.1rem;
  }

  .process-step-content p {
    max-width: none;
    margin: 0;
  }

  /* Breadcrumb — Mobile */
  .svc-breadcrumb {
    padding: 7px 16px 7px 7px;
  }

  .bc__node-ring {
    width: 30px;
    height: 30px;
    min-width: 30px;
  }

  .bc__trail-svg {
    width: 36px;
  }

  .bc__trail {
    padding: 0 2px;
  }

  .bc__label {
    font-size: 0.78rem;
  }

  /* Services Page — Mobile */
  .svc-hero {
    min-height: auto;
    padding: calc(var(--nav-height) + 40px) 0 60px;
  }

  .svc-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .svc-hero h1 {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .svc-hero-visual {
    display: none;
  }

  .svc-hero-tags-track {
    max-width: 100%;
  }

  /* Bento Grid — Mobile */
  .svc-bento-grid {
    grid-template-columns: 1fr;
  }

  .svc-bento-card--large,
  .svc-bento-card--medium,
  .svc-bento-card--wide {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 260px;
  }

  .svc-bento-card--tall {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 340px;
  }

  .svc-bento-card--large .svc-bento-card-content h3 {
    font-size: 1.4rem;
  }

  .svc-bento-card-content {
    padding: 24px;
  }

  /* Process — Mobile */
  .svc-process-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .svc-process-sticky {
    position: static;
  }

  /* Impact — Mobile */
  .svc-impact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .svc-impact-card {
    padding: 24px 20px;
  }

  .svc-impact-number {
    font-size: 2rem;
  }

  /* CTA — Mobile */
  .svc-cta-content h2 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .svc-cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .svc-cta-actions .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

/* ============================================
   SMALL MOBILE — SERVICES
   ============================================ */
@media (max-width: 480px) {
  .service-detail-content h3 {
    font-size: 1.15rem;
  }

  /* Breadcrumb — Small Mobile */
  .svc-breadcrumb {
    padding: 6px 12px 6px 6px;
  }

  .bc__trail-svg {
    width: 28px;
  }

  .bc__node-ring {
    width: 26px;
    height: 26px;
    min-width: 26px;
  }

  .bc__beacon {
    width: 5px;
    height: 5px;
  }

  /* Services Page — Small Mobile */
  .svc-hero h1 {
    font-size: 1.8rem;
  }

  .svc-impact-grid {
    grid-template-columns: 1fr;
  }

  .svc-bento-card--large,
  .svc-bento-card--medium,
  .svc-bento-card--wide,
  .svc-bento-card--tall {
    min-height: 220px;
  }
}
