
.website-service-page .section-label,
.website-service-page .page-hero-badge { letter-spacing: 0; }
.website-service-page .page-hero {
  min-height: 560px;
  display: flex;
  align-items: center;
}
.website-service-page .page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 3rem;
  align-items: center;
}
.website-service-page .page-hero h1 {
  max-width: 780px;
  font-size: 3.6rem;
  line-height: 1.05;
}
.website-service-page .page-hero p { max-width: 680px; }
.web-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
  animation: fadeUp 0.7s ease 0.3s both;
}
.web-hero-visual {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  padding: 1.25rem;
  animation: fadeUp 0.7s ease 0.25s both;
}
.web-hero-lottie {
  width: 180px;
  height: 180px;
  margin: 0 auto 1rem;
  opacity: 0.95;
}
.web-hero-visual h2 {
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}
.web-hero-visual p {
  color: rgba(255,255,255,0.68);
  font-size: 0.92rem;
  line-height: 1.65;
}
.web-proof-strip {
  background: var(--mist);
  border-bottom: 1px solid var(--border);
}
.web-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.web-proof-item {
  background: white;
  padding: 1.25rem;
  min-height: 112px;
}
.web-proof-item strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
}
.web-proof-item span {
  color: var(--text-light);
  font-size: 0.84rem;
  line-height: 1.55;
}
.web-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 3rem;
  align-items: start;
}
.web-lede {
  color: var(--text-light);
  font-size: 1.02rem;
  line-height: 1.85;
}
.web-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
.web-fit-grid {
  grid-template-columns: repeat(4, 1fr);
}
.web-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  padding: 1.2rem;
}
.web-card h3 {
  font-family: 'DM Sans', sans-serif;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.web-card p,
.web-card li {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.65;
}
.web-card ul,
.web-scope-list {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
}
.web-muted-section { background: var(--off-white); }
.web-path-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  margin-top: 2rem;
}
.web-path-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  min-height: 310px;
}
.web-path-card span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.web-path-card h3 {
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}
.web-path-card p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.web-path-card a {
  margin-top: auto;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}
.web-path-card a:hover { color: var(--teal); }
.web-check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.web-check {
  border-left: 3px solid var(--teal);
  background: white;
  padding: 1rem 1.15rem;
  box-shadow: 0 8px 24px rgba(26,39,68,0.05);
}
.web-check strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.web-check span {
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.6;
}
.web-sample-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1rem;
  margin-top: 2rem;
}
.web-sample-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  padding: 1.2rem;
  box-shadow: 0 12px 34px rgba(26,39,68,0.06);
}
.web-sample-card h3 {
  font-family: 'DM Sans', sans-serif;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.web-sample-card p {
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 0.85rem;
}
.web-sample-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  border-top: 1px solid var(--border);
  padding: 0.75rem 0;
}
.web-sample-line strong {
  color: var(--navy);
  font-size: 0.9rem;
}
.web-sample-line span {
  color: var(--text-light);
  font-size: 0.82rem;
  line-height: 1.5;
}
.web-sample-pill {
  border-radius: 999px;
  background: var(--mist);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.58rem;
  text-transform: uppercase;
  white-space: nowrap;
}
.web-sample-pill.is-high {
  background: rgba(61,127,138,0.14);
  color: var(--teal);
}
.web-roadmap-list {
  display: grid;
  gap: 0.7rem;
}
.web-roadmap-item {
  border-left: 3px solid var(--teal);
  background: var(--off-white);
  padding: 0.85rem 0.95rem;
}
.web-roadmap-item strong {
  display: block;
  color: var(--navy);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}
