/* Service page — denser alternating bands */
:root {
  --service-jump-h: 52px;
}

.service-jump {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: sticky;
  top: var(--header-h);
  z-index: 40;
}
.service-jump__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.25rem;
  padding: 0.65rem 0;
  overflow-x: auto;
  align-items: center;
}
.service-jump a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding: 0.45rem 0.75rem;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}
.service-jump a:hover {
  color: var(--white);
  border-color: rgba(0, 108, 240, 0.45);
  color: var(--blue-bright);
}

/* Offset sticky header + jump nav so hash links land cleanly */
.service-block,
#documentation {
  scroll-margin-top: calc(var(--header-h) + var(--service-jump-h) + 12px);
}

.service-intro {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 2.35rem 1.5rem;
  background:
    radial-gradient(ellipse 85% 80% at 50% -10%, rgba(0, 108, 240, 0.38), transparent 55%),
    radial-gradient(ellipse 50% 55% at 0% 100%, rgba(0, 86, 214, 0.25), transparent 50%),
    radial-gradient(ellipse 45% 50% at 100% 100%, rgba(61, 164, 255, 0.18), transparent 48%),
    linear-gradient(165deg, #041525 0%, #061A2E 45%, #0A3558 100%);
  border-top: 1px solid rgba(0, 108, 240, 0.25);
  border-bottom: 1px solid rgba(0, 108, 240, 0.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
}
.service-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 108, 240, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 108, 240, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 75% 85% at 50% 50%, #000 15%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.service-intro::after {
  content: "";
  position: absolute;
  inset: -15% -10%;
  background:
    radial-gradient(circle 22rem at 28% 45%, rgba(0, 139, 255, 0.26), transparent 55%),
    radial-gradient(circle 18rem at 75% 60%, rgba(0, 108, 240, 0.2), transparent 50%);
  filter: blur(2px);
  animation: division-glow-drift 14s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
.service-quote {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 38rem;
  text-align: center;
  padding: 0 0.5rem;
}
.service-quote p {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 500;
  text-shadow: 0 1px 12px rgba(6, 26, 46, 0.35), 0 0 24px rgba(0, 139, 255, 0.25);
}
.lead--light {
  color: rgba(255,255,255,0.78);
  max-width: 48rem;
  margin: 0;
}

.service-block {
  padding: 3.25rem 0;
}
.service-block--light {
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-200);
}
.service-block--navy {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 10% 20%, rgba(0, 108, 240, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 45% at 90% 80%, rgba(0, 139, 255, 0.12), transparent 55%),
    var(--navy);
  color: rgba(255,255,255,0.8);
}
.service-block--navy h2 { color: var(--white); }
.service-block--navy p { color: rgba(255,255,255,0.75); }
.service-block--accent {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% -20%, rgba(0, 139, 255, 0.28), transparent 50%),
    linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 55%, #0a3a5c 100%);
  color: rgba(255,255,255,0.8);
  border-top: 3px solid var(--blue-bright);
  border-bottom: 3px solid var(--blue-bright);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.service-block--accent h2 { color: var(--white); }
.service-block--accent p { color: rgba(255,255,255,0.75); }
.service-block--statement { text-align: left; }
.service-block--tight { padding: 2.5rem 0; }
.service-block__lead {
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 1rem 0 1.25rem;
}
.service-block__tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.service-block__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.service-block__grid--reverse .service-block__copy { order: 2; }
.service-block__copy h2 { margin-bottom: 0.85rem; }
.service-block__copy p { margin-bottom: 1.35rem; }
.service-block__media {
  overflow: hidden;
  border: 1px solid rgba(0, 108, 240, 0.4);
  min-height: 280px;
  background: var(--navy-soft);
  position: relative;
  box-shadow:
    8px 8px 0 rgba(0, 108, 240, 0.22),
    0 14px 36px rgba(0, 86, 214, 0.22);
}
.service-block__media::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background:
    radial-gradient(ellipse 55% 40% at 0% 0%, rgba(230,245,255,0.38), transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, transparent 16%);
  mix-blend-mode: screen;
}
.service-block__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 108, 240, 0.12) 0%, transparent 35%, rgba(6, 26, 46, 0.15) 100%);
  box-shadow: inset 0 0 0 1px rgba(61, 164, 255, 0.25);
  pointer-events: none;
  z-index: 2;
}
.service-block--navy .service-block__media,
.service-block--accent .service-block__media {
  border-color: rgba(61, 164, 255, 0.45);
  box-shadow:
    8px 8px 0 rgba(61, 164, 255, 0.2),
    0 14px 36px rgba(0, 108, 240, 0.25);
}
.service-block__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.service-block__compact {
  max-width: 760px;
}
.service-block__compact h2 { margin-bottom: 0.85rem; }
.service-block__compact p { margin-bottom: 1.25rem; color: var(--text-muted); }

