/* ==========================================================================
   GEN AI INDIA - SERVICE PAGE DESIGN SYSTEM  (v4 - logo palette)
   --------------------------------------------------------------------------
   Reusable layer for individual service pages. Scoped under .sp-page with an
   sp- prefix so nothing leaks into the theme.

   Rules: headings weight 700 (#2c3e50); every paragraph 16px / 400 / #5b6478
   except the hero lead; light grounds and soft-tinted CTA panels only; dark
   text-free visuals in rounded frames; theme FAQ accordion.

   Contents
     1. Tokens & base      5. Reveal / motion        6.6  Steps + side card
     2. Typography         6. Components             6.7  Case slider
     3. Buttons               6.1 Hero               6.8  Pill tabs + tool tiles
     4. Layout                6.2 CTA panel          6.9  FAQ
                              6.3 Feature cards      6.10 Final CTA
                              6.4 Point cards        7. Responsive
                              6.5 Services           8. Reduced motion
   ========================================================================== */

/* ==========================================================================
   1. TOKENS & BASE
   ========================================================================== */
.sp-page {
  --sp-primary: #4a21d9;
  --sp-primary-2: #6d2ee6;
  --sp-primary-3: #b23fd6;
  --sp-magenta: #dd1a7f;
  --sp-accent: #6d2ee6;
  --sp-heading: #2c3e50;
  --sp-ink: #171235;
  --sp-muted: #5b6478;
  --sp-muted-2: #8892a6;

  --sp-white: #ffffff;
  --sp-tint: #f8f6fe;
  --sp-tint-2: #efeafd;
  --sp-line: #e7e4f2;
  --sp-line-strong: rgba(74, 33, 217, 0.22);

  --sp-grad-btn: linear-gradient(90deg, var(--sp-primary) 0%, var(--sp-primary-2) 48%, var(--sp-magenta) 100%);
  --sp-chip: linear-gradient(135deg, rgba(109, 46, 230, 0.12), rgba(221, 26, 127, 0.14));
  --sp-soft: linear-gradient(135deg, #efeafd 0%, #f8f6fe 55%, #ffffff 100%);
  --sp-grad: linear-gradient(105deg, #3a17c4 0%, var(--sp-primary-2) 50%, #c8207f 100%);

  --sp-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
  --sp-shadow-md: 0 22px 50px rgba(15, 23, 42, 0.14);
  --sp-shadow-dark: 0 28px 60px rgba(12, 14, 58, 0.35);
  --sp-radius: 18px;
  --sp-radius-lg: 26px;

  --sp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sp-dur: 0.7s;
  --sp-sticky-top: 110px;

  
  color: var(--sp-ink);
  background: var(--sp-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.sp-page *, .sp-page *::before, .sp-page *::after { box-sizing: border-box; }
.sp-page img { max-width: 100%; height: auto; }
.sp-page svg { max-width: 100%; }
.sp-page a { text-decoration: none; }
.sp-page :focus-visible { outline: 2px solid var(--sp-primary-2); outline-offset: 3px; }
.sp-page ul[role="list"], .sp-page ol[role="list"] { list-style: none; margin: 0; padding: 0; }
.sp-page button { font: inherit; }

/* One paragraph style for the whole page (hero lead is the only exception). */
.sp-page p {
  margin: 0 0 1rem;
  color: var(--sp-muted);
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.7;
}
.sp-page p:last-child { margin-bottom: 0; }
.sp-page h1, .sp-page h2, .sp-page h3, .sp-page h4 {
  margin: 0;
  color: var(--sp-heading);
  font-weight: 700;
  line-height: 1.25;
}

/* ==========================================================================
   2. TYPOGRAPHY
   ========================================================================== */
.sp-page .sp-heading {
  margin-bottom: 1.1rem;
  font-size: clamp(1.8rem, 2.9vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.sp-heading em, .sp-accent-text { color: var(--sp-accent); font-style: normal; }
.sp-page .sp-lead { max-width: 720px; margin: 0 auto; }
.sp-section-head { max-width: 860px; margin: 0 auto 3.25rem; text-align: center; }
.sp-section-head--left { margin: 0 0 2.75rem; text-align: left; }
.sp-section-head--left .sp-lead { margin: 0; }
/* Short gradient rule under every section heading. */
.sp-section-head .sp-heading::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 4px;
  background: var(--sp-grad-btn);
}
.sp-section-head--left .sp-heading::after { margin-left: 0; }

.sp-label {
  display: block;
  margin-bottom: 8px;
  color: var(--sp-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.sp-tag {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid var(--sp-line-strong);
  border-radius: 999px;
  background: var(--sp-white);
  color: var(--sp-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Icon chip: tinted square with an indigo line icon. */
.sp-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--sp-chip);
  color: var(--sp-primary);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--sp-ease);
}
.sp-ico svg { width: 24px; height: 24px; }

/* ==========================================================================
   3. BUTTONS
   ========================================================================== */
.sp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.3s var(--sp-ease), box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.sp-btn__icon { width: 1.05em; height: 1.05em; flex: 0 0 auto; transition: transform 0.3s var(--sp-ease); }
.sp-btn:hover .sp-btn__icon, .sp-btn:focus-visible .sp-btn__icon { transform: translate(3px, -3px); }
.sp-btn--primary { background: var(--sp-grad-btn); color: var(--sp-white); box-shadow: 0 10px 24px rgba(109, 46, 230, 0.25); }
.sp-btn--primary:hover, .sp-btn--primary:focus-visible { color: var(--sp-white); transform: translateY(-2px); box-shadow: 0 16px 36px rgba(109, 46, 230, 0.38); }
.sp-btn--white { background: var(--sp-white); color: var(--sp-ink); box-shadow: var(--sp-shadow-sm); }
.sp-btn--white:hover, .sp-btn--white:focus-visible { color: var(--sp-primary); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(5, 6, 15, 0.2); }

/* ==========================================================================
   4. LAYOUT
   ========================================================================== */
.sp-section { position: relative; padding: 88px 0; }
.sp-section--tint {     background: linear-gradient(180deg, #f3eefe 0%, #f9f7ff 50%, #f9f7ff 100%); }
.sp-section--grey { background: #f9f8fc; }
.sp-split > * { min-width: 0; }
.sp-split {
  display: grid;
  grid-template-columns: minmax(0, var(--sp-a, 1fr)) minmax(0, var(--sp-b, 3fr));
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.sp-split--start { align-items: start; }
.sp-split--5-7 { --sp-a: 5fr; --sp-b: 7fr; }
.sp-split--7-5 { --sp-a: 7fr; --sp-b: 5fr; }
.sp-split--4-8 { --sp-a: 4fr; --sp-b: 8fr; }
.sp-sticky { position: sticky; top: var(--sp-sticky-top); }

/* Dark visual in a rounded frame with a soft indigo shadow. */
/* .sp-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--sp-radius-lg);
  background: #0d0926;
  box-shadow: var(--sp-shadow-dark);
} */
.sp-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--sp-ease);border-radius:10px; }
.sp-media:hover img { transform: scale(1.03); }
.sp-media--portrait { aspect-ratio: 4 / 5; }
.sp-media--wide { aspect-ratio: 1200 / 460; }
.sp-media--square { aspect-ratio: 9 / 10; }
.sp-media--43 { aspect-ratio: 4 / 3; }
.sp-media--soft { box-shadow: var(--sp-shadow-md); }

/* ==========================================================================
   5. REVEAL / MOTION (only when JS tags the page with .sp-js)
   ========================================================================== */
.sp-js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity var(--sp-dur) ease, transform calc(var(--sp-dur) + 0.15s) var(--sp-ease);
  transition-delay: calc(var(--i, 0) * 90ms);
  will-change: opacity, transform;
}
.sp-js [data-reveal="left"]  { transform: translate3d(-30px, 0, 0); }
.sp-js [data-reveal="right"] { transform: translate3d(30px, 0, 0); }
.sp-js [data-reveal="scale"] { transform: scale(0.96); }
.sp-js [data-reveal].is-visible { opacity: 1; transform: none; will-change: auto; }

/* ==========================================================================
   6. COMPONENTS
   ========================================================================== */

/* ---- 6.1 Hero ------------------------------------------------------------ */
.sp-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 580px;
  padding: 96px 0 120px;
  background: #120c34;
  color: var(--sp-white);
}
.sp-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.sp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(18, 12, 52, 0.8) 0%, rgba(18, 12, 52, 0.58) 45%, rgba(18, 12, 52, 0) 80%);
}
.sp-hero__inner { max-width: 680px; }
.sp-page .sp-hero__title {
  margin: 0 0 1.2rem;
  color: var(--sp-white);
  font-size: clamp(2.1rem, 3.8vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
  text-shadow: 0 2px 14px rgba(5, 6, 15, 0.55);
}
/* The only paragraph that differs from the page default. */
.sp-page .sp-hero__lead { max-width: 620px; margin-bottom: 20px; color: var(--sp-white); font-size: 17px; font-weight: 400; line-height: 1.55; text-shadow: 0 2px 14px rgba(5, 6, 15, 0.5); }
.sp-badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.75rem 0 0; }
.sp-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--sp-white);
  font-size: 0.92rem;
  font-weight: 600;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.sp-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background:white;flex: 0 0 auto; }
.sp-badge:hover { border-color: rgba(178, 63, 214, 0.8); background: rgba(178, 63, 214, 0.2); }

/* ---- 6.2 CTA panel (soft tinted card) ------------------------------------ */
.sp-cta { position: relative; padding: 0 0 88px; }
.sp-cta--banner { margin-top: -64px; padding-bottom: 0; z-index: 2; }
.sp-cta__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(36px, 4.5vw, 56px) clamp(30px, 4.5vw, 64px);
  border: 0;
  border-radius: var(--sp-radius-lg);
  background: var(--sp-grad);
  color: var(--sp-white);
  box-shadow: 0 24px 60px rgba(74, 33, 217, 0.32);
}
.sp-cta__panel::before {
  content: "";
  position: absolute;
  right: -140px;
  top: -140px;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.18), transparent);
  pointer-events: none;
}
.sp-cta__bg { display: none; }
.sp-page .sp-cta__title { color: var(--sp-white); margin-bottom: 0.7rem; font-size: clamp(1.4rem, 2.3vw, 1.9rem); font-weight: 700; line-height: 1.3; text-wrap: balance; }
.sp-page .sp-cta__text { color: rgba(255, 255, 255, 0.92); }
.sp-cta__panel .sp-btn { flex: 0 0 auto; }
.sp-cta__panel .sp-btn--primary { background: var(--sp-white); color: var(--sp-primary); box-shadow: 0 12px 28px rgba(5, 6, 15, 0.22); }
.sp-cta__panel .sp-btn--primary:hover, .sp-cta__panel .sp-btn--primary:focus-visible { color: var(--sp-primary); box-shadow: 0 18px 36px rgba(5, 6, 15, 0.3); }
.sp-cta__panel--stack { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.sp-cta__panel--stack .sp-btn { margin-top: 1.4rem; }
.sp-cta__art { border-radius: 24px; overflow: hidden; background: #f8f6fe; box-shadow: 0 24px 50px rgba(5, 6, 15, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.18); }
.sp-cta__art img { display: block; width: 100%; height: auto; border-radius: 24px; }

/* ---- 6.3 Feature cards ----------------------------------------------------- */
.sp-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 3.25rem; }
.sp-features--flush { margin-top: 0; }
.sp-features--1col { grid-template-columns: 1fr; }
.sp-feature {
  position: relative;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 32px 30px;
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius);
  background: var(--sp-white);
  box-shadow: var(--sp-shadow-sm);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.35s var(--sp-ease);
}
.sp-feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--sp-grad-btn);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.sp-feature:hover { border-color: var(--sp-line-strong); box-shadow: var(--sp-shadow-md); transform: translateY(-4px); }
.sp-feature:hover::before { opacity: 1; }
.sp-feature:hover .sp-ico { background: var(--sp-grad-btn); color: var(--sp-white); }
.sp-feature h3 { margin-bottom: 0.6rem; font-size: 1.2rem; line-height: 1.35; }