.web-roadmap-item span {
  color: var(--text-light);
  font-size: 0.84rem;
  line-height: 1.55;
}
.web-process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
  margin-top: 2rem;
}
.web-process-step {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  background: var(--off-white);
}
.web-process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--navy);
  color: white;
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.web-process-step h3 {
  font-family: 'DM Sans', sans-serif;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
}
.web-process-step p {
  color: var(--text-light);
  font-size: 0.84rem;
  line-height: 1.6;
}
.web-scope-band {
  background: var(--navy);
  color: white;
}
.web-scope-band .section-title,
.web-scope-band .section-label { color: white; }
.web-scope-band .section-intro { color: rgba(255,255,255,0.68); }
.web-scope-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.web-scope-card {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  padding: 1.25rem;
}
.web-scope-card h3 {
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  margin-bottom: 0.6rem;
}
.web-scope-card li {
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  line-height: 1.65;
}
.web-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.web-faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  padding: 1.25rem;
}
.web-faq-item h3 {
  font-family: 'DM Sans', sans-serif;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 0.6rem;
}
.web-faq-item p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
}
@media(max-width: 1000px) {
  .website-service-page .page-hero-inner,
  .web-split,
  .web-proof-grid,
  .web-path-grid,
  .web-process-grid {
    grid-template-columns: 1fr 1fr;
  }
  .web-fit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .website-service-page .page-hero h1 { font-size: 3rem; }
  .web-hero-visual { align-self: stretch; }
}
@media(max-width: 720px) {
  .website-service-page .page-hero {
    min-height: 0;
    display: block;
  }
  .website-service-page .page-hero-inner,
  .web-split,
  .web-grid,
  .web-proof-grid,
  .web-path-grid,
  .web-check-grid,
  .web-sample-grid,
  .web-process-grid,
  .web-scope-grid,
  .web-faq-grid {
    grid-template-columns: 1fr;
  }
  .website-service-page .page-hero h1 {
    font-size: 2.35rem;
    line-height: 1.12;
  }
  .website-service-page .section-title,
  .website-service-page .cta-band h2 {
    font-size: 2rem;
    line-height: 1.18;
  }
  .web-hero-visual {
    padding: 1rem;
  }
  .web-hero-lottie {
    width: 132px;
    height: 132px;
  }
  .web-path-card {
    min-height: 0;
  }
}
@media(max-width: 440px) {
  .website-service-page .page-hero h1 { font-size: 2.05rem; }
  .web-card,
  .web-path-card,
  .web-sample-card,
  .web-faq-item,
  .web-scope-card {
    padding: 1rem;
  }
}

/* =============================================================================
   PREMIUM AI / SEARCH-INTELLIGENCE VISUAL ENHANCEMENTS
   Decorative only — no impact on copy, SEO, meta, schema, or headings.
   All motion respects prefers-reduced-motion and stays light on mobile.
   ========================================================================== */

/* --- Hero particle / point-cloud canvas --- */
.website-service-page .page-hero { isolation: isolate; }
.wseo-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;                /* above grid/glow, below .page-hero-inner (z:2) */
  pointer-events: none;
  opacity: 0;
  animation: wseoCanvasIn 1.2s ease 0.15s forwards;
}
@keyframes wseoCanvasIn { to { opacity: 1; } }

/* Hero visual card sits above the canvas and gets a subtle glass + hover lift */
.website-service-page .web-hero-visual {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.06);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.website-service-page .web-hero-visual:hover {
  transform: translateY(-3px);
  border-color: rgba(200,184,154,0.42);
  box-shadow: 0 18px 50px rgba(0,0,0,0.28);
}

/* --- Hover / micro-interactions on cards & CTAs --- */
.web-card,
.web-check,
.web-path-card,
.web-sample-card,
.web-faq-item,
.web-process-step,
.web-roadmap-item,
.web-scope-card {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.web-card:hover,
.web-faq-item:hover,
.web-path-card:hover,
.web-sample-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
  box-shadow: 0 16px 38px rgba(26,39,68,0.10);
}
.web-check {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-left-color 0.35s var(--ease);
}
.web-check:hover {
  transform: translateY(-3px);
  border-left-color: var(--sand);
  box-shadow: 0 14px 30px rgba(26,39,68,0.12);
}
.web-process-step:hover { transform: translateY(-3px); border-color: var(--teal); }
.web-roadmap-item:hover { transform: translateX(3px); }
.web-scope-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.30); }
.web-proof-item { transition: background 0.35s var(--ease); }
.web-proof-item:hover { background: var(--mist); }
.web-path-card a { transition: color 0.3s var(--ease), letter-spacing 0.3s var(--ease); }
.web-path-card:hover a { letter-spacing: 0.012em; }

/* CTA buttons (scoped to this page) */
.website-service-page .btn-primary,
.website-service-page .btn-outline {
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.website-service-page .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(61,127,138,0.35);
}
.website-service-page .btn-outline:hover { transform: translateY(-2px); }

