/* Services hero — connected web-system concept. */
.services-page-main .services-system-hero {
  min-height: max(780px, 100svh);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(540px, 1.22fr);
  gap: clamp(54px, 6vw, 96px);
  align-items: center;
  padding: 156px max(36px, calc((100vw - 1280px) / 2)) 86px;
  background:
    radial-gradient(circle at 13% 32%, rgba(255, 69, 0, 0.18), transparent 29%),
    radial-gradient(circle at 87% 70%, rgba(255, 69, 0, 0.12), transparent 31%),
    #040404;
  color: #F7F7F7;
}

.services-page-main .services-system-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 46%, #000 100%);
  mask-image: linear-gradient(90deg, #000 0%, transparent 46%, #000 100%);
  pointer-events: none;
}

.services-page-main .services-system-hero > .services-wave-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.services-system-copy,
.services-system-stage {
  position: relative;
  z-index: 2;
}

.services-system-eyebrow {
  margin: 0 0 24px;
  color: #FF4500;
  font: 750 11px/1.3 "DM Sans", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.services-page-main .services-system-hero h1 {
  max-width: 610px !important;
  margin: 0 !important;
  color: #F8F8F8 !important;
  -webkit-text-fill-color: #F8F8F8 !important;
  font-family: "Manrope", sans-serif;
  font-size: clamp(62px, 5.8vw, 94px) !important;
  font-weight: 760 !important;
  line-height: 0.91 !important;
  letter-spacing: -0.07em !important;
  text-align: left !important;
}

.services-page-main .services-system-hero h1 em,
.services-page-main .services-system-hero h1 em .rf-type-char {
  color: #FF4500 !important;
  -webkit-text-fill-color: #FF4500 !important;
  font-family: inherit !important;
  font-style: normal;
}

.services-system-lead {
  max-width: 570px;
  margin: 30px 0 0;
  color: rgba(240, 240, 240, 0.72);
  font-size: 18px;
  line-height: 1.58;
}

.services-system-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.services-system-actions a {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  color: #F7F7F7;
  font: 750 12px/1 "DM Sans", sans-serif;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.services-system-actions a:hover {
  transform: translateY(-2px);
}

.services-system-actions a:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 4px;
}

.services-system-actions .services-system-primary {
  border-color: #FF4500;
  background: #FF4500;
  color: #101010;
  box-shadow: 0 16px 38px rgba(255, 69, 0, 0.24);
}

.services-system-primary svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.8;
}

.services-system-actions .services-system-secondary:hover {
  border-color: rgba(255, 69, 0, 0.7);
  background: rgba(255, 69, 0, 0.08);
}

.services-system-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
  color: rgba(239, 239, 239, 0.58);
  font: 650 10px/1 "DM Sans", sans-serif;
  letter-spacing: 0.03em;
}

.services-system-signals span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.services-system-signals i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF4500;
  box-shadow: 0 0 0 4px rgba(255, 69, 0, 0.12), 0 0 14px rgba(255, 122, 72, 0.7);
}

.services-system-stage {
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(255, 69, 0, 0.28);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 69, 0, 0.15), transparent 27%),
    linear-gradient(145deg, rgba(20, 20, 20, 0.96), rgba(8, 8, 8, 0.98));
  box-shadow: 18px 18px 0 rgba(255, 69, 0, 0.18), 0 34px 90px rgba(0, 0, 0, 0.38);
}