/* ---- 6.4 Point cards ------------------------------------------------------ */
.sp-points { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.sp-point {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 26px 28px;
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius);
  background: var(--sp-white);
  box-shadow: var(--sp-shadow-sm);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.35s var(--sp-ease);
}
.sp-point:hover { border-color: var(--sp-line-strong); box-shadow: var(--sp-shadow-md); transform: translateX(6px); }
.sp-point:hover .sp-ico { background: var(--sp-grad-btn); color: var(--sp-white); }
.sp-point h3 { margin-bottom: 0.5rem; font-size: 1.15rem; line-height: 1.35; }

/* ---- 6.5 Services: numbered list + detail column -------------------------- */
.sp-services { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4.5vw, 56px); align-items: center; }
.sp-list {
  margin: 0;
  padding: 10px;
  list-style: none;
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius-lg);
  background: var(--sp-white);
  box-shadow: var(--sp-shadow-md);
}
.sp-list__item { border-radius: 16px; transition: background 0.3s ease; }
.sp-list__item + .sp-list__item { margin-top: 4px; }
.sp-list__btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 18px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--sp-muted);
  font-size: 1.02rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.sp-list__btn h3 { font: inherit; color: inherit; margin: 0; font-size: 1.02rem; font-weight: 600; }
.sp-list__idx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sp-tint-2);
  color: var(--sp-primary);
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 0.3s ease, color 0.3s ease;
}
.sp-list__btn:hover { color: var(--sp-heading); background: var(--sp-tint); }
.sp-list__item.is-active .sp-list__btn { color: var(--sp-heading); background: var(--sp-tint-2); font-weight: 700; }
.sp-list__item.is-active .sp-list__btn h3 { font-weight: 700; }
.sp-list__item.is-active .sp-list__idx { background: var(--sp-grad-btn); color: var(--sp-white); box-shadow: 0 8px 18px rgba(109, 46, 230, 0.3); }
.sp-list__btn::after {
  content: "";
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  opacity: 0.45;
  transition: transform 0.3s var(--sp-ease), opacity 0.3s ease;
}
.sp-list__item.is-active .sp-list__btn::after { opacity: 1; color: var(--sp-primary); }
.sp-list__desc { padding: 0 18px 20px 78px; }
.sp-js .sp-list__desc { display: none; }