/* --- Process: connector rail + travelling signal dot --- */
.web-process-grid { position: relative; }
.web-process-grid > .web-process-step { position: relative; z-index: 1; }
.web-process-grid::before {
  content: "";
  position: absolute;
  top: 2rem;
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(90deg,
    rgba(61,127,138,0) 0%,
    rgba(61,127,138,0.35) 12%,
    rgba(61,127,138,0.35) 88%,
    rgba(61,127,138,0) 100%);
  z-index: 0;
  pointer-events: none;
}
.web-process-grid::after {
  content: "";
  position: absolute;
  top: calc(2rem - 3px);
  left: 6%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(61,127,138,0.16), 0 0 12px rgba(90,159,170,0.85);
  z-index: 0;
  pointer-events: none;
  animation: wseoFlow 6s linear infinite;
}
@keyframes wseoFlow {
  0%   { left: 6%;  opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: 94%; opacity: 0; }
}

/* --- Local SEO: search / map ping pulse --- */
.website-service-page #local-seo { position: relative; overflow: hidden; }
.website-service-page #local-seo .section-inner { position: relative; z-index: 1; }
.wseo-radar-pulse {
  position: absolute;
  top: 14%;
  right: 5%;
  width: 200px;
  height: 200px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}
.wseo-radar-pulse span {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
  animation: wseoPing 3.6s ease-out infinite;
}
.wseo-radar-pulse span:nth-child(2) { animation-delay: 1.2s; }
.wseo-radar-pulse span:nth-child(3) { animation-delay: 2.4s; }
.wseo-radar-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px rgba(61,127,138,0.6);
}
@keyframes wseoPing {
  0%   { transform: scale(1);  opacity: 0.85; }
  100% { transform: scale(8.5); opacity: 0; }
}

