/* ==========================================================================
   Nirag Infotech — single Service pages
   File: wp-content/themes/narang-new/assets/css/service-sections.css
   Loaded only on single Service pages (see the functions snippet).
   1. Existing "Top Info" text, restructured by the ACF filter
      (intro + image composition, point cards, closing call-out)
   2. Sections from template-parts/service-sections.php
   Every moving part sits behind prefers-reduced-motion; the scroll reveals
   come from motion.js through the nm-up / nm-scale classes in the markup.
   ========================================================================== */

.single-services {
  --svc-navy: #0b1c46;
  --svc-indigo: #303399;
  --svc-blue: #016ecc;
  --svc-cyan: #2aabe1;
  --svc-sky: #19d2fe;
  --svc-ink: #14213d;
  --svc-muted: #55617c;
  --svc-mist: #f3f8fd;
  --svc-line: rgba(11, 28, 70, .1);
  --svc-ease: cubic-bezier(.16, 1, .3, 1);
  --svc-serif: "Frank Ruhl Libre", Georgia, serif;
  --svc-sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --svc-grad: linear-gradient(120deg, var(--svc-indigo) 0%, var(--svc-blue) 55%, var(--svc-cyan) 100%);
  --svc-pull: 120px;   /* how far the intro image rises beside the page heading (desktop) */
}

/* The theme sets a serif on every element; body copy here is Poppins */
.single-services :is(.svc-intro, .svc-points, .svc-extra) :is(p, li, dd, dt, summary, a, span, b, i, figcaption, button) {
  font-family: var(--svc-sans) !important;
}


/* --------------------------------------------------------------------------
   1. Existing content
   -------------------------------------------------------------------------- */
.single-services .svc-lead {
  max-width: 62ch;
  margin: 0 0 28px;
  color: var(--svc-ink);
  font-family: var(--svc-sans) !important;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.75;
}

.single-services h3.svc-subhead {
  margin: 40px 0 18px;
  color: var(--svc-navy);
  font-family: var(--svc-serif) !important;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
}

.single-services .svc-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
  margin: 0 0 32px;
  counter-reset: svc-point;
}
.single-services .svc-point {
  position: relative;
  padding: 22px 22px 20px;
  border: 1px solid var(--svc-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(11, 28, 70, .03), 0 18px 36px -30px rgba(11, 28, 70, .45);
  counter-increment: svc-point;
  transition: border-color .35s var(--svc-ease), box-shadow .45s var(--svc-ease), translate .45s var(--svc-ease);
}
.single-services .svc-point::before {
  content: counter(svc-point, decimal-leading-zero);
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 9px;
  border-radius: 99px;
  background: var(--svc-mist);
  color: var(--svc-blue);
  font: 600 11px/1 var(--svc-sans);
  letter-spacing: .08em;
}
.single-services .svc-point__title {
  margin: 0 0 8px;
  color: var(--svc-navy);
  font-family: var(--svc-sans) !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}
.single-services .svc-point p {
  margin: 0;
  color: var(--svc-muted);
  font-size: 14px;
  line-height: 1.7;
}
.single-services .svc-point:hover {
  border-color: rgba(42, 171, 225, .45);
  box-shadow: 0 1px 0 rgba(11, 28, 70, .03), 0 24px 44px -28px rgba(11, 28, 70, .5);
}

/* plain paragraphs after the cards */
.single-services .svc-points ~ p:not([class]) {
  max-width: 72ch;
  color: var(--svc-muted);
  font-family: var(--svc-sans) !important;
  font-size: 15px;
  line-height: 1.75;
}

.single-services .svc-closing {
  position: relative;
  margin: 32px 0 0;
  padding: 22px 26px 22px 30px;
  overflow: hidden;
  border: 1px solid rgba(42, 171, 225, .25);
  border-radius: 16px;
  background: linear-gradient(120deg, #eef7fd 0%, #f3f1ff 100%);
  color: var(--svc-navy);
  font-family: var(--svc-serif) !important;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
}
.single-services .svc-closing::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--svc-cyan), var(--svc-indigo));
}
.single-services .svc-closing * { font-family: inherit !important; }


/* --------------------------------------------------------------------------
   1b. Intro: lead + buttons beside the image composition
   -------------------------------------------------------------------------- */
.single-services .svc-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin: 0 0 clamp(36px, 5vw, 56px);
}
.svc-intro__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (min-width: 992px) {
  /* The image rises beside the page heading; the heading keeps to the left half */
  .single-services section:has(h2):has(.svc-intro) .svc-media { margin-top: calc(-1 * var(--svc-pull)); }
}