.sp-detail { display: none; }
.sp-js .sp-detail { display: block; }
.sp-detail .sp-media { margin-bottom: -40px; }
.sp-detail .sp-media img { transition: opacity 0.4s ease, transform 0.8s var(--sp-ease); }
.sp-detail-card {
  position: relative;
  margin: 0 28px;
  padding: 30px 32px 32px;
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius);
  background: var(--sp-white);
  box-shadow: var(--sp-shadow-md);
}
.sp-detail-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  bottom: 26px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--sp-grad-btn);
}
.sp-detail-card h3 { margin-bottom: 0.6rem; font-size: 1.4rem; line-height: 1.3; }
.sp-detail-card.is-switching h3, .sp-detail-card.is-switching p { animation: sp-fade-in 0.45s var(--sp-ease) both; }
@keyframes sp-fade-in { from { opacity: 0; transform: translate3d(0, 8px, 0); } to { opacity: 1; transform: none; } }

/* ---- 6.6 Steps + side card ------------------------------------------------ */
.sp-steps { position: relative; margin: 0; padding: 0; list-style: none; }
.sp-steps::before { content: ""; position: absolute; top: 28px; bottom: 28px; left: 27px; width: 2px; background: var(--sp-line); }
.sp-step { position: relative; display: flex; gap: 24px; align-items: flex-start; padding-bottom: 2.6rem; }
.sp-step:last-child { padding-bottom: 0; }
.sp-step__num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border: 2px solid var(--sp-line);
  border-radius: 50%;
  background: var(--sp-white);
  color: var(--sp-muted-2);
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.sp-step.is-active .sp-step__num, .sp-step:hover .sp-step__num { border-color: transparent; background: var(--sp-grad-btn); color: var(--sp-white); box-shadow: 0 10px 24px rgba(109, 46, 230, 0.3); }
.sp-step__body { padding-top: 10px; }
.sp-step h3 { margin-bottom: 0.55rem; font-size: 1.2rem; line-height: 1.35; transition: color 0.3s ease; }
.sp-step.is-active h3 { color: var(--sp-primary); }
.sp-page .sp-step__out {
  margin-top: 0.8rem;
  padding: 14px 18px;
  border-left: 3px solid var(--sp-primary-3);
  border-radius: 0 12px 12px 0;
  background: var(--sp-tint-2);
  color: var(--sp-heading);
}

.sp-side-card { overflow: hidden; border: 1px solid var(--sp-line); border-radius: var(--sp-radius-lg); background: var(--sp-white); box-shadow: var(--sp-shadow-md); }
.sp-side-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: #f8f6fe; }
.sp-side-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sp-side-card__body { padding: 28px 30px 32px; }
.sp-side-card h3 { margin-bottom: 0.6rem; font-size: 1.35rem; line-height: 1.3; }
.sp-side-card .sp-btn { margin-top: 1.3rem; }

/* ---- 6.7 Case slider ------------------------------------------------------ */
.sp-slider { position: relative; }
.sp-slider__track {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 6px 6px 22px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.sp-slider__track::-webkit-scrollbar { display: none; }
.sp-slide > * { min-width: 0; }
.sp-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius-lg);
  background: var(--sp-white);
  box-shadow: var(--sp-shadow-md);
}
/* Portrait dark visual fills the full card height. */
.sp-slide__media { position: relative; aspect-ratio: 1200 / 825; margin: clamp(18px, 2.5vw, 32px) 0 clamp(18px, 2.5vw, 32px) clamp(18px, 2.5vw, 32px); border-radius: 18px; overflow: hidden; background: #f8f6fe; box-shadow: var(--sp-shadow-sm); }
.sp-slide__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.sp-slide__body { padding: clamp(28px, 3.5vw, 44px); }
.sp-slide__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 14px; }
.sp-slide__num { color: var(--sp-muted-2); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; }
.sp-page .sp-slide__title { margin: 0 0 1.3rem; font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.3; }
.sp-slide__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sp-slide__cols > div { padding: 22px 24px; border: 1px solid var(--sp-line); border-radius: 16px; background: var(--sp-tint); }
.sp-outcome { margin-top: 20px; padding: 22px 24px; border: 1px solid rgba(74, 33, 217, 0.18); border-radius: 16px; background: linear-gradient(135deg, rgba(109, 46, 230, 0.07), rgba(178, 63, 214, 0.12)); }
.sp-outcome ul { margin: 0; padding: 0; list-style: none; }
.sp-outcome li { position: relative; padding: 6px 0 6px 32px; color: var(--sp-heading); font-size: 1rem; font-weight: 500; line-height: 1.6; }
.sp-outcome li svg { position: absolute; left: 0; top: 9px; width: 20px; height: 20px; color: var(--sp-primary-2); }