.services-system-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(circle, #000, transparent 78%);
  mask-image: radial-gradient(circle, #000, transparent 78%);
}

.services-system-topbar {
  min-height: 62px;
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(245, 245, 245, 0.78);
  font: 700 10px/1 "DM Sans", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.services-system-topbar span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.services-system-topbar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FF4500;
  box-shadow: 0 0 14px rgba(255, 112, 58, 0.9);
}

.services-system-topbar small {
  color: rgba(255, 255, 255, 0.38);
  font: inherit;
}

.services-system-routes {
  width: 100%;
  height: calc(100% - 62px);
  position: absolute;
  inset: 62px 0 0;
  z-index: 1;
  overflow: visible;
}

.services-system-routes path {
  fill: none;
  stroke: rgba(255, 69, 0, 0.52);
  stroke-width: 1.4;
  stroke-dasharray: 7 8;
  animation: services-system-route 13s linear infinite;
}

.services-system-core {
  width: 114px;
  height: 114px;
  position: absolute;
  top: 52%;
  left: 50%;
  z-index: 3;
  display: grid;
  place-content: center;
  border: 1px solid rgba(255, 69, 0, 0.72);
  border-radius: 50%;
  background: #0B0B0B;
  text-align: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 14px rgba(255, 69, 0, 0.06), 0 0 42px rgba(255, 69, 0, 0.18);
}

.services-system-core-ring {
  position: absolute;
  inset: -14px;
  border: 1px solid rgba(255, 69, 0, 0.2);
  border-radius: 50%;
  animation: services-system-core 3.8s ease-in-out infinite;
}

.services-system-core strong {
  color: #FF4500;
  font: 800 32px/1 "Manrope", sans-serif;
  letter-spacing: -0.06em;
}

.services-system-core small {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.46);
  font: 700 8px/1 "DM Sans", sans-serif;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.services-system-node {
  width: min(198px, 29%);
  min-height: 132px;
  position: absolute;
  z-index: 3;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 15px;
  background: rgba(19, 19, 19, 0.92);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.services-system-node span {
  position: absolute;
  top: 14px;
  right: 14px;
  color: rgba(255, 69, 0, 0.72);
  font: 750 9px/1 "DM Sans", sans-serif;
}

.services-system-node i {
  min-width: 31px;
  height: 27px;
  display: inline-grid;
  place-items: center;
  padding: 0 7px;
  border: 1px solid rgba(255, 69, 0, 0.48);
  border-radius: 7px;
  color: #FF4500;
  font: 750 9px/1 "DM Sans", sans-serif;
  font-style: normal;
}

.services-system-node h2 {
  margin: 20px 0 0;
  color: #F5F5F5;
  font-family: "Manrope", sans-serif;
  font-size: 20px !important;
  font-weight: 720;
  line-height: 1.05 !important;
  letter-spacing: -0.035em !important;
}

.services-system-node p {
  margin: 7px 0 0;
  color: rgba(240, 240, 240, 0.55);
  font-size: 11px;
  line-height: 1.38;
}

.node-strategy { top: 88px; left: 24px; }
.node-cms { top: 88px; right: 24px; }
.node-commerce { right: 24px; bottom: 68px; }
.node-growth { bottom: 68px; left: 24px; }

.services-route-pulse {
  width: 8px;
  height: 8px;
  position: absolute;
  z-index: 4;
  border-radius: 50%;
  background: #FFF4EC;
  box-shadow: 0 0 6px #FFFFFF, 0 0 18px rgba(255, 126, 78, 0.95);
  animation: services-system-pulse 4.8s ease-in-out infinite;
}

.pulse-one { top: 37%; left: 34%; }
.pulse-two { top: 37%; right: 34%; animation-delay: -1.2s; }
.pulse-three { right: 34%; bottom: 30%; animation-delay: -2.4s; }
.pulse-four { bottom: 30%; left: 34%; animation-delay: -3.6s; }

.services-system-footer {
  min-height: 42px;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(7, 7, 7, 0.86);
  color: rgba(255, 255, 255, 0.46);
  font: 700 8px/1 "DM Sans", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services-system-footer b { color: #FF4500; }

@keyframes services-system-route {
  to { stroke-dashoffset: -120; }
}

@keyframes services-system-core {
  0%, 100% { opacity: 0.45; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes services-system-pulse {
  0%, 100% { opacity: 0.35; transform: scale(0.72); }
  50% { opacity: 1; transform: scale(1.2); }
}

@media (max-width: 1120px) {
  .services-page-main .services-system-hero {
    grid-template-columns: 1fr;
    gap: 58px;
    padding-top: 150px;
  }

  .services-system-copy {
    width: min(760px, 100%);
    text-align: center;
    justify-self: center;
  }

  .services-page-main .services-system-hero h1,
  .services-system-lead {
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
  }

  .services-system-actions,
  .services-system-signals {
    justify-content: center;
  }

  .services-system-stage {
    width: min(760px, 100%);
    justify-self: center;
  }
}

@media (max-width: 680px) {
  .services-page-main .services-system-hero {
    min-height: 0;
    padding: 130px 18px 72px;
  }

  .services-page-main .services-system-hero h1 {
    font-size: clamp(52px, 15vw, 72px) !important;
  }

  .services-system-lead {
    font-size: 16px;
  }

  .services-system-signals {
    gap: 12px;
  }

  .services-system-stage {
    min-height: 540px;
    border-radius: 22px;
    box-shadow: 10px 10px 0 rgba(255, 69, 0, 0.16);
  }

  .services-system-topbar {
    padding: 0 17px;
  }

  .services-system-node {
    width: calc(50% - 25px);
    min-height: 124px;
    padding: 14px;
  }

  .node-strategy,
  .node-growth { left: 12px; }
  .node-cms,
  .node-commerce { right: 12px; }

  .services-system-core {
    width: 90px;
    height: 90px;
  }

  .services-system-node h2 { font-size: 15px !important; }
  .services-system-node p { font-size: 10px; }
}

@media (max-width: 430px) {
  .services-system-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .services-system-actions a { width: 100%; }

  .services-system-node p { display: none; }

  .services-system-node {
    min-height: 98px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-system-routes path,
  .services-system-core-ring,
  .services-route-pulse {
    animation: none !important;
  }
}