/* Buttons (intro, FAQ card, CTA) */
.single-services .svc-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background-color .3s var(--svc-ease), border-color .3s var(--svc-ease), color .3s var(--svc-ease),
              box-shadow .35s var(--svc-ease), translate .4s var(--svc-ease);
}
.single-services .svc-btn svg { width: 14px; height: 14px; flex-shrink: 0; transition: translate .4s var(--svc-ease); }
.single-services .svc-btn--solid {
  background: var(--svc-grad);
  box-shadow: 0 16px 30px -16px rgba(48, 51, 153, .7);
  color: #fff !important;
}
.single-services .svc-btn--solid:hover { translate: 0 -2px; box-shadow: 0 22px 38px -16px rgba(48, 51, 153, .75); }
.single-services .svc-btn--solid:hover svg { translate: 3px 0; }
.single-services .svc-btn--line {
  border: 1.5px solid rgba(48, 51, 153, .22);
  background: #fff;
  color: var(--svc-navy) !important;
}
.single-services .svc-btn--line:hover { border-color: var(--svc-cyan); background: var(--svc-mist); }
.single-services .svc-btn:focus-visible { outline: 2px solid var(--svc-cyan); outline-offset: 3px; }


/* --------------------------------------------------------------------------
   1c. Image composition
   -------------------------------------------------------------------------- */
.single-services .svc-media {
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: 26px 20px 36px 34px;   /* room for the shapes that peek out */
}

.svc-media__frame {
  position: relative;
  z-index: 1;
  display: block;
  aspect-ratio: 1.08;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(135deg, #dfeefa, #e9e8fb);
  box-shadow: 0 44px 70px -42px rgba(11, 28, 70, .6), 0 0 0 1px rgba(11, 28, 70, .06);
}
.svc-media__frame::after {          /* soft depth at the bottom of the photo */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 28, 70, .26) 100%);
}
.svc-media__frame:has(.svc-art)::after { display: none; }
.single-services .svc-media__img {
  display: block;
  width: 100% !important;
  max-width: none;
  height: 100% !important;
  object-fit: cover;
  transition: scale 1.2s var(--svc-ease);
}
.single-services .svc-media:hover .svc-media__img { scale: 1.04; }

/* gradient blob behind, bottom-right */
.svc-media__blob {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 4px;
  width: 58%;
  height: 58%;
  border-radius: 42% 58% 46% 54% / 52% 44% 56% 48%;
  background: linear-gradient(315deg, var(--svc-sky) 0%, var(--svc-blue) 50%, var(--svc-indigo) 100%);
}
/* dashed outline behind, top-left */
.svc-media__outline {
  position: absolute;
  z-index: 0;
  left: 8px;
  top: 0;
  width: 46%;
  height: 46%;
  border: 1.5px dashed rgba(48, 51, 153, .35);
  border-radius: 30px;
}
/* dot grid above the top-right corner */
.svc-media__dots {
  position: absolute;
  z-index: 0;
  top: -4px;
  right: 6%;
  width: 130px;
  height: 96px;
  background: radial-gradient(rgba(48, 51, 153, .4) 1.6px, transparent 1.9px) 0 0 / 14px 14px;
  -webkit-mask-image: linear-gradient(200deg, #000 30%, transparent 90%);
          mask-image: linear-gradient(200deg, #000 30%, transparent 90%);
}
/* glass ring with an orbiting dot, over the left edge */
.svc-media__ring {
  position: absolute;
  z-index: 2;
  left: 4px;
  top: 52%;
  width: 62px;
  height: 62px;
  border: 1.5px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  box-shadow: 0 14px 30px -14px rgba(11, 28, 70, .5), inset 0 0 0 1px rgba(42, 171, 225, .25);
}
.svc-media__ring i {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--svc-sky), var(--svc-indigo));
  box-shadow: 0 0 0 3px #fff;
}
/* plus mark on the right edge */
.svc-media__plus {
  position: absolute;
  z-index: 2;
  right: 4px;
  top: 34%;
  width: 18px;
  height: 18px;
  background:
    linear-gradient(var(--svc-indigo), var(--svc-indigo)) center / 100% 2px no-repeat,
    linear-gradient(var(--svc-indigo), var(--svc-indigo)) center / 2px 100% no-repeat;
  opacity: .55;
}