.sp-slider__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 6px; }
.sp-slider__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--sp-line);
  border-radius: 50%;
  background: var(--sp-white);
  color: var(--sp-heading);
  cursor: pointer;
  box-shadow: var(--sp-shadow-sm);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--sp-ease);
}
.sp-slider__btn svg { width: 20px; height: 20px; }
.sp-slider__btn:hover { border-color: transparent; background: var(--sp-grad-btn); color: var(--sp-white); transform: translateY(-2px); }
.sp-slider__btn:disabled { opacity: 0.4; cursor: default; transform: none; background: var(--sp-white); color: var(--sp-heading); border-color: var(--sp-line); }
.sp-slider__dots { display: flex; gap: 8px; }
.sp-slider__dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: var(--sp-line); cursor: pointer; transition: width 0.3s var(--sp-ease), background 0.3s ease; }
.sp-slider__dot[aria-current="true"] { width: 28px; background: var(--sp-primary-2); }
@media (min-width: 1300px) {
  .sp-slider__btn--side { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); }
  .sp-slider__btn--prev { left: -24px; }
  .sp-slider__btn--next { right: -24px; }
  .sp-slider__btn--side:hover { transform: translateY(-50%) scale(1.06); }
  .sp-slider__btn--side:disabled { transform: translateY(-50%); }
}

/* ---- 6.8 Pill tabs + logo tiles ------------------------------------------- */
.sp-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 1020px; margin: 0 auto clamp(32px, 3.4vw, 48px); padding: 0; list-style: none; }
.sp-tab {
  display: inline-flex;
  align-items: center;
  padding: 13px 24px;
  border: 1px solid #e5e2f0;
  border-radius: 999px;
  background: var(--sp-white);
  color: var(--sp-muted);
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.sp-tab:hover:not([aria-selected="true"]) { border-color: rgba(74, 33, 217, 0.3); background: #f8f5ff; color: var(--sp-primary); box-shadow: 0 8px 20px rgba(74, 33, 217, 0.12); }
.sp-tab[aria-selected="true"] { background: linear-gradient(135deg, var(--sp-primary) 0%, var(--sp-primary-2) 100%); border-color: transparent; color: var(--sp-white); box-shadow: 0 12px 26px rgba(74, 33, 217, 0.32); }
.sp-tabpanel { display: none; }
.sp-tabpanel.is-active { display: block; }
.sp-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.sp-tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 22px 28px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: var(--sp-radius);
  background: var(--sp-white);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  transition: transform 0.35s var(--sp-ease), box-shadow 0.35s ease, border-color 0.35s ease;
}
.sp-tabpanel.is-active .sp-tool { animation: sp-tool-in 0.45s var(--sp-ease) backwards; }
.sp-tabpanel.is-active .sp-tool:nth-child(2) { animation-delay: 0.06s; }
.sp-tabpanel.is-active .sp-tool:nth-child(3) { animation-delay: 0.12s; }
.sp-tabpanel.is-active .sp-tool:nth-child(4) { animation-delay: 0.18s; }
@keyframes sp-tool-in { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }
.sp-tool:hover { transform: translateY(-6px); border-color: rgba(74, 33, 217, 0.22); box-shadow: 0 20px 40px rgba(74, 33, 217, 0.12); }
/* Every logo sits in the same 76px tile; the mark itself is boxed to 40px. */
.sp-tool__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  border: 1px solid var(--sp-line);
  border-radius: 20px;
  background: var(--sp-tint);
  transition: transform 0.35s var(--sp-ease), background 0.35s ease;
}
.sp-tool__logos--pair { width: 132px; }
.sp-tool__logo, .sp-tool__logo--raster { width: 40px; height: 40px; object-fit: contain; border-radius: 9px; }
.sp-tool__logos--pair .sp-tool__logo { width: 34px; height: 34px; }
.sp-tool:hover .sp-tool__logos { transform: scale(1.06); background: var(--sp-white); }
.sp-tool h3 { margin-bottom: 8px; font-size: 1.05rem; line-height: 1.35; }