/* --- Mobile: keep it clean & uncrowded --- */
@media(max-width: 720px) {
  .wseo-radar-pulse { display: none; }
  .web-process-grid::before,
  .web-process-grid::after { display: none; }
  .website-service-page .web-hero-visual {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* --- Reduced motion: stop all decorative motion --- */
@media(prefers-reduced-motion: reduce) {
  .wseo-hero-canvas { animation: none; opacity: 1; }
  .web-process-grid::after { display: none; }
  .wseo-radar-pulse span { animation: none; }
  .wseo-radar-pulse { opacity: 0.35; }
}

/* =============================================================================
   IMMERSIVE REDESIGN  —  dark, cursor-reactive, denser layout
   Page-scoped (body.website-service-page). Keeps all copy + SEO; only restyles.
   ========================================================================== */

/* Dark base so the background constellation reads through every section */
body.website-service-page {
  background:
    radial-gradient(1200px 700px at 78% -8%, rgba(61,127,138,0.18), transparent 60%),
    radial-gradient(900px 600px at 10% 12%, rgba(36,53,88,0.55), transparent 55%),
    linear-gradient(180deg, #0b1322 0%, #0c1426 55%, #0a111e 100%);
  background-attachment: fixed;
  color: rgba(255,255,255,0.82);
}

/* Full-viewport background point-cloud canvas */
.wseo-bg-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}
body.website-service-page main,
body.website-service-page footer { position: relative; z-index: 1; }

/* Sections become transparent so the constellation shows through */
body.website-service-page .section { padding: 3.3rem 6%; background: transparent; }
body.website-service-page .web-proof-strip,
body.website-service-page .web-muted-section,
body.website-service-page .web-scope-band { background: transparent; border-color: rgba(255,255,255,0.07); }
body.website-service-page .section-inner { position: relative; z-index: 1; }

/* Headings + copy to light */
body.website-service-page .section-title,
body.website-service-page .web-card h3,
body.website-service-page .web-path-card h3,
body.website-service-page .web-sample-card h3,
body.website-service-page .web-faq-item h3,
body.website-service-page .web-process-step h3,
body.website-service-page .web-check strong,
body.website-service-page .web-proof-item strong,
body.website-service-page .web-roadmap-item strong,
body.website-service-page .web-sample-line strong { color: #f3efe7; }
body.website-service-page .section-intro,
body.website-service-page .web-lede,
body.website-service-page .web-card p,
body.website-service-page .web-card li,
body.website-service-page .web-path-card p,
body.website-service-page .web-sample-card p,
body.website-service-page .web-faq-item p,
body.website-service-page .web-process-step p,
body.website-service-page .web-check span,
body.website-service-page .web-proof-item span,
body.website-service-page .web-roadmap-item span,
body.website-service-page .web-sample-line span { color: rgba(255,255,255,0.68); }
body.website-service-page .section-intro a,
body.website-service-page .web-lede a { color: var(--teal-light); }

/* Glass cards */
body.website-service-page .web-card,
body.website-service-page .web-path-card,
body.website-service-page .web-sample-card,
body.website-service-page .web-faq-item,
body.website-service-page .web-process-step,
body.website-service-page .web-proof-item,
body.website-service-page .web-roadmap-item,
body.website-service-page .web-scope-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.10);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
}
body.website-service-page .web-check {
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
  border-left: 3px solid var(--teal-light);
  border-radius: 0 12px 12px 0;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
}

/* Proof strip -> floating glass tiles instead of a hairline grid */
body.website-service-page .web-proof-grid {
  background: transparent;
  border: none;
  gap: 0.9rem;
  overflow: visible;
}
body.website-service-page .web-proof-item { border-radius: 12px; }

/* Hover glow (works with the JS magnetic lean) */
body.website-service-page .web-card:hover,
body.website-service-page .web-path-card:hover,
body.website-service-page .web-sample-card:hover,
body.website-service-page .web-faq-item:hover,
body.website-service-page .web-process-step:hover,
body.website-service-page .web-scope-card:hover {
  border-color: rgba(90,159,170,0.55);
  box-shadow: 0 18px 44px rgba(0,0,0,0.34), 0 0 0 1px rgba(90,159,170,0.18) inset;
}
body.website-service-page .web-check:hover { border-left-color: var(--sand); }

/* Sample scorecard pills for dark */
body.website-service-page .web-sample-pill {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
}
body.website-service-page .web-sample-pill.is-high {
  background: rgba(90,159,170,0.22);
  color: #cfeef0;
}
body.website-service-page .web-sample-line { border-top-color: rgba(255,255,255,0.10); }
body.website-service-page .web-path-card a { color: #eef1f0; }
body.website-service-page .web-path-card a:hover { color: var(--teal-light); }
body.website-service-page .web-process-step span { background: var(--teal); }

/* Tighten the hero so it is not mostly empty space */
body.website-service-page .page-hero { min-height: 0; padding: 132px 6% 84px; }
body.website-service-page .page-hero-inner { gap: 2.4rem; }

/* Scope band cards keep light text */
body.website-service-page .web-scope-card h3 { color: #f3efe7; }
body.website-service-page .web-scope-card li { color: rgba(255,255,255,0.72); }

/* CTA band as glass */
body.website-service-page .cta-band {
  background: linear-gradient(180deg, rgba(61,127,138,0.16), rgba(255,255,255,0.03));
  border: 1px solid rgba(90,159,170,0.28);
  border-radius: 16px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* Background canvas off when motion is reduced is handled in JS;
   keep the dark theme legible regardless. */
@media(max-width: 760px) {
  body.website-service-page .web-card,
  body.website-service-page .web-path-card,
  body.website-service-page .web-faq-item,
  body.website-service-page .web-scope-card {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  body.website-service-page .section { padding: 2.6rem 6%; }
}

/* =============================================================================
   NIGHT-VISION FIX  (site dark theme compatibility)
   shared.css applies [data-theme="dark"] .section { background:#0e1520 !important }
   to every section, which paints OVER the fixed background point-cloud and hides
   the starfield. Re-assert transparency (and the immersive gradient) in dark mode
   so the animation shows. Page-scoped — affects this page only.
   ========================================================================== */
html[data-theme="dark"] body.website-service-page {
  background:
    radial-gradient(1200px 700px at 78% -8%, rgba(61,127,138,0.18), transparent 60%),
    radial-gradient(900px 600px at 10% 12%, rgba(36,53,88,0.55), transparent 55%),
    linear-gradient(180deg, #0b1322 0%, #0c1426 55%, #0a111e 100%) !important;
  background-attachment: fixed !important;
}
html[data-theme="dark"] body.website-service-page .section,
html[data-theme="dark"] body.website-service-page .section:nth-child(even),
html[data-theme="dark"] body.website-service-page .web-proof-strip,
html[data-theme="dark"] body.website-service-page .web-muted-section,
html[data-theme="dark"] body.website-service-page .web-scope-band {
  background: transparent !important;
}