/* stat card, bottom-left over the photo edge */
.svc-media__stat {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 0;
  display: grid;
  grid-template-areas: "num bars" "label label";
  align-items: end;
  column-gap: 18px;
  row-gap: 4px;
  max-width: 250px;
  padding: 16px 20px 16px 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 44px -24px rgba(11, 28, 70, .55), 0 0 0 1px rgba(11, 28, 70, .05);
}
.single-services .svc-media .svc-media__stat-num {
  grid-area: num;
  background: var(--svc-grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  font-family: var(--svc-serif) !important;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}
.svc-media__stat-label {
  grid-area: label;
  color: var(--svc-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}
.svc-media__bars {
  grid-area: bars;
  display: flex;
  align-items: flex-end;
  justify-self: end;
  gap: 4px;
  height: 30px;
}
.svc-media__bars i {
  width: 7px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--svc-sky), var(--svc-indigo));
  transform-origin: bottom;
}
.svc-media__bars i:nth-child(1) { height: 40%; opacity: .45; }
.svc-media__bars i:nth-child(2) { height: 62%; opacity: .6; }
.svc-media__bars i:nth-child(3) { height: 50%; opacity: .75; }
.svc-media__bars i:nth-child(4) { height: 100%; }
/* no stats yet: the card names the service */
.svc-media__stat--name { grid-template-areas: "label" "title"; }
.svc-media__stat--name .svc-media__stat-label { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--svc-blue); }
.svc-media__stat-title { grid-area: title; color: var(--svc-navy); font-size: 16px; font-weight: 600; line-height: 1.3; }

/* rotating "Let's build it" badge, top-right */
.single-services a.svc-media__badge {
  position: absolute;
  z-index: 3;
  top: -6px;
  right: -4px;
  display: grid;
  place-items: center;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 22px 40px -22px rgba(11, 28, 70, .55), 0 0 0 1px rgba(11, 28, 70, .05);
  color: var(--svc-navy);
  text-decoration: none;
}
.svc-media__badge-text {
  position: absolute;
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  overflow: visible;
}
.single-services .svc-media__badge-text text {
  fill: currentColor;
  font-family: var(--svc-sans) !important;
  font-size: 9.4px;
  font-weight: 600;
  letter-spacing: .02em;
}
.svc-media__badge-core {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--svc-grad);
  box-shadow: 0 10px 22px -10px rgba(48, 51, 153, .8);
  color: #fff;
  transition: scale .45s var(--svc-ease);
}
.svc-media__badge-core svg { width: 20px; height: 20px; transition: rotate .45s var(--svc-ease); }
.svc-media__badge:hover .svc-media__badge-core { scale: 1.08; }
.svc-media__badge:hover .svc-media__badge-core svg { rotate: 45deg; }
.svc-media__badge:focus-visible { outline: 2px solid var(--svc-cyan); outline-offset: 4px; }

/* No photo yet: a drawn browser window stands in */
.svc-art {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 4.5%;
  padding: 8% 8% 9%;
  background: linear-gradient(160deg, #f4f9fe 0%, #ecebfd 100%);
}
.svc-art__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 18px -12px rgba(11, 28, 70, .4);
}
.svc-art__bar i { width: 8px; height: 8px; border-radius: 50%; background: #f17a7a; }
.svc-art__bar i:nth-child(2) { background: #f6c560; }
.svc-art__bar i:nth-child(3) { background: #49d18f; }
.svc-art__bar b { flex: 1; height: 8px; margin-left: 8px; border-radius: 8px; background: var(--svc-mist); }
.svc-art__hero {
  position: relative;
  height: 32%;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--svc-grad);
}
.svc-art__hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -40%;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 12px, rgba(255, 255, 255, .16) 12px 13px);
}
.svc-art__line { height: 9px; width: 70%; flex-shrink: 0; border-radius: 9px; background: rgba(11, 28, 70, .12); }
.svc-art__line--short { width: 44%; }
.svc-art__cards { display: grid; flex: 1; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.svc-art__cards i { border-radius: 12px; background: #fff; box-shadow: 0 10px 22px -16px rgba(11, 28, 70, .5); }
.svc-art__chart {
  position: absolute;
  right: 14%;
  top: 25%;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 18%;
}
.svc-art__chart i { width: 10px; border-radius: 3px 3px 0 0; background: rgba(255, 255, 255, .7); }
.svc-art__chart i:nth-child(1) { height: 35%; }
.svc-art__chart i:nth-child(2) { height: 60%; }
.svc-art__chart i:nth-child(3) { height: 45%; }
.svc-art__chart i:nth-child(4) { height: 80%; }
.svc-art__chart i:nth-child(5) { height: 100%; }


/* --------------------------------------------------------------------------
   2. New sections — shared
   -------------------------------------------------------------------------- */
.svc-sec {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;          /* clips the shapes without breaking position: sticky */
  padding: clamp(56px, 7vw, 100px) 0;
}
.svc-sec h2 {
  margin: 0;
  color: var(--svc-navy);
  font-family: var(--svc-serif) !important;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.svc-sec h3 { font-family: var(--svc-sans) !important; }

.svc-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 52px); }
.svc-head > p:not(.svc-eyebrow) { margin: 14px 0 0; color: var(--svc-muted); font-size: 16px; line-height: 1.7; }
.svc-head--row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 48px;
  align-items: flex-end;
  justify-content: space-between;
  max-width: none;
}
.svc-head__note { max-width: 380px; margin: 0; color: var(--svc-muted); font-size: 15px; line-height: 1.7; }