/* ---- 6.9 FAQ (theme accordion, mirrored from header.css) ------------------ */
.sp-page .faq-section { background-color: #f9f8fc; padding-top: 88px !important; padding-bottom: 88px !important; }
.sp-page .faq-title { font-size: 2.35rem; font-weight: 700; color: #2c3e50; line-height: 1.2; }
.sp-page .faq-subtitle { line-height: 1.6; max-width: 600px; }
.sp-page .faq-accordion { border: none; }
.sp-page .faq-item { border: 1px solid #e7e4f2; border-radius: 12px; margin-bottom: 16px; overflow: hidden; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); transition: box-shadow 0.3s ease, border-color 0.3s ease; }
.sp-page .faq-item:hover { box-shadow: 0 8px 20px rgba(74, 33, 217, 0.08); border-color: var(--sp-line-strong); }
.sp-page .faq-question {
  background-color: #fff;
  border: none;
  padding: 1.5rem 4rem 1.5rem 1.5rem;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c3e50;
  text-align: left;
  width: 100%;
  position: relative;
  box-shadow: none;
  transition: all 0.3s ease;
}
.sp-page .faq-question:focus { box-shadow: none; border: none; }
.sp-page .faq-question:not(.collapsed) { background-color: #fff; color: var(--sp-primary); }
.sp-page .accordion-button.faq-question::after {
  content: "+";
  background-image: none;
  color: var(--sp-primary);
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 400;
  position: absolute;
  right: 1.5rem;
  top: 50%;
  padding-bottom: 4px;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}
.sp-page .faq-question:not(.collapsed)::after { content: "-"; transform: translateY(-50%) rotate(0deg); }
.sp-page .faq-question.collapsed::after { transform: translateY(-50%) rotate(0deg); }
.sp-page .faq-answer { padding: 0 1.5rem 1.5rem; font-size: 1rem; line-height: 1.7; color: #5b6478; }

/* ---- 6.10 Final CTA -------------------------------------------------------- */
.sp-cta--final { padding: 88px 0; }

/* ==========================================================================
   7. RESPONSIVE
   ========================================================================== */
@media (max-width: 1199.98px) {
  .sp-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
  .sp-page { --sp-sticky-top: 0px; }
  .sp-sticky { position: static; }
  .sp-section, .sp-cta--final { padding: 64px 0; }
  .sp-cta { padding-bottom: 64px; }
  .sp-page .faq-section { padding-top: 64px !important; padding-bottom: 64px !important; }
  .sp-hero { min-height: 0; padding: 72px 0 110px; }
  .sp-hero::after { background: linear-gradient(90deg, rgba(18, 12, 52, 0.84) 0%, rgba(18, 12, 52, 0.72) 60%, rgba(18, 12, 52, 0.4) 100%); }

  .sp-split, .sp-split--5-7, .sp-split--7-5, .sp-split--4-8 { grid-template-columns: 1fr; gap: 32px; }
  .sp-split .sp-media { max-width: 600px; }
  .sp-split--media-last > .sp-media { order: 2; }

  .sp-services { grid-template-columns: 1fr; }
  .sp-js .sp-detail { display: none; }
  .sp-js .sp-list__item.is-active .sp-list__desc { display: block; }

  .sp-cta__panel, .sp-cta__panel--stack { grid-template-columns: 1fr; }
  .sp-cta__art { max-width: 460px; }

  .sp-slide { grid-template-columns: minmax(0, 1fr); }
  .sp-slide__media { margin: 18px 18px 0; }
}

@media (max-width: 767.98px) {
  .sp-section, .sp-cta--final { padding: 56px 0; }
  .sp-cta { padding-bottom: 56px; }
  .sp-hero { padding: 56px 0 100px; }
  .sp-hero__lead { font-size: 1rem; }
  .sp-cta--banner { margin-top: -56px; }
  .sp-cta__panel { padding: 28px 22px; border-radius: 20px; }
  .sp-features { grid-template-columns: 1fr; margin-top: 2.25rem; gap: 16px; }
  .sp-feature, .sp-point { padding: 24px 20px; gap: 16px; }
  .sp-point:hover { transform: none; }
  .sp-slide { border-radius: 18px; }
  .sp-slide__body { padding: 22px 18px 24px; }
  .sp-slide__cols { grid-template-columns: 1fr; gap: 14px; }
  .sp-slide__cols > div, .sp-outcome { padding: 18px; }
  .sp-slider__track { gap: 16px; padding: 4px 4px 16px; }
  .sp-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sp-tool { padding: 22px 12px 20px; }
  .sp-tool__logos { width: 64px; height: 64px; }
  .sp-tool__logos--pair { width: 112px; }
  .sp-tab { padding: 11px 18px; font-size: 0.9rem; }
  .sp-list { padding: 6px; }
  .sp-list__btn { padding: 14px 12px; font-size: 0.98rem; }
  .sp-list__desc { padding: 0 12px 18px 12px; }
  .sp-detail .sp-media { margin-bottom: 0; }
  .sp-detail-card { margin: 16px 0 0; }
  .sp-steps::before { left: 22px; }
  .sp-step { gap: 16px; padding-bottom: 2rem; }
  .sp-step__num { width: 46px; height: 46px; font-size: 0.9rem; }
  .sp-page .faq-title { font-size: 1.9rem; }
  .sp-page .faq-question { padding: 1.25rem 4rem 1.25rem 1.25rem; font-size: 1rem; }
  .sp-page .faq-answer { padding: 0 1.25rem 1.25rem; }
}

@media (max-width: 575.98px) {
  .sp-page .sp-hero__title { font-size: 2rem; }
  .sp-badge { font-size: 0.84rem; padding: 8px 13px 8px 11px; }
  .sp-btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
  .sp-media, .sp-cta__art { border-radius: 16px; }
  .sp-page .faq-question { padding: 1rem 3.5rem 1rem 1rem; font-size: 0.95rem; }
  .sp-page .faq-answer { padding: 0 1rem 1rem; }
}

@media (hover: none) {
  .sp-media:hover img { transform: none; }
  .sp-tool:hover, .sp-feature:hover, .sp-point:hover { transform: none; }
}

/* ==========================================================================
   8. REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .sp-js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .sp-tabpanel.is-active .sp-tool, .sp-detail-card.is-switching h3, .sp-detail-card.is-switching p { animation: none; }
  .sp-slider__track { scroll-behavior: auto; }
  .sp-page *, .sp-page *::before, .sp-page *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Banner CTA (directly under the hero) stays on the soft light card. */
.sp-cta--banner .sp-cta__panel { background: var(--sp-soft); color: var(--sp-ink); border: 1px solid var(--sp-line); box-shadow: var(--sp-shadow-md); }
.sp-cta--banner .sp-cta__panel::before { background: radial-gradient(closest-side, rgba(178, 63, 214, 0.22), transparent); }
.sp-page .sp-cta--banner .sp-cta__title { color: var(--sp-heading); }
.sp-page .sp-cta--banner .sp-cta__text { color: var(--sp-ink); }
.sp-cta--banner .sp-btn--primary { background: var(--sp-grad-btn); color: var(--sp-white); box-shadow: 0 10px 24px rgba(109, 46, 230, 0.25); }
.sp-cta--banner .sp-btn--primary:hover, .sp-cta--banner .sp-btn--primary:focus-visible { color: var(--sp-white); box-shadow: 0 16px 36px rgba(109, 46, 230, 0.38); }

/* Light-ground imagery (photos, illustrations, composites). */
.sp-media--light { background: #f8f6fe; box-shadow: var(--sp-shadow-md); }
.sp-media--ov { aspect-ratio: 608 / 526; }


/* ==========================================================================
   9. v4 REFINEMENTS (logo palette: violet-blue -> purple -> magenta)
   - Services: numbering removed, bordered rows with tinted active state
   - Case studies: per-case accent, key-metric strip, lighter slider chrome
   - Hover borders on cards, tiles, FAQ items
   ========================================================================== */

/* ---- Services list --------------------------------------------------------- */
.sp-page .sp-list__idx { display: none; }
.sp-page .sp-list {
  padding: 10px;
  border: 1px solid var(--sp-line);
  box-shadow: var(--sp-shadow-sm);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.sp-page .sp-list:hover { border-color: var(--sp-line-strong); box-shadow: 0 18px 44px rgba(74, 33, 217, 0.1); }
.sp-page .sp-list__item + .sp-list__item { margin-top: 6px; }
.sp-page .sp-list__btn {
  gap: 14px;
  padding: 17px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--sp-heading);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.sp-page .sp-list__btn h3 { font-size: 1.02rem; font-weight: 600; transition: color 0.3s ease; }
.sp-page .sp-list__btn::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sp-line-strong);
  box-shadow: 0 0 0 4px rgba(109, 46, 230, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--sp-ease);
}
.sp-page .sp-list__btn::after { opacity: 0.35; transition: transform 0.3s var(--sp-ease), opacity 0.3s ease, color 0.3s ease; }
.sp-page .sp-list__btn:hover { border-color: rgba(109, 46, 230, 0.22); background: var(--sp-tint); color: var(--sp-heading); }
.sp-page .sp-list__btn:hover::before { background: var(--sp-primary-2); box-shadow: 0 0 0 4px rgba(109, 46, 230, 0.16); }
.sp-page .sp-list__btn:hover::after { opacity: 0.8; color: var(--sp-primary-2); }
.sp-page .sp-list__item.is-active .sp-list__btn {
  border-color: rgba(109, 46, 230, 0.38);
  background: linear-gradient(90deg, rgba(109, 46, 230, 0.09) 0%, rgba(221, 26, 127, 0.05) 100%);
  color: var(--sp-heading);
  box-shadow: 0 10px 26px rgba(74, 33, 217, 0.1);
}
.sp-page .sp-list__item.is-active .sp-list__btn h3 { color: var(--sp-primary); font-weight: 700; }
.sp-page .sp-list__item.is-active .sp-list__btn::before { background: var(--sp-grad-btn); box-shadow: 0 0 0 4px rgba(221, 26, 127, 0.16); transform: scale(1.15); }
.sp-page .sp-list__item.is-active .sp-list__btn::after { opacity: 1; color: var(--sp-primary); }
.sp-page .sp-list__desc { padding: 0 20px 20px 43px; }

/* Detail column: framed image; the card keeps its accent bar because it anchors the copy. */
.sp-page .sp-detail .sp-media { overflow: hidden; border: 1px solid var(--sp-line); border-radius: var(--sp-radius); background: var(--sp-tint); box-shadow: var(--sp-shadow-md); }
.sp-page .sp-detail .sp-media img { border-radius: 0; }
.sp-page .sp-detail-card { border: 1px solid var(--sp-line); transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.sp-page .sp-detail-card:hover { border-color: rgba(109, 46, 230, 0.35); }

/* ---- Case studies ---------------------------------------------------------- */
#case-studies { isolation: isolate; overflow: hidden; }
#case-studies::before,
#case-studies::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
#case-studies::before { left: -180px; top: 140px; width: 480px; height: 480px; background: rgba(109, 46, 230, 0.14); }
#case-studies::after { right: -200px; bottom: 40px; width: 540px; height: 540px; background: rgba(221, 26, 127, 0.1); }

/* Each case carries one accent drawn from the logo gradient. */
.sp-page .sp-slide { --case: var(--sp-primary-2); --case-rgb: 109, 46, 230; }
.sp-page .sp-slide--violet { --case: #7d21d9; --case-rgb: 74, 33, 217; }
.sp-page .sp-slide--purple { --case: #7b2fe8; --case-rgb: 123, 47, 232; }
.sp-page .sp-slide--magenta { --case: #d5187a; --case-rgb: 213, 24, 122; }

.sp-page .sp-slide {
  position: relative;
  border: 1px solid var(--sp-line);
  box-shadow: 0 24px 60px rgba(74, 33, 217, 0.1);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.sp-page .sp-slide::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  z-index: 1;
  background: linear-gradient(90deg, var(--case) 0%, rgba(var(--case-rgb), 0.35) 100%);
}
.sp-page .sp-slide:hover { border-color: rgba(var(--case-rgb), 0.45); box-shadow: 0 28px 70px rgba(var(--case-rgb), 0.16); }
.sp-page .sp-slide__media {
  border: 1px solid var(--sp-line);
  box-shadow: 0 16px 40px rgba(23, 18, 53, 0.12);
  transition: transform 0.6s var(--sp-ease), box-shadow 0.35s ease, border-color 0.35s ease;
}
.sp-page .sp-slide:hover .sp-slide__media { transform: translateY(-4px); border-color: rgba(var(--case-rgb), 0.3); box-shadow: 0 24px 52px rgba(var(--case-rgb), 0.18); }

/* Meta row: case badge + industry tag */
.sp-page .sp-slide__top { gap: 10px; margin-bottom: 16px; }
.sp-page .sp-slide__num {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(var(--case-rgb), 0.3);
  border-radius: 999px;
  background: rgba(var(--case-rgb), 0.08);
  color: var(--case);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.sp-page .sp-slide__num::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--case); }
.sp-page .sp-slide__top .sp-tag { padding: 6px 12px; border-color: var(--sp-line); background: var(--sp-white); color: var(--sp-muted); font-size: 0.8rem; }
.sp-page .sp-slide__title { position: relative; margin-bottom: 1.1rem; padding-bottom: 14px; }
.sp-page .sp-slide__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--case), rgba(var(--case-rgb), 0.35)); }

/* Key metrics pulled from each case's outcome */
.sp-slide__stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 20px; padding: 0; list-style: none; }
.sp-slide__stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 160px;
  padding: 14px 18px;
  border: 1px solid var(--sp-line);
  border-radius: 14px;
  background: var(--sp-white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--sp-ease);
}
.sp-slide__stats li:hover { border-color: rgba(var(--case-rgb), 0.4); box-shadow: var(--sp-shadow-sm); transform: translateY(-2px); }
.sp-slide__stats strong { color: var(--case); font-size: 1.45rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.sp-slide__stats span { color: var(--sp-muted); font-size: 0.82rem; font-weight: 600; line-height: 1.4; }

/* Challenge / Approach blocks */
.sp-page .sp-slide__cols > div {
  position: relative;
  padding: 22px 24px;
  border: 1px solid var(--sp-line);
  border-radius: 16px;
  background: var(--sp-white);
  box-shadow: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--sp-ease);
}
.sp-page .sp-slide__cols > div:hover { border-color: rgba(var(--case-rgb), 0.4); box-shadow: var(--sp-shadow-sm); transform: translateY(-2px); }
.sp-page .sp-slide__cols .sp-label { display: inline-block; margin-bottom: 12px; padding: 4px 10px; border-radius: 8px; background: rgba(var(--case-rgb), 0.08); color: var(--case); }

/* Outcome block */
.sp-page .sp-outcome {
  border: 1px solid rgba(var(--case-rgb), 0.28);
  background: linear-gradient(135deg, rgba(var(--case-rgb), 0.07) 0%, rgba(var(--case-rgb), 0.02) 100%);
  box-shadow: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.sp-page .sp-outcome:hover { border-color: rgba(var(--case-rgb), 0.5); box-shadow: 0 14px 34px rgba(var(--case-rgb), 0.12); }
.sp-page .sp-outcome .sp-label { display: inline-block; margin-bottom: 12px; padding: 4px 10px; border-radius: 8px; background: var(--case); color: var(--sp-white); }
.sp-page .sp-outcome li { padding-left: 34px; }
.sp-page .sp-outcome li svg { top: 8px; width: 22px; height: 22px; padding: 2px; border-radius: 50%; background: var(--sp-white); color: var(--case); box-shadow: 0 2px 6px rgba(var(--case-rgb), 0.2); }

/* Slider chrome: minimal */
.sp-page .sp-slider__nav { margin-top: 14px; gap: 20px; }
.sp-page .sp-slider__btn { border: 1px solid var(--sp-line-strong); color: var(--sp-primary); box-shadow: none; }
.sp-page .sp-slider__btn:hover { border-color: transparent; background: var(--sp-grad-btn); color: var(--sp-white); box-shadow: 0 10px 24px rgba(109, 46, 230, 0.25); }
.sp-page .sp-slider__btn:disabled { border-color: var(--sp-line); color: var(--sp-muted-2); background: var(--sp-white); box-shadow: none; }
.sp-page .sp-slider__dot { height: 8px; background: rgba(74, 33, 217, 0.18); }
.sp-page .sp-slider__dot[aria-current="true"] { width: 32px; background: var(--sp-grad-btn); }

/* ---- Hover borders across sections ---------------------------------------- */
.sp-page .sp-feature:hover, .sp-page .sp-point:hover, .sp-page .sp-tool:hover, .sp-page .sp-side-card:hover { border-color: rgba(109, 46, 230, 0.4); }
.sp-page .faq-item:hover { border-color: rgba(109, 46, 230, 0.4) !important; }
.sp-page .sp-side-card { transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.35s var(--sp-ease); }
.sp-page .sp-side-card:hover { box-shadow: 0 26px 56px rgba(74, 33, 217, 0.16); transform: translateY(-4px); }

@media (max-width: 767.98px) {
  .sp-page .sp-list__btn { padding: 14px 14px; }
  .sp-page .sp-list__desc { padding: 0 14px 18px 14px; }
  .sp-slide__stats { gap: 10px; margin-bottom: 16px; }
  .sp-slide__stats li { flex: 1 1 calc(50% - 5px); padding: 12px 14px; }
  .sp-slide__stats strong { font-size: 1.25rem; }
  .sp-page .sp-slider__btn { width: 46px; height: 46px; }
  .sp-page .sp-slide:hover .sp-slide__media { transform: none; }
}
@media (hover: none) {
  .sp-slide__stats li:hover, .sp-page .sp-slide__cols > div:hover { transform: none; }
}

/* ---- Case card layout: image + metrics left, copy right, outcome full width -- */
.sp-page .sp-slide {
  --sp-slide-pad: clamp(18px, 2.5vw, 32px);
  --sp-slide-body-pad: clamp(28px, 3.5vw, 44px);
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: auto auto;
  align-items: stretch;
}
.sp-page .sp-slide__aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  min-width: 0;
  margin: var(--sp-slide-pad) 0 0 var(--sp-slide-pad);
}
.sp-page .sp-slide__aside .sp-slide__media { margin: 0; }
.sp-page .sp-slide__aside .sp-slide__stats { margin: 0; }
.sp-page .sp-slide__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-slide-body-pad) var(--sp-slide-body-pad) 0;
}
.sp-page .sp-slide > .sp-outcome {
  grid-column: 1 / -1;
  margin: 24px var(--sp-slide-body-pad) var(--sp-slide-pad) var(--sp-slide-pad);
}
@media (max-width: 991.98px) {
  .sp-page .sp-slide { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .sp-page .sp-slide__aside { margin: 18px 18px 0; }
  .sp-page .sp-slide__body { padding: 24px 28px 0; }
  .sp-page .sp-slide > .sp-outcome { margin: 22px 18px 18px; }
}
@media (max-width: 767.98px) {
  .sp-page .sp-slide__aside { margin: 14px 14px 0; gap: 10px; }
  .sp-page .sp-slide__body { padding: 20px 18px 0; }
  .sp-page .sp-slide > .sp-outcome { margin: 16px 14px 14px; }
}

/* "View case study" link inside a case card (AI Integration page). */
.sp-page .sp-slide__body .sp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--case);
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 0.3s ease, gap 0.3s var(--sp-ease);
}
.sp-page .sp-slide__body .sp-link svg { width: 18px; height: 18px; transition: transform 0.3s var(--sp-ease); }
.sp-page .sp-slide__body .sp-link:hover, .sp-page .sp-slide__body .sp-link:focus-visible { color: var(--sp-primary); }
.sp-page .sp-slide__body .sp-link:hover svg { transform: translateX(4px); }