/* Service area map */
.map-section {
  position: relative;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0, 108, 240, 0.08), transparent 55%),
    var(--off-white);
  border-top: 1px solid rgba(0, 108, 240, 0.18);
  border-bottom: 1px solid rgba(0, 108, 240, 0.18);
  padding: 3.5rem 0;
}
.map-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}
.map-sticky {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
.map-frame {
  border: 1px solid rgba(0, 139, 255, 0.55);
  background: var(--navy);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0, 108, 240, 0.25),
    0 16px 40px rgba(0, 86, 214, 0.28),
    0 4px 16px rgba(6, 26, 46, 0.2);
}
.map-frame__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  background: linear-gradient(180deg, #0C3A5E 0%, var(--navy) 100%);
  border-bottom: 1px solid rgba(0, 108, 240, 0.3);
}
.map-frame__header h3 {
  color: var(--white);
  font-size: 0.95rem;
  margin: 0;
}
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.map-legend i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.map-legend .dot-primary {
  background: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(0, 108, 240, 0.35);
}
.map-legend .dot-extended {
  background: transparent;
  border: 2px solid #3DA4FF;
}
.map-canvas {
  height: min(62vh, 560px);
  min-height: 420px;
  width: 100%;
  background: #0c2d4a;
}
.map-canvas.service-map--fixed,
.map-canvas.service-map--fixed .maplibregl-canvas {
  cursor: default;
}
.map-canvas.service-map--fixed .maplibregl-ctrl-bottom-right,
.map-canvas.service-map--fixed .maplibregl-ctrl-bottom-left {
  opacity: 0.85;
}
.map-canvas .maplibregl-canvas {
  filter: saturate(0.92) contrast(1.1) brightness(0.97);
}
.map-canvas .maplibregl-popup {
  z-index: 5;
}
.ccc-popup .maplibregl-popup-content {
  border-radius: 2px;
  border: 1px solid #dce2e8;
  box-shadow: 0 8px 24px rgba(6, 26, 46, 0.15);
  padding: 0.85rem 1rem;
  font-family: "Source Sans 3", sans-serif;
  color: #17202A;
  line-height: 1.45;
}
.ccc-popup .maplibregl-popup-close-button {
  font-size: 1.1rem;
  padding: 0.35rem 0.5rem;
}
.map-note {
  padding: 0.75rem 1.1rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.map-panel h2 { margin-bottom: 0.75rem; }
.map-panel .lead { margin-bottom: 1.5rem; }
.map-zone {
  margin-bottom: 1.75rem;
  border: 1px solid var(--gray-200);
  background: var(--white);
}
.map-zone__head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.map-zone__head .zone-swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue-bright);
  flex-shrink: 0;
}
.map-zone__head .zone-swatch--extended {
  background: transparent;
  border: 2px solid #3DA4FF;
}
.map-zone .city-grid {
  margin: 0;
  padding: 0.5rem 1rem 1rem;
  grid-template-columns: 1fr 1fr;
}
.map-zone .city-grid li {
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
  list-style: none;
}
.map-zone .city-grid li::before {
  display: none;
}
.map-zone .city-grid li:hover,
.map-zone .city-grid li.is-active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.ccc-popup__title {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #061A2E;
  margin-bottom: 0.25rem;
}
.ccc-popup__meta {
  font-size: 0.8125rem;
  color: #6B7785;
}

@media (max-width: 960px) {
  :root {
    --service-jump-h: 88px;
  }
  .service-jump__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: stretch;
    gap: 0;
    overflow: hidden;
    padding: 0.35rem 0;
  }
  .service-jump a {
    flex: 1 1 25%;
    width: 25%;
    box-sizing: border-box;
    text-align: center;
    font-size: clamp(0.58rem, 2.7vw, 0.72rem);
    letter-spacing: 0.05em;
    padding: 0.4rem 0.15rem;
  }
  .service-jump a:nth-child(n + 5) {
    flex-basis: 33.333%;
    width: 33.333%;
  }
  .map-layout {
    grid-template-columns: 1fr;
  }
  .map-sticky {
    position: relative;
    top: 0;
  }
  .map-canvas {
    height: 380px;
    min-height: 320px;
  }
  .service-block__grid,
  .service-block__grid--reverse .service-block__copy {
    grid-template-columns: 1fr;
  }
  .service-block__grid--reverse .service-block__copy { order: 0; }
  .service-block__media img { height: 240px; }
}