.svc-eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding-left: 32px;
  background: linear-gradient(currentColor, currentColor) 0 54% / 22px 1.5px no-repeat;
  color: var(--svc-blue);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.single-services .svc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--svc-blue);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.svc-sec svg { width: 14px; height: 14px; flex-shrink: 0; transition: translate .4s var(--svc-ease); }
.svc-link:hover svg { translate: 3px 0; }

/* Decorative shapes (aria-hidden spans) */
.svc-shape { position: absolute; z-index: -1; pointer-events: none; }
.svc-shape--blob {
  top: -180px;
  left: -160px;
  width: 520px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(42, 171, 225, .16), transparent);
}
.svc-shape--dots {
  width: 170px;
  height: 120px;
  background: radial-gradient(rgba(48, 51, 153, .28) 1.5px, transparent 1.8px) 0 0 / 15px 15px;
  -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent);
          mask-image: radial-gradient(closest-side, #000 40%, transparent);
}
.svc-shape--ring {
  width: 300px;
  aspect-ratio: 1;
  border: 1.5px solid rgba(48, 51, 153, .1);
  border-radius: 50%;
}
.svc-shape--ring::after {
  content: "";
  position: absolute;
  inset: 22%;
  border: 1.5px dashed rgba(42, 171, 225, .25);
  border-radius: 50%;
}


/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */
.svc-stats { padding: clamp(28px, 4vw, 48px) 0 0; overflow: visible; z-index: 2; }
/* the strip straddles the top edge of the process section that follows */
.svc-stats + .svc-process { margin-top: -56px; padding-top: calc(clamp(56px, 7vw, 100px) + 56px); }
.svc-stats__row {                            /* 1px gaps on a tinted background = dividers in any layout */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 1px;
  margin: 0;
  border: 1px solid var(--svc-line);
  border-radius: 20px;
  background: var(--svc-line);
  box-shadow: 0 24px 50px -40px rgba(11, 28, 70, .5);
  overflow: hidden;
}
.svc-stats__item {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
  padding: 24px 28px;
  background: #fff;
}
.single-services .svc-stats .svc-stats__item dd {
  margin: 0;
  background: linear-gradient(110deg, var(--svc-indigo), var(--svc-cyan));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  font-family: var(--svc-serif) !important;
  font-size: clamp(32px, 3vw, 42px);
  font-weight: 700;
  line-height: 1;
}
.svc-stats__item dt { color: var(--svc-muted); font-size: 13px; font-weight: 500; line-height: 1.4; }
@media (max-width: 575px) {
  .svc-stats__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-stats__item { padding: 18px 18px 20px; }
  .svc-stats__item:last-child:nth-child(odd) { grid-column: 1 / -1; }   /* no empty cell with 3 or 5 stats */
}


/* --------------------------------------------------------------------------
   Process — icon tiles on a line that fills as you scroll (vertical on phones)
   -------------------------------------------------------------------------- */
.svc-process { background: linear-gradient(180deg, var(--svc-mist) 0%, #fff 100%); }
.svc-process .svc-shape--dots { right: 4%; top: 48px; }
.svc-process .svc-shape--ring { right: -110px; bottom: -120px; }

.svc-steps {
  --svc-gap: 28px;
  --svc-col: calc((100% - (var(--svc-steps, 5) - 1) * var(--svc-gap)) / var(--svc-steps, 5));
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--svc-steps, 5), minmax(0, 1fr));
  gap: var(--svc-gap);
  margin: 0;
  padding: 0;
  list-style: none;
  view-timeline-name: --svc-steps;
}
.svc-steps::before,                          /* track from the first icon to the last */
.svc-steps::after {
  content: "";
  position: absolute;
  top: 31px;
  left: 31px;
  right: calc(var(--svc-col) - 31px);
  height: 2px;
  border-radius: 2px;
}
.svc-steps::before { background: repeating-linear-gradient(90deg, rgba(48, 51, 153, .28) 0 6px, transparent 6px 12px); }
.svc-steps::after  { background: linear-gradient(90deg, var(--svc-cyan), var(--svc-indigo)); transform-origin: left; }