/* ==========================================================================
   10. AI INTEGRATION PAGE (2026-09-22) - scoped to .sp-page--integration
   The stylesheet is shared with the LLMOps page on the server, so every rule
   here is scoped to this page and overrides the LLMOps hero/CTA treatment.
   - Hero: deep-violet ground on the left (not black), art pinned right and
     blended in with a soft gradient, tighter title/lead widths
   - Stacked CTA panels: the sharp .sp-cta__bg photo is the real background
     (cover-cropped, tinted); the small artwork is not stretched any more
   ========================================================================== */

/* ---- Hero ---------------------------------------------------------------- */
.sp-page.sp-page--integration .sp-hero {
  background: linear-gradient(120deg, #2a1a7c 0%, #231566 38%, #1d1158 62%, #2a0f5c 100%);
}
.sp-page.sp-page--integration .sp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 80% at 8% 18%, rgba(221, 26, 127, 0.22), transparent 70%),
    radial-gradient(45% 60% at 30% 95%, rgba(109, 46, 230, 0.35), transparent 70%);
  pointer-events: none;
}
.sp-page.sp-page--integration .sp-hero__bg {
  left: auto;
  right: 0;
  width: 66%;
  min-width: 760px;
  max-width: 100%;
  height: 100%;
  opacity: 1;
  object-fit: cover;
  object-position: calc(100% + 70px) center;
}
.sp-page.sp-page--integration .sp-hero::after {
  background: linear-gradient(90deg,
    rgba(35, 21, 102, 1)    0%,
    rgba(35, 21, 102, 0.97) 24%,
    rgba(35, 21, 102, 0.9) 38%,
    rgba(35, 21, 102, 0.66) 50%,
    rgba(35, 21, 102, 0.28) 62%,
    rgba(35, 21, 102, 0.08) 74%,
    rgba(35, 21, 102, 0)    86%);
}
.sp-page.sp-page--integration .sp-hero__inner { max-width: 640px; }
.sp-page.sp-page--integration .sp-hero__title {
  max-width: 580px;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1.14;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 10px rgba(12, 6, 40, 0.45);
}
.sp-page.sp-page--integration .sp-hero__lead {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(12, 6, 40, 0.45);
}
.sp-page.sp-page--integration .sp-badge {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
/* 1200-1300px: the art's left boxes sit under the lead, so veil them more. */
@media (min-width: 992px) and (max-width: 1299.98px) {
  .sp-page.sp-page--integration .sp-hero::after {
    background: linear-gradient(90deg,
      rgba(35, 21, 102, 1)    0%,
      rgba(35, 21, 102, 0.97) 30%,
      rgba(35, 21, 102, 0.92) 42%,
      rgba(35, 21, 102, 0.76) 52%,
      rgba(35, 21, 102, 0.36) 64%,
      rgba(35, 21, 102, 0.08) 78%,
      rgba(35, 21, 102, 0)    90%);
  }
}
@media (max-width: 991.98px) {
  .sp-page.sp-page--integration .sp-hero__bg { width: 100%; min-width: 0; opacity: 0.55; object-position: right center; }
  .sp-page.sp-page--integration .sp-hero::after {
    background: linear-gradient(90deg, rgba(35, 21, 102, 0.94) 0%, rgba(35, 21, 102, 0.8) 55%, rgba(35, 21, 102, 0.5) 100%);
  }
}

/* ---- Stacked CTA panels: sharp photo background ------------------------- */
.sp-page.sp-page--integration .sp-cta__panel--stack {
  grid-template-columns: minmax(0, 1fr);
  min-height: 300px;
}
.sp-page.sp-page--integration .sp-cta__panel--stack > div { position: relative; z-index: 2; max-width: 640px; }
.sp-page.sp-page--integration .sp-cta__panel--stack .sp-cta__art { display: none; }
.sp-page.sp-page--integration .sp-cta__panel--stack .sp-cta__bg {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 32%;
  opacity: 0.6;
  pointer-events: none;
}
.sp-page.sp-page--integration .sp-cta--final .sp-cta__bg { object-position: 40% 30%; }
.sp-page.sp-page--integration .sp-cta__panel--stack::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    rgba(58, 26, 196, 0.96) 0%,
    rgba(74, 33, 217, 0.86) 34%,
    rgba(110, 32, 190, 0.5) 62%,
    rgba(200, 32, 127, 0.22) 100%);
  pointer-events: none;
}
.sp-page.sp-page--integration .sp-cta__panel--stack .sp-cta__title,
.sp-page.sp-page--integration .sp-cta__panel--stack .sp-cta__text { text-shadow: 0 2px 12px rgba(5, 6, 15, 0.3); }
@media (max-width: 767.98px) {
  .sp-page.sp-page--integration .sp-cta__panel--stack { min-height: 0; }
  .sp-page.sp-page--integration .sp-cta__panel--stack .sp-cta__bg { opacity: 0.35; }
}

/* ==========================================================================
   11. CASE STUDY CARDS - LLMOps + AI Integration (2026-09-23)
   Reference: full-width white card, photo filling the left column edge to
   edge, title + Challenge / Solution columns + Results bullets + outline
   "Read Full Case Study" button on the right, round dots underneath.
   Shared by both service pages (AI Integration adopted the same design).
   ========================================================================== */

/* Outline button variant (shared) */
.sp-page .sp-btn--outline {
  padding: 12px 26px;
  border: 1.5px solid var(--sp-primary);
  background: transparent;
  color: var(--sp-primary);
  font-size: 0.9rem;
  box-shadow: none;
}
.sp-page .sp-btn--outline:hover,
.sp-page .sp-btn--outline:focus-visible {
  border-color: transparent;
  background: var(--sp-grad-btn);
  color: var(--sp-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(109, 46, 230, 0.25);
}
.sp-page .sp-btn--outline .sp-btn__icon { width: 1em; height: 1em; }
.sp-page .sp-btn--outline:hover .sp-btn__icon,
.sp-page .sp-btn--outline:focus-visible .sp-btn__icon { transform: translateX(4px); }

/* Card */
.sp-page .sp-slide {
  grid-template-columns: minmax(0, 11fr) minmax(0, 13fr);
  grid-template-rows: auto;
  align-items: stretch;
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius-lg);
  background: var(--sp-white);
  box-shadow: 0 18px 48px rgba(74, 33, 217, 0.08);
}
.sp-page .sp-slide::before { content: none; }
.sp-page .sp-slide:hover { border-color: rgba(109, 46, 230, 0.35); box-shadow: 0 24px 60px rgba(74, 33, 217, 0.14); }

/* Photo: fills the left column edge to edge */
.sp-page .sp-slide__media {
  position: relative;
  aspect-ratio: auto;
  min-height: 380px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: var(--sp-tint);
  box-shadow: none;
  transform: none;
}
.sp-page .sp-slide__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0% 50%; }
.sp-page .sp-slide__media--right img { object-position: 80% 50%; }
.sp-page .sp-slide:hover .sp-slide__media { transform: none; box-shadow: none; }

/* Copy column */
.sp-page .sp-slide__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(28px, 3.4vw, 44px) clamp(28px, 3.6vw, 48px);
}
.sp-page .sp-slide__title {
  margin: 0 0 1.25rem;
  padding: 0;
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
  line-height: 1.3;
}
.sp-page .sp-slide__title::after { content: none; }

.sp-page .sp-slide__cols { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; }
.sp-page .sp-slide__cols > div {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}
.sp-page .sp-slide__cols > div:hover { border: 0; box-shadow: none; transform: none; }
.sp-page .sp-slide__label {
  margin: 0 0 8px;
  color: var(--sp-heading);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}
.sp-page .sp-slide__cols p { margin: 0; }

/* Results: small square bullets in the brand accent */
.sp-page .sp-slide__results { width: 100%; margin-top: 22px; }
.sp-page .sp-slide__results ul { margin: 0; padding: 0; list-style: none; }
.sp-page .sp-slide__results li {
  position: relative;
  padding: 0 0 0 18px;
  margin-bottom: 6px;
  color: var(--sp-muted);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.6;
}
.sp-page .sp-slide__results li:last-child { margin-bottom: 0; }
.sp-page .sp-slide__results li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: var(--sp-primary-2);
}
.sp-page .sp-slide__cta { margin-top: 26px; }

/* Slider chrome: round dots, active one filled */
.sp-page .sp-slider__nav { margin-top: 18px; }
.sp-page .sp-slider__dots { gap: 10px; }
.sp-page .sp-slider__dot { width: 11px; height: 11px; background: rgba(109, 46, 230, 0.22); }
.sp-page .sp-slider__dot:hover { background: rgba(109, 46, 230, 0.5); }
.sp-page .sp-slider__dot[aria-current="true"] { width: 11px; background: var(--sp-primary-2); }

@media (max-width: 991.98px) {
  .sp-page .sp-slide { grid-template-columns: minmax(0, 1fr); }
  .sp-page .sp-slide__media { min-height: 0; aspect-ratio: 16 / 9; }
  .sp-page .sp-slide__body { padding: 26px 28px 30px; }
}
@media (max-width: 767.98px) {
  .sp-page .sp-slide { border-radius: 18px; }
  .sp-page .sp-slide__media { aspect-ratio: 4 / 3; }
  .sp-page .sp-slide__body { padding: 22px 18px 24px; }
  .sp-page .sp-slide__cols { grid-template-columns: 1fr; gap: 16px; }
  .sp-page .sp-slide__results { margin-top: 18px; }
  .sp-page .sp-slide__cta { margin-top: 20px; width: 100%; justify-content: center; }
}
