/* C slow drift + D signal path — services hub only. */
.services-hero {
  overflow: visible !important;
}

.services-hero .services-hero-grid {
  min-height: 800px;
}

.services-hero .services-constellation {
  position: relative;
  height: 800px;
  overflow: visible;
}

.services-hero .eh-orbit-stage {
  position: absolute;
  top: 46%;
  left: 50%;
  z-index: 3;
  width: min(100%, 720px);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.services-hero .eh-orbit {
  position: absolute;
  inset: 0;
  transform-origin: 50% 50%;
  animation: ehOrbitSpin 48s linear infinite;
  pointer-events: none;
  will-change: transform;
}

.services-hero .services-constellation.is-hovering .eh-orbit,
.services-hero .services-constellation.is-hovering .eh-orbit .service-node > span {
  animation-play-state: paused;
}

.services-hero .services-core {
  position: absolute !important;
  top: 46% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 4;
  width: 248px !important;
  height: 248px !important;
  transform: translate(-50%, -50%) !important;
  pointer-events: none;
}

.services-hero .core-rings,
.services-hero .core-rings i {
  pointer-events: none;
}

.services-hero .services-core > img {
  width: 214px !important;
}

.services-hero .core-rings i {
  width: 210px;
  height: 88px;
}

.services-hero .eh-orbit > svg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.services-hero .eh-orbit > svg path:not(.eh-spoke):not(.eh-sap) {
  display: none;
  animation: none !important;
}

.services-hero path.eh-spoke {
  fill: none;
  stroke: #7aa2ffaa;
  stroke-width: 0.38;
  stroke-linecap: round;
  stroke-dasharray: 0.55 2.6;
  animation: dashFlow 6s linear infinite;
}

.services-hero path.eh-sap {
  fill: none;
  stroke: #095cff;
  stroke-width: 0.7;
  stroke-linecap: round;
  stroke-dasharray: 1.2 2.2;
  opacity: 0;
}

.services-hero path.eh-spoke.is-lit {
  stroke: #095cff;
  stroke-width: 0.72;
  stroke-dasharray: none;
  filter: drop-shadow(0 0 4px #095cff88);
}

.services-hero path.eh-sap.is-lit {
  opacity: 1;
  animation: ehSapRun 0.9s linear infinite !important;
}

.services-hero .services-constellation.is-hovering path.eh-spoke:not(.is-lit),
.services-hero .services-constellation.is-hovering path.eh-sap:not(.is-lit) {
  opacity: 0.12;
}

.services-hero .eh-orbit .service-node,
.services-hero .eh-orbit .service-node.service-1,
.services-hero .eh-orbit .service-node.service-2,
.services-hero .eh-orbit .service-node.service-3,
.services-hero .eh-orbit .service-node.service-4,
.services-hero .eh-orbit .service-node.service-5,
.services-hero .eh-orbit .service-node.service-6,
.services-hero .eh-orbit .service-node.service-7,
.services-hero .eh-orbit .service-node.service-8,
.services-hero .eh-orbit .service-node.service-9 {
  position: absolute !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 5;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 96px !important;
  min-height: 96px !important;
  height: 96px !important;
  padding: 0 !important;
  gap: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible;
  transform: translate(-50%, -50%) !important;
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}

.services-hero .eh-orbit .service-node > span {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 94px;
  height: 94px;
  padding: 0;
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  animation: ehOrbitSpin 48s linear infinite reverse;
}

.services-hero .eh-orbit .service-node img {
  width: 92px !important;
  height: 92px !important;
  object-fit: contain;
  background: transparent !important;
  filter: drop-shadow(0 10px 14px #17336e2e);
  animation: ehServiceIconFloat 3.4s ease-in-out infinite;
}

.services-hero .eh-orbit .service-node.service-1 img { animation-delay: 0s; }
.services-hero .eh-orbit .service-node.service-2 img { animation-delay: 0.35s; }
.services-hero .eh-orbit .service-node.service-3 img { animation-delay: 0.7s; }
.services-hero .eh-orbit .service-node.service-4 img { animation-delay: 1.05s; }
.services-hero .eh-orbit .service-node.service-5 img { animation-delay: 1.4s; }
.services-hero .eh-orbit .service-node.service-6 img { animation-delay: 1.75s; }
.services-hero .eh-orbit .service-node.service-7 img { animation-delay: 2.1s; }
.services-hero .eh-orbit .service-node.service-8 img { animation-delay: 2.45s; }
.services-hero .eh-orbit .service-node.service-9 img { animation-delay: 2.8s; }

.services-hero .service-node span > div,
.services-hero .service-node > div {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  top: auto;
  z-index: 30;
  width: 220px;
  padding: 12px 14px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #1d43971f;
  box-shadow: 0 18px 40px #17336e2a;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px) scale(0.92);
  transform-origin: 50% 100%;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.services-hero .service-node span > div:after,
.services-hero .service-node > div:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-right: 1px solid #1d43971f;
  border-bottom: 1px solid #1d43971f;
  transform: translateX(-50%) rotate(45deg);
}

.services-hero .service-node.is-lit span > div,
.services-hero .service-node.is-lit > div,
.services-hero .service-node:hover span > div,
.services-hero .service-node:hover > div,
.services-hero .service-node:focus-visible span > div,
.services-hero .service-node:focus-visible > div {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

.services-hero .service-node span > div small,
.services-hero .service-node > div small {
  letter-spacing: 0.12em;
  font-size: 9px;
  font-weight: 800;
  color: var(--accent, #095cff);
}

.services-hero .service-node span > div b,
.services-hero .service-node > div b {
  display: block;
  margin: 3px 0 2px;
  font-size: 14px;
  color: var(--ink, #09142c);
}

.services-hero .service-node span > div p,
.services-hero .service-node span > div .eh-price-chip,
.services-hero .service-node > div p,
.services-hero .service-node > div .eh-price-chip {
  margin: 0;
  font-size: 12px;
  color: var(--muted, #5d6b86);
}

.services-hero .eh-hub-caption {
  display: none !important;
}

.services-hero .eh-orbit .service-node:hover,
.services-hero .eh-orbit .service-node.service-3:hover,
.services-hero .eh-orbit .service-node:focus-visible,
.services-hero .eh-orbit .service-node.is-lit {
  z-index: 12;
  transform: translate(-50%, -50%) !important;
}

.services-hero .services-constellation.is-hovering .service-node:not(.is-lit):not(:hover):not(:focus-visible) {
  opacity: 0.28;
}

@keyframes ehOrbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes ehSapRun {
  to { stroke-dashoffset: -40; }
}

@keyframes ehServiceIconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 1180px) {
  .services-hero .services-hero-grid { min-height: 720px; }
  .services-hero .services-constellation { height: 720px; }
  .services-hero .eh-orbit-stage { width: min(100%, 640px); }
  .services-hero .services-core { width: 180px !important; height: 180px !important; }
  .services-hero .services-core > img { width: 160px !important; }
  .services-hero .eh-orbit .service-node,
  .services-hero .eh-orbit .service-node.service-1,
  .services-hero .eh-orbit .service-node.service-2,
  .services-hero .eh-orbit .service-node.service-3 {
    width: 72px !important;
    min-height: 72px !important;
    height: 72px !important;
  }
  .services-hero .eh-orbit .service-node > span { width: 70px; height: 70px; }
  .services-hero .eh-orbit .service-node img { width: 68px !important; height: 68px !important; }
}

@media (max-width: 900px) {
  .services-hero .services-hero-grid { min-height: 620px; }
  .services-hero .services-constellation { height: 620px; }
  .services-hero .eh-orbit-stage { width: min(100%, 540px); }
}

@media (max-width: 640px) {
  .services-hero .services-constellation { height: 520px; }
  .services-hero .eh-orbit-stage { width: min(100%, 460px); }
  .services-hero .services-core { width: 130px !important; height: 130px !important; }
  .services-hero .services-core > img { width: 110px !important; }
  .services-hero .eh-orbit .service-node,
  .services-hero .eh-orbit .service-node.service-1,
  .services-hero .eh-orbit .service-node.service-2,
  .services-hero .eh-orbit .service-node.service-3 {
    width: 52px !important;
    min-height: 52px !important;
    height: 52px !important;
  }
  .services-hero .eh-orbit .service-node > span { width: 50px; height: 50px; }
  .services-hero .eh-orbit .service-node img { width: 48px !important; height: 48px !important; }
  .services-hero .eh-orbit,
  .services-hero .eh-orbit .service-node > span {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-hero .eh-orbit,
  .services-hero .eh-orbit .service-node > span,
  .services-hero .eh-orbit .service-node img,
  .services-hero path.eh-sap.is-lit,
  .services-hero path.eh-spoke {
    animation: none !important;
  }
}

.site-nav > .eh-nav-drop {
  position: relative;
  z-index: 80;
}

.eh-nav-drop-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #16213b;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 650;
}

.eh-nav-drop.is-current .eh-nav-drop-toggle,
.eh-nav-drop:hover .eh-nav-drop-toggle,
.eh-nav-drop:focus-within .eh-nav-drop-toggle {
  background: #f3ebe0;
}

.eh-nav-drop.is-current .eh-nav-drop-toggle:before,
.eh-nav-drop:hover .eh-nav-drop-toggle:before,
.eh-nav-drop:focus-within .eh-nav-drop-toggle:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: #ff7a00;
}

.eh-nav-drop-menu {
  display: none !important;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  z-index: 90;
  min-width: 248px;
  padding: 8px 0;
  background: #fff;
  border: 1px solid #17357517;
  box-shadow: 0 18px 40px #17336e24;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}

.eh-nav-drop:hover .eh-nav-drop-menu,
.eh-nav-drop:focus-within .eh-nav-drop-menu {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.eh-nav-drop-menu a {
  display: block;
  padding: 10px 18px;
  color: #16213b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}

.eh-nav-drop-menu a:hover,
.eh-nav-drop-menu a:focus-visible {
  background: #f7f4ee;
}

@media (max-width: 900px) {
  .site-nav > .eh-nav-drop {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .eh-nav-drop-toggle {
    padding: 13px 6px;
  }

  .eh-nav-drop-menu {
    display: none !important;
    position: static;
    min-width: 0;
    padding: 0 0 8px 10px;
    border: 0;
    box-shadow: none;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: none;
  }

  .eh-nav-drop-menu a {
    padding: 10px 8px;
    white-space: normal;
  }
}