.svc-step { position: relative; }
.svc-step__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 22px;
  border: 1.5px solid transparent;
  border-radius: 20px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, var(--svc-sky), var(--svc-indigo)) border-box;
  box-shadow: 0 18px 32px -18px rgba(48, 51, 153, .6);
  color: var(--svc-indigo);
  transition: color .35s var(--svc-ease), translate .45s var(--svc-ease), box-shadow .45s var(--svc-ease);
}
.svc-step__icon::before {                    /* gradient fill fades in on hover */
  content: "";
  position: absolute;
  inset: -1.5px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--svc-cyan), var(--svc-indigo));
  opacity: 0;
  transition: opacity .35s var(--svc-ease);
}
.svc-sec .svc-step__icon svg { width: 26px; height: 26px; }
.svc-step__num {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--svc-navy);
  box-shadow: 0 0 0 3px #f6f9fd;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}
.svc-step:hover .svc-step__icon { color: #fff; translate: 0 -4px; box-shadow: 0 24px 36px -18px rgba(48, 51, 153, .7); }
.svc-step:hover .svc-step__icon::before { opacity: 1; }
.svc-step h3 { margin: 0 0 8px; color: var(--svc-navy); font-size: 17px; font-weight: 600; line-height: 1.3; }
.svc-step p { margin: 0; color: var(--svc-muted); font-size: 14px; line-height: 1.7; }

@media (max-width: 991px) {
  .svc-steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .svc-steps::before, .svc-steps::after { display: none; }
  .svc-step { display: grid; grid-template-columns: 62px minmax(0, 1fr); column-gap: 18px; padding-bottom: 28px; }
  .svc-step__icon { margin: 0; }
  .svc-step::before {                       /* vertical connector to the next step */
    content: "";
    position: absolute;
    top: 70px;
    bottom: 6px;
    left: 30px;
    width: 2px;
    background: repeating-linear-gradient(180deg, rgba(48, 51, 153, .3) 0 6px, transparent 6px 12px);
  }
  .svc-step:last-child::before { display: none; }
  .svc-step h3 { margin-top: 6px; }
}


/* --------------------------------------------------------------------------
   Tech stack — dark band
   -------------------------------------------------------------------------- */
.svc-tech {
  background:
    radial-gradient(55% 80% at 88% 10%, rgba(42, 171, 225, .24), transparent 60%),
    radial-gradient(45% 70% at 0% 100%, rgba(48, 51, 153, .6), transparent 70%),
    var(--svc-navy);
}
.svc-tech h2 { color: #fff; }
.svc-tech .svc-eyebrow { color: var(--svc-sky); }
.svc-tech .svc-head > p:not(.svc-eyebrow) { color: rgba(255, 255, 255, .72); }

.svc-shape--rings {
  right: -160px;
  bottom: -260px;
  width: 640px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 46px, rgba(255, 255, 255, .07) 46px 47px);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%);
          mask-image: radial-gradient(circle, #000 30%, transparent 70%);
}
.svc-shape--grid {
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 20% 30%, #000 10%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 80% at 20% 30%, #000 10%, transparent 75%);
}
.svc-shape--sq {
  left: 5%;
  bottom: 14%;
  width: 64px;
  height: 64px;
  border: 1.5px solid rgba(25, 210, 254, .35);
  border-radius: 16px;
  rotate: 18deg;
}
.svc-shape--plus {
  top: 16%;
  right: 46%;
  width: 16px;
  height: 16px;
  background:
    linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, .5)) center / 100% 1.5px no-repeat,
    linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, .5)) center / 1.5px 100% no-repeat;
}

.svc-tech__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.svc-tech .svc-head { margin-bottom: 0; }
.svc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.svc-chips li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px 11px 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  transition: border-color .3s var(--svc-ease), background-color .3s var(--svc-ease), translate .4s var(--svc-ease);
}
.svc-chips li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--svc-sky), #6f7dff);
  box-shadow: 0 0 10px rgba(25, 210, 254, .7);
}
.svc-chips li:hover {
  border-color: rgba(25, 210, 254, .6);
  background: rgba(255, 255, 255, .1);
  translate: 0 -2px;
}
@media (max-width: 991px) {
  .svc-tech__grid { grid-template-columns: minmax(0, 1fr); }
  .svc-shape--plus { display: none; }
}


