/* Service page — continuous light canvas (no navy/light strobing) */
:root {
  --service-jump-h: 52px;
}

.service-jump {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: var(--header-h);
  z-index: 40;
}
.service-jump__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 0.15rem;
  padding: 0.55rem 0;
  overflow-x: auto;
  align-items: center;
  scrollbar-width: thin;
}
.service-jump a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 0.45rem 0.7rem;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
}
.service-jump a:hover,
.service-jump a:focus-visible {
  color: var(--blue);
  border-bottom-color: rgba(0, 108, 240, 0.55);
  outline: none;
}

/* 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;
  padding: 3rem 1.5rem 2.5rem;
  background: var(--white);
}
.service-intro::before,
.service-intro::after {
  display: none;
}
.service-quote {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 38rem;
  text-align: center;
  padding: 0.25rem 0.5rem 0;
}
.service-quote::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  margin: 0 auto 1.35rem;
  background: var(--blue);
}
.service-quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--navy);
  font-weight: 600;
  text-shadow: none;
}
.lead--light {
  color: rgba(255,255,255,0.78);
  max-width: 48rem;
  margin: 0;
}

.service-block {
  padding: 3.75rem 0;
  background: var(--white);
  border-bottom: 1px solid rgba(6, 26, 46, 0.06);
  color: var(--text);
}
.service-block:last-of-type {
  border-bottom: none;
}
/* Legacy variants map to the same light treatment */
.service-block--light,
.service-block--navy,
.service-block--accent {
  background: var(--white);
  border-top: none;
  border-bottom: 1px solid rgba(6, 26, 46, 0.06);
  color: var(--text);
  box-shadow: none;
  overflow: visible;
}
.service-block--navy h2,
.service-block--accent h2 {
  color: var(--navy);
}
.service-block--navy p,
.service-block--accent p {
  color: var(--text-muted);
}
.service-block--statement {
  text-align: left;
  background:
    linear-gradient(180deg, rgba(0, 108, 240, 0.03), transparent 40%),
    var(--white);
}
.service-block--tight { padding: 3rem 0; }
.service-block__lead {
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 1rem 0 1.25rem;
  color: var(--text-muted);
}
.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(--navy);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.service-block__tagline .accent {
  color: var(--blue);
}
.service-block__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.service-block__grid--reverse .service-block__copy { order: 2; }
.service-block__copy h2 { margin-bottom: 0.85rem; color: var(--navy); }
.service-block__copy p { margin-bottom: 1.35rem; color: var(--text-muted); max-width: 36rem; }
.service-block__media {
  overflow: hidden;
  border: 1px solid rgba(6, 26, 46, 0.08);
  min-height: 280px;
  background: var(--off-white);
  position: relative;
  box-shadow: none;
}
.service-block__media::before,
.service-block__media::after {
  display: none;
}
.service-block--navy .service-block__media,
.service-block--accent .service-block__media {
  border-color: rgba(6, 26, 46, 0.08);
  box-shadow: none;
}
.service-block__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}
.service-block__compact {
  max-width: 720px;
}
.service-block__compact h2 {
  margin-bottom: 0.85rem;
  color: var(--navy);
}
.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; }
}