/* --------------------------------------------------------------------------
   FAQ — sticky side with a "still have a question?" chat card
   -------------------------------------------------------------------------- */
.svc-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 4.4fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.svc-faq__side { position: sticky; top: 110px; }
.svc-faq .svc-head { margin-bottom: 0; }

.svc-ask {
  position: relative;
  isolation: isolate;
  margin-top: 30px;
  padding: 24px 24px 26px;
  overflow: hidden;
  border: 1px solid rgba(48, 51, 153, .1);
  border-radius: 22px;
  background: linear-gradient(155deg, #eef6fd 0%, #f2f0ff 100%);
}
.svc-ask .svc-shape--dots { top: -20px; right: -30px; }
.svc-ask__chat { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.svc-ask__row { display: flex; align-items: flex-end; gap: 8px; }
.svc-ask__row--me { justify-content: flex-end; }
.svc-ask__avatar {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--svc-grad);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
}
.svc-ask__bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 16px 16px 16px 4px;
  background: #fff;
  box-shadow: 0 10px 22px -16px rgba(11, 28, 70, .5);
  color: var(--svc-ink);
  font-size: 13px;
  line-height: 1.45;
}
.svc-ask__bubble--me {
  border-radius: 16px 16px 4px 16px;
  background: linear-gradient(120deg, var(--svc-indigo), var(--svc-blue));
  color: #fff;
}
.svc-ask__typing {
  display: inline-flex;
  gap: 4px;
  padding: 13px 14px;
  border-radius: 16px 16px 16px 4px;
  background: #fff;
  box-shadow: 0 10px 22px -16px rgba(11, 28, 70, .5);
}
.svc-ask__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--svc-indigo); opacity: .35; }
.svc-ask__title { margin: 0 0 4px; color: var(--svc-navy); font-size: 18px; font-weight: 600; line-height: 1.3; }
.svc-ask__text { margin: 0 0 18px; color: var(--svc-muted); font-size: 14px; line-height: 1.6; }
.svc-ask__actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }

.svc-faq__list { border-top: 1px solid var(--svc-line); }
.svc-faq__item { border-bottom: 1px solid var(--svc-line); }
.svc-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  color: var(--svc-navy);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
  transition: color .25s var(--svc-ease);
}
.svc-faq__item summary::-webkit-details-marker { display: none; }
.svc-faq__item summary:hover { color: var(--svc-blue); }
.svc-faq__item summary:focus-visible { outline: 2px solid var(--svc-cyan); outline-offset: 4px; border-radius: 4px; }
.svc-faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid var(--svc-line);
  border-radius: 50%;
  transition: background-color .3s var(--svc-ease), border-color .3s var(--svc-ease), rotate .4s var(--svc-ease);
}
.svc-faq__icon::before,
.svc-faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  margin: -.75px 0 0 -6px;
  background: var(--svc-navy);
  transition: background-color .3s var(--svc-ease);
}
.svc-faq__icon::after { rotate: 90deg; }
.svc-faq__item[open] .svc-faq__icon { rotate: 45deg; border-color: transparent; background: var(--svc-navy); }
.svc-faq__item[open] .svc-faq__icon::before,
.svc-faq__item[open] .svc-faq__icon::after { background: #fff; }
.svc-faq__answer p { margin: 0 0 22px; max-width: 64ch; color: var(--svc-muted); font-size: 15px; line-height: 1.75; }
@media (max-width: 991px) {
  .svc-faq__grid { grid-template-columns: minmax(0, 1fr); }
  /* phones: heading → questions → chat card */
  .svc-faq__side { display: contents; }
  .svc-faq .svc-head { order: 1; }
  .svc-faq__list { order: 2; }
  .svc-ask { order: 3; margin-top: 0; }
}


/* --------------------------------------------------------------------------
   Related services — grid on desktop, swipe row on phones
   -------------------------------------------------------------------------- */
.svc-related { background: var(--svc-mist); }
.svc-shape--wave {                           /* long dashed arc across the section */
  top: 60px;
  left: -20%;
  width: 140%;
  height: 420px;
  border-top: 1.5px dashed rgba(48, 51, 153, .14);
  border-radius: 50%;
}
.svc-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.svc-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--svc-line);
  border-radius: 18px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color .35s var(--svc-ease), box-shadow .45s var(--svc-ease), translate .45s var(--svc-ease);
}
.svc-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #dfeefa, #e9e8fb);
}
.svc-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale .8s var(--svc-ease);
}
.svc-card__go {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 22px -12px rgba(11, 28, 70, .6);
  color: var(--svc-navy);
  opacity: 0;
  scale: .6;
  transition: opacity .3s var(--svc-ease), scale .45s var(--svc-ease);
}
.svc-sec .svc-card__go svg { rotate: -45deg; }
.svc-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
  padding: 18px 20px 20px;
}
.svc-card__title { color: var(--svc-navy); font-size: 16px; font-weight: 600; line-height: 1.35; }
.svc-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--svc-blue);
  font-size: 13px;
  font-weight: 600;
}
.svc-card a:hover,
.svc-card a:focus-visible {
  border-color: rgba(42, 171, 225, .45);
  box-shadow: 0 26px 50px -34px rgba(11, 28, 70, .55);
}
.svc-card a:hover .svc-card__media img { scale: 1.06; }
.svc-card a:hover .svc-card__go { opacity: 1; scale: 1; }
.svc-card a:hover .svc-card__more svg { translate: 3px 0; }
.svc-card a:focus-visible { outline: 2px solid var(--svc-cyan); outline-offset: 3px; }

@media (max-width: 991px) {
  .svc-cards {
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 72%);
    grid-template-columns: none;
    margin: 0 -15px;
    padding: 4px 15px 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 15px;
    scrollbar-width: none;
  }
  .svc-cards::-webkit-scrollbar { display: none; }
  .svc-card { scroll-snap-align: start; }
  .svc-card__go { opacity: 1; scale: 1; }
}


/* --------------------------------------------------------------------------
   CTA — gradient panel with glossy 3D shapes
   -------------------------------------------------------------------------- */
.svc-cta__panel {
  position: relative;
  isolation: isolate;
  min-height: 340px;
  padding: clamp(34px, 5vw, 64px) clamp(24px, 5vw, 64px);
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(70% 120% at 0% 0%, rgba(25, 210, 254, .26), transparent 60%),
    linear-gradient(118deg, #1f2780 0%, var(--svc-indigo) 32%, var(--svc-blue) 74%, #1aa6df 100%);
  box-shadow: 0 40px 80px -44px rgba(11, 28, 70, .7);
  color: #fff;
}
.svc-cta__panel::after {                     /* faint rings behind the shapes */
  content: "";
  position: absolute;
  z-index: -2;
  top: 50%;
  right: -10%;
  width: min(60vw, 560px);
  aspect-ratio: 1;
  translate: 0 -50%;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 34px, rgba(255, 255, 255, .08) 34px 35px);
  -webkit-mask-image: radial-gradient(circle, #000 25%, transparent 70%);
          mask-image: radial-gradient(circle, #000 25%, transparent 70%);
}
.svc-cta__copy { position: relative; z-index: 1; max-width: 560px; }
.svc-cta .svc-eyebrow { color: rgba(255, 255, 255, .78); }
.svc-cta h2 { color: #fff; }
.svc-cta__copy p:not(.svc-eyebrow) { margin: 14px 0 0; max-width: 50ch; color: rgba(255, 255, 255, .82); font-size: 16px; line-height: 1.7; }
.svc-cta__actions { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 28px; }
.svc-btn--primary { background: #fff; color: var(--svc-navy) !important; box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .55); }
.svc-btn--primary:hover { translate: 0 -2px; box-shadow: 0 24px 44px -18px rgba(0, 0, 0, .6); }
.svc-btn--primary:hover svg { translate: 3px 0; }
.svc-btn--ghost { border: 1px solid rgba(255, 255, 255, .55) !important; color: #fff !important; }
.svc-btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.single-services .svc-cta__phone {
  display: inline-block;
  margin-top: 18px;
  color: rgba(255, 255, 255, .78) !important;
  font-size: 14px;
  text-decoration: none;
}
.svc-cta__phone:hover { color: #fff !important; }

.svc-cta__art {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: clamp(24px, 6vw, 96px);
  width: 320px;
  height: 290px;
  translate: 0 -50%;
  perspective: 900px;
}
.svc-cta__orb {
  position: absolute;
  left: 86px;
  top: 64px;
  width: 150px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffffff 0%, #c9f3ff 14%, #58c8f4 38%, #2f4fd0 70%, #1c2170 100%);
  box-shadow: inset -16px -20px 40px rgba(10, 14, 70, .45), 0 34px 60px -24px rgba(0, 0, 0, .55);
}
.svc-cta__orb--sm {
  left: 18px;
  top: 196px;
  width: 46px;
  background: radial-gradient(circle at 32% 28%, #ffffff 0%, #ffe6f6 16%, #8f9bff 50%, #3a3fa6 100%);
}
.svc-cta__torus {
  position: absolute;
  left: 30px;
  top: 66px;
  width: 262px;
  height: 262px;
  border: 13px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), 0 0 0 1px rgba(255, 255, 255, .22);
  transform: rotateX(72deg) rotateZ(0deg);
}
.svc-cta__glass {
  position: absolute;
  right: 0;
  top: 8px;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .38), rgba(255, 255, 255, .06));
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .45);
  rotate: 16deg;
}
.svc-cta__spark {
  position: absolute;
  left: 40px;
  top: 18px;
  width: 26px;
  height: 26px;
  background: #fff;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  opacity: .85;
}
@media (max-width: 1099px) {
  .svc-cta__art { right: -40px; opacity: .45; }
}
@media (max-width: 767px) {
  .svc-cta__panel { min-height: 0; border-radius: 22px; }
  .svc-cta__art { display: none; }
}


/* --------------------------------------------------------------------------
   Motion — all of it behind prefers-reduced-motion
   -------------------------------------------------------------------------- */
@keyframes svc-spin   { to { rotate: 1turn; } }
@keyframes svc-float  { 50% { translate: 0 -12px; } }
@keyframes svc-morph  { to { border-radius: 58% 42% 54% 46% / 44% 58% 42% 56%; rotate: 8deg; } }
@keyframes svc-bars   { 50% { scale: 1 .6; } }
@keyframes svc-typing { 0%, 60%, 100% { translate: 0 0; opacity: .35; } 30% { translate: 0 -4px; opacity: 1; } }
@keyframes svc-fill   { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes svc-torus  { to { transform: rotateX(72deg) rotateZ(360deg); } }

@media (prefers-reduced-motion: no-preference) {
  .svc-media__blob         { animation: svc-morph 12s ease-in-out infinite alternate; }
  .svc-media__ring         { animation: svc-spin 9s linear infinite; }
  .svc-media__badge-text   { animation: svc-spin 18s linear infinite; }
  .svc-media__stat         { animation: svc-float 6s ease-in-out infinite; }
  .svc-media__bars i       { animation: svc-bars 2.4s ease-in-out infinite; }
  .svc-media__bars i:nth-child(2) { animation-delay: -.6s; }
  .svc-media__bars i:nth-child(3) { animation-delay: -1.2s; }
  .svc-media__bars i:nth-child(4) { animation-delay: -1.8s; }

  .svc-shape--sq           { animation: svc-spin 30s linear infinite; }
  .svc-ask__typing i       { animation: svc-typing 1.2s ease-in-out infinite; }
  .svc-ask__typing i:nth-child(2) { animation-delay: .15s; }
  .svc-ask__typing i:nth-child(3) { animation-delay: .3s; }

  .svc-cta__orb            { animation: svc-float 7s ease-in-out infinite; }
  .svc-cta__orb--sm        { animation-duration: 5s; animation-delay: -2s; }
  .svc-cta__glass          { animation: svc-float 6s ease-in-out -3s infinite; }
  .svc-cta__torus          { animation: svc-torus 24s linear infinite; }

  /* the process line draws itself as the steps scroll into view */
  @supports (animation-timeline: view()) {
    .svc-steps::after {
      animation: svc-fill linear both;
      animation-timeline: --svc-steps;
      animation-range: entry 40% cover 55%;
    }
  }
}


/* --------------------------------------------------------------------------
   Tablet & phone
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .single-services .svc-intro { grid-template-columns: minmax(0, 1fr); }
  .single-services .svc-media { width: min(100%, 520px); margin-inline: auto; }
}
@media (max-width: 575px) {
  .single-services .svc-media { padding: 20px 12px 30px 20px; }
  .single-services a.svc-media__badge { width: 86px; height: 86px; top: -4px; right: -2px; }
  .svc-media__badge-core { width: 36px; height: 36px; }
  .svc-media__badge-core svg { width: 16px; height: 16px; }
  .svc-media__stat { padding: 12px 14px; max-width: 210px; }
  .single-services .svc-media .svc-media__stat-num { font-size: 28px; }
  .svc-media__ring { width: 46px; height: 46px; left: 0; }
  .svc-intro__actions .svc-btn { flex: 1 1 auto; justify-content: center; }
  .svc-process .svc-shape--dots { display: none; }
}

@media print {
  .svc-shape, .svc-media__badge, .svc-cta__art, .svc-related, .svc-cta { display: none !important; }
}

.services-template-default section.pt-0.padding-for-banner {
  padding-bottom: 0;
}