/* ==========================================================================
   index.php — homepage hero ("SEO. Websites. Ads. AI.")
   Loaded after assets/style.css + assets/index.css. Every selector is namespaced
   with .hx-; the only shared classes it reuses are the .tl-* tagline animation and
   the .clients-* / .carousel-* / .logo-card client marquee from style.css + index.css.
   The page header above the hero is the site header (style.css).
   ========================================================================== */

:root {
  --hx-blue: #2E2AFF;
  --hx-blue-deep: #0033FF;
  --hx-indigo: #12087a;
  --hx-navy: #0a0a4a;
  --hx-violet: #7b2cff;
  --hx-lime: #C6FF3D;
  --hx-lime-hi: #D4FF4F;
  --hx-ink: #0b0a3c;
  --hx-text: #ffffff;
  --hx-text-2: rgba(255, 255, 255, .86);
  --hx-glass: linear-gradient(150deg, rgba(255, 255, 255, .20) 0%, rgba(255, 255, 255, .07) 45%, rgba(120, 140, 255, .10) 100%);
  --hx-glass-edge: rgba(255, 255, 255, .30);
  --hx-cyan: #9fe6ff;
  --hx-font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hx-header-h: 88px;
  --hx-ease: cubic-bezier(.2, .8, .2, 1);
}

.hx-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.hx-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hx-ico {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.hx-hero a:focus-visible {
  outline: 3px solid var(--hx-lime);
  outline-offset: 3px;
}

/* ==========================================================================
   Hero shell + atmosphere
   ========================================================================== */
.hx-hero {
  position: relative; isolation: isolate;
  overflow: hidden; overflow: clip;
  padding-top: var(--hx-header-h);
  font-family: var(--hx-font);
  color: var(--hx-text);
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(52% 42% at 50% 16%, rgba(96, 120, 255, .95) 0%, rgba(60, 70, 255, .35) 45%, transparent 75%),
    radial-gradient(38% 50% at 0% 22%, rgba(123, 44, 255, .75) 0%, transparent 70%),
    radial-gradient(38% 55% at 100% 30%, rgba(123, 44, 255, .70) 0%, transparent 70%),
    radial-gradient(30% 30% at 22% 62%, rgba(0, 51, 255, .55) 0%, transparent 70%),
    radial-gradient(30% 30% at 80% 60%, rgba(0, 51, 255, .55) 0%, transparent 70%),
    linear-gradient(180deg, #1f22ee 0%, #2226f5 28%, #1a14c4 58%, #110a86 80%, var(--hx-navy) 100%);
}
.hx-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* faint perspective-free grid */
.hx-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 28%, #000 10%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 55% at 50% 28%, #000 10%, transparent 75%);
}
/* star specks - several prime-sized tiles so the pattern never visibly repeats */
.hx-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .75;
  background-image:
    radial-gradient(1.2px 1.2px at 23px 41px, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 117px 13px, rgba(200, 235, 255, .9) 50%, transparent 100%),
    radial-gradient(1.6px 1.6px at 61px 97px, rgba(255, 255, 255, .85) 50%, transparent 100%),
    radial-gradient(1px 1px at 179px 151px, #fff 50%, transparent 100%),
    radial-gradient(1.4px 1.4px at 7px 173px, rgba(190, 230, 255, .8) 50%, transparent 100%);
  background-size: 191px 163px, 233px 211px, 157px 139px, 263px 229px, 211px 197px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 80%);
          mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 80%);
}
.hx-orb {
  position: absolute; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .75) 0%, rgba(210, 200, 255, .35) 12%, transparent 30%),
    radial-gradient(circle at 50% 55%, rgba(120, 90, 255, .55) 0%, rgba(70, 50, 230, .45) 55%, rgba(150, 120, 255, .6) 100%);
  box-shadow: inset -10px -14px 30px rgba(20, 10, 120, .55), inset 6px 8px 20px rgba(255, 255, 255, .25), 0 0 50px rgba(123, 44, 255, .45);
}
.hx-orb--1 { width: 150px; height: 150px; left: -70px; top: 150px; }
.hx-orb--2 { width: 210px; height: 210px; right: -110px; top: 170px; }
.hx-orb--3 { width: 46px; height: 46px; left: 27%; top: 190px; opacity: .7; filter: blur(1px); }
.hx-orb--4 { width: 120px; height: 120px; left: -40px; bottom: 26%; opacity: .7; }
.hx-bokeh { position: absolute; border-radius: 50%; filter: blur(22px); }
.hx-bokeh--1 { width: 260px; height: 260px; left: 18%; top: 4%; background: rgba(90, 170, 255, .35); }
.hx-bokeh--2 { width: 320px; height: 320px; right: 14%; top: 22%; background: rgba(123, 44, 255, .35); }
.hx-bokeh--3 { width: 200px; height: 200px; left: 46%; top: 40%; background: rgba(0, 51, 255, .35); }

/* ==========================================================================
   Stage: centre copy + floating dashboards
   ========================================================================== */
.hx-stage {
  position: relative; z-index: 2;
  max-width: 1680px; margin: 0 auto;
  min-height: 300px;
  padding: 80px clamp(16px, 2vw, 32px) 0;
}

/* orbit lines */
.hx-orbits {
  position: absolute; z-index: 0; left: 50%; top: 0;
  width: clamp(900px, 98vw, 1500px); height: auto;
  translate: -50% 0;
  overflow: visible; pointer-events: none;
  fill: none;
}
.hx-orbits__lines > * { stroke-width: 1.6; }
.hx-orbits__lines ellipse:first-child { filter: drop-shadow(0 0 6px rgba(160, 225, 255, .9)); }
.hx-trail {
  fill: none; stroke: #ffffff; stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 70 930;
  filter: drop-shadow(0 0 4px #bff3ff) drop-shadow(0 0 10px #6fd4ff);
  animation: hx-trail 9s linear infinite;
}
.hx-trail--b { stroke-dasharray: 45 955; animation-duration: 7s; animation-direction: reverse; opacity: .85; }
.hx-trail--c { stroke: var(--hx-lime-hi); stroke-dasharray: 90 910; animation-duration: 6.5s; filter: drop-shadow(0 0 5px rgba(212, 255, 79, .9)); }
@keyframes hx-trail { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }

.hx-center {
  position: relative; z-index: 3;
  max-width: 820px; margin: 0 auto;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}

/* search bar */
.hx-search {
  width: min(600px, 100%); height: 45px;
  display: flex; align-items: center; gap: 16px;
  padding: 0 24px 0 20px;
  border-radius: 999px;
  color: #fff; text-decoration: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .20), rgba(255, 255, 255, .06)),
    rgba(40, 34, 190, .45);
  border: 1.5px solid rgba(215, 240, 255, .85);
  box-shadow:
    0 0 0 5px rgba(140, 200, 255, .14),
    0 0 36px rgba(120, 190, 255, .65),
    0 18px 50px rgba(10, 6, 110, .45),
    inset 0 0 26px rgba(170, 215, 255, .30);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: box-shadow .35s ease, transform .35s var(--hx-ease);
}
.hx-search:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 6px rgba(140, 200, 255, .2), 0 0 56px rgba(140, 210, 255, .85), 0 22px 60px rgba(10, 6, 110, .5), inset 0 0 30px rgba(180, 225, 255, .38);
}
.hx-search__g { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .35)); }
.hx-search__field {
  flex: 1; min-width: 0; text-align: left;
  display: flex; align-items: center;
  font-size: 18px; font-weight: 500; color: rgba(255, 255, 255, .92);
  white-space: nowrap; overflow: hidden;
}
.hx-search__caret {
  display: inline-block; width: 2px; height: 26px; margin-left: 3px;
  background: #fff; border-radius: 2px;
  animation: hx-blink 1s steps(1) infinite;
}
@keyframes hx-blink { 50% { opacity: 0; } }
.hx-search__mag { font-size: 28px; color: #fff; stroke-width: 2.2; }

/* ribbon */
.hx-ribbon {
  margin: 34px 0 0;
  display: inline-block;
  padding: 10px 34px 12px;
  background: linear-gradient(180deg, var(--hx-lime-hi), var(--hx-lime));
  color: var(--hx-ink);
  transform: skewX(-14deg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .35) inset, 0 0 34px rgba(198, 255, 61, .55), 0 10px 26px rgba(10, 6, 90, .35);
}
.hx-ribbon span {
  display: block;
  font-size: clamp(22px, 2.3vw, 32px); font-weight: 800; letter-spacing: -.01em; line-height: 1.1;
}

.hx-title {
  margin: 20px 0 0;
  font-size: clamp(40px, 5.3vw, 78px);
  font-weight: 800; line-height: 1.02; letter-spacing: -.035em;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 2px 0 rgba(30, 20, 150, .35), 0 6px 34px rgba(12, 6, 110, .65), 0 0 22px rgba(170, 200, 255, .35);
}

/* rotating service line + paragraph: index's .tl-* tagline engine (style.css), sized for this hero */
.hx-rot { width: 100%; margin-top: 14px; }
.hx-rot .tl-headline-wrap {
  margin-top: 0; gap: 0;
  font-size: clamp(30px, 3.7vw, 50px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15;
}
.hx-rot .tl-headline-slot { height: 60px; }
.hx-rot .tl-glow-bg { width: 560px; max-width: 100%; height: 90px; }
.hx-rot .tl-line { color: #fff; text-shadow: 0 2px 18px rgba(12, 6, 110, .6); }
.hx-rot .tl-para-wrap { margin: 4px 0 0; gap: 12px; }
.hx-rot .tl-para-slot { max-width: 640px; height: 60px; }
.hx-rot .tl-para {
  font-size: clamp(16px, 1.35vw, 19px); font-weight: 600; line-height: 1.5;
  color: rgba(255, 255, 255, .9);
  text-shadow: 0 2px 16px rgba(12, 6, 110, .55);
}

.hx-ctas { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.hx-btn {
  display: inline-flex; align-items: center; gap: 18px;
  height: 50px; padding: 0 8px 0 30px;
  border-radius: 999px;
  background: #fff; color: var(--hx-ink);
  font-size: 17px; font-weight: 700; text-decoration: none; white-space: nowrap;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .14), 0 14px 34px rgba(8, 4, 80, .45), 0 0 30px rgba(160, 190, 255, .35);
  transition: transform .3s var(--hx-ease), box-shadow .3s ease;
}
.hx-btn:hover { transform: translateY(-3px); box-shadow: 0 0 0 6px rgba(255, 255, 255, .2), 0 20px 44px rgba(8, 4, 80, .55), 0 0 40px rgba(198, 255, 61, .35); }
.hx-btn:active { transform: translateY(-1px); }
.hx-btn__ico {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--hx-lime); color: var(--hx-ink); font-size: 19px;
  box-shadow: 0 0 16px rgba(198, 255, 61, .6);
  transition: transform .35s var(--hx-ease);
}
.hx-btn__ico .hx-ico { stroke-width: 2.4; }
.hx-btn:hover .hx-btn__ico { transform: rotate(45deg); }

/* load-in stagger */
/* animates the individual `translate` property so hover `transform`s still work */
.hx-rise { animation: hx-rise .9s var(--hx-ease) both; animation-delay: calc(var(--i, 0) * 110ms + 120ms); }
@keyframes hx-rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }

/* ---------- dashboards ---------- */
.hx-side { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hx-float {
  position: absolute;
  width: clamp(212px, 17vw, 262px);
  pointer-events: auto;
  animation: hx-drift var(--dur, 9s) ease-in-out var(--delay, 0s) infinite alternate;
}
@keyframes hx-drift { from { translate: 0 -7px; } to { translate: 0 8px; } }

.hx-panel {
  position: relative;
  padding: 14px 15px 15px;
  border-radius: 18px;
  background: var(--hx-glass), rgba(40, 30, 190, .38);
  border: 1px solid var(--hx-glass-edge);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .45),
    inset 0 0 22px rgba(160, 190, 255, .18),
    0 0 0 1px rgba(120, 170, 255, .12),
    0 20px 50px rgba(8, 4, 90, .5),
    0 0 36px rgba(100, 150, 255, .35);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0;
  animation: hx-panel-in 1.1s var(--hx-ease) forwards;
  animation-delay: var(--in, .5s);
}
.hx-side--left .hx-panel { transform: perspective(1000px) rotateY(16deg) rotateZ(-1.5deg); transform-origin: left center; }
.hx-side--right .hx-panel { transform: perspective(1000px) rotateY(-16deg) rotateZ(1.5deg); transform-origin: right center; }
@keyframes hx-panel-in { from { opacity: 0; filter: blur(6px); } to { opacity: 1; filter: blur(0); } }

.hx-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.hx-panel__title { font-size: 14px; font-weight: 700; color: #fff; letter-spacing: -.005em; white-space: nowrap; }
.hx-panel__tag {
  font-size: 11px; font-weight: 700; color: var(--hx-ink); white-space: nowrap;
  background: rgba(212, 255, 79, .9); padding: 3px 8px; border-radius: 6px;
}
.hx-panel__row { display: flex; gap: 10px; align-items: flex-start; }
.hx-gtile {
  flex: none; width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 4px 14px rgba(10, 6, 90, .35);
}
.hx-gtile svg { width: 20px; height: 20px; }
.hx-itile {
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); color: var(--hx-lime); font-size: 16px;
}
.hx-viz { display: block; width: 100%; height: auto; overflow: visible; }
.hx-viz__bars rect { fill: rgba(170, 200, 255, .20); }
.hx-viz__line { fill: none; stroke: var(--hx-lime); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 4px rgba(198, 255, 61, .9)); }
.hx-viz__head { fill: none; stroke: var(--hx-lime); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 4px rgba(198, 255, 61, .9)); }
.hx-viz__dots circle { fill: var(--hx-lime-hi); stroke: rgba(11, 10, 60, .5); stroke-width: 1; }

.hx-dots { display: inline-flex; gap: 4px; }
.hx-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.hx-dots i:first-child { background: var(--hx-lime); }
.hx-wf { fill: rgba(255, 255, 255, .26); }
.hx-wf--bar { fill: rgba(255, 255, 255, .16); }
.hx-wf--hero { fill: rgba(140, 200, 255, .30); }
.hx-wf--dim { fill: rgba(255, 255, 255, .16); }
.hx-wf--btn { fill: var(--hx-lime); }
.hx-wf__mtn { fill: rgba(255, 255, 255, .45); }
.hx-wf__sun { fill: rgba(255, 255, 255, .7); }

.hx-map__bg { fill: rgba(10, 20, 110, .55); stroke: rgba(255, 255, 255, .18); }
.hx-map__river { fill: none; stroke: rgba(100, 200, 255, .55); stroke-width: 6; stroke-linecap: round; }
.hx-map__roads path { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 2; }
.hx-map__blocks rect { fill: rgba(255, 255, 255, .12); }
.hx-map__pin { fill: var(--hx-lime); filter: drop-shadow(0 0 6px rgba(198, 255, 61, .95)); }
.hx-map__pindot { fill: var(--hx-ink); }
.hx-map__pulse {
  fill: rgba(198, 255, 61, .35); stroke: var(--hx-lime); stroke-width: 1.5;
  transform-box: fill-box; transform-origin: center;
  animation: hx-pulse 2.4s ease-out infinite;
}
@keyframes hx-pulse { from { transform: scale(.4); opacity: .95; } to { transform: scale(2.2); opacity: 0; } }

.hx-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--hx-lime); }
.hx-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--hx-lime); box-shadow: 0 0 8px var(--hx-lime); animation: hx-blink 1.6s ease-in-out infinite; }
.hx-ai__wires path { fill: none; stroke: rgba(160, 225, 255, .5); stroke-width: 2; }
.hx-ai__flow path {
  fill: none; stroke: #e6fbff; stroke-width: 2.4; stroke-linecap: round;
  stroke-dasharray: 8 70; animation: hx-flow 2.6s linear infinite;
  filter: drop-shadow(0 0 3px #9fe6ff);
}
@keyframes hx-flow { to { stroke-dashoffset: -78; } }
.hx-ai__node rect { fill: rgba(255, 255, 255, .14); stroke: rgba(255, 255, 255, .45); stroke-width: 1.2; }
.hx-ai__icons { color: #fff; }
.hx-ai__icons use { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hx-ai__core-glow { fill: none; stroke: rgba(140, 220, 255, .55); stroke-width: 2; filter: drop-shadow(0 0 8px #6fd4ff); }
.hx-ai__core { fill: #1737ff; stroke: #bff1ff; stroke-width: 1.6; }
.hx-ai__label { font-family: var(--hx-font); font-size: 19px; font-weight: 800; fill: #fff; }

.hx-social { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 6px; }
.hx-social li {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 4px; border-radius: 10px;
  background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .16);
  font-size: 13px; font-weight: 800; color: #fff;
}
.hx-social .hx-ico { font-size: 15px; color: var(--hx-cyan); }
.hx-social .hx-social__heart { color: #ff7ab6; fill: #ff7ab6; }

.hx-growth { display: flex; gap: 12px; align-items: flex-end; }
.hx-growth__left { flex: 1; display: grid; gap: 9px; }
.hx-growth__field {
  display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px;
  border-radius: 9px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3);
  color: #fff; font-size: 14px;
}
.hx-growth__field i { flex: 1; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .35); }
.hx-growth__line { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .28); }
.hx-growth__line--s { width: 78%; background: rgba(255, 255, 255, .2); }
.hx-growth__line--xs { width: 56%; background: rgba(255, 255, 255, .16); }
.hx-growth__bars { width: 84px; flex: none; }
.hx-growth__bars rect { fill: rgba(140, 220, 255, .55); }
.hx-growth__bars .hx-growth__hi { fill: var(--hx-lime); filter: drop-shadow(0 0 5px rgba(198, 255, 61, .9)); }

/* chips */
.hx-chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 9px;
  height: 40px; padding: 0 16px 0 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--hx-lime-hi), var(--hx-lime));
  color: var(--hx-ink); font-size: 14px; font-weight: 800; text-decoration: none; white-space: nowrap;
  box-shadow: 0 0 0 3px rgba(198, 255, 61, .18), 0 0 22px rgba(198, 255, 61, .6), 0 8px 18px rgba(10, 6, 80, .35);
  transition: transform .25s var(--hx-ease), box-shadow .25s ease;
  opacity: 0;
  animation: hx-chip-in .7s var(--hx-ease) forwards;
  animation-delay: calc(var(--in, .5s) + .35s);
}
.hx-chip:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 0 0 4px rgba(198, 255, 61, .28), 0 0 34px rgba(198, 255, 61, .85), 0 10px 22px rgba(10, 6, 80, .4); }
.hx-chip__ico {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--hx-ink); color: var(--hx-lime); font-size: 15px;
}
.hx-chip__ico .hx-ico { stroke-width: 2.6; }
@keyframes hx-chip-in { from { opacity: 0; scale: .7; } to { opacity: 1; scale: 1; } }

/* desktop positions (stage coordinates) */
.hx-f--rank   { left: 2.4%;  top: 14px;  --dur: 8.5s; --delay: -1s;   --in: .45s; }
.hx-f--web    { left: 1.2%;  top: 240px; --dur: 10s;  --delay: -4s;   --in: .6s; }
.hx-f--local  { left: 3.6%;  top: 474px; --dur: 9s;   --delay: -2.5s; --in: .75s; }
.hx-f--ads    { right: 2.4%; top: 8px;   --dur: 9.5s; --delay: -3s;   --in: .5s; }
.hx-f--ai     { right: 1.2%; top: 210px; --dur: 8s;   --delay: -5s;   --in: .65s; }
.hx-f--social { right: 8%;   top: 412px; --dur: 10.5s;--delay: -1.5s; --in: .8s; width: clamp(196px, 14.5vw, 226px); }
.hx-f--growth { right: 1.6%; top: 548px; --dur: 9s;   --delay: -6s;   --in: .9s; }

.hx-chip--seo   { right: -54px; bottom: 18px; }
.hx-chip--web   { right: -64px; bottom: -14px; }
.hx-chip--local { right: -60px; bottom: 22px; }
.hx-chip--gads  { left: -78px;  bottom: -10px; }
.hx-chip--ai    { right: 22px;  bottom: -20px; }
.hx-chip--meta  { left: -112px; top: 32px; }
.hx-chip--smm   { right: -24px; bottom: -24px; }
.hx-chip--ppc   { left: -50px;  top: 14px; }

/* ==========================================================================
   Globe horizon + client carousel
   ========================================================================== */
.hx-horizon {
  position: relative; z-index: 1;
  margin-top: -120px;
  padding: 236px clamp(16px, 3vw, 48px) 72px;
}
.hx-globe {
  position: absolute; z-index: 0; left: 50%; top: 0;
  width: clamp(1180px, 128vw, 2200px); aspect-ratio: 1 / 1;
  translate: -50% 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 12%, rgba(90, 150, 255, .75) 0%, rgba(40, 70, 230, .45) 14%, transparent 32%),
    radial-gradient(circle at 50% 50%, #0d0f84 0%, #0b0a62 50%, #070540 100%);
  box-shadow:
    0 -4px 14px 1px rgba(220, 248, 255, .95),
    0 -14px 60px 10px rgba(110, 200, 255, .55),
    0 -40px 140px 30px rgba(90, 120, 255, .45),
    inset 0 16px 40px rgba(170, 230, 255, .55),
    inset 0 70px 140px rgba(70, 130, 255, .35);
}
.hx-globe__flare {
  position: absolute; left: 50%; top: -18px; translate: -50% 0;
  width: 46%; height: 40px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(170, 235, 255, .55) 40%, transparent 100%);
  filter: blur(6px);
}
.hx-globe-canvas {
  position: absolute; z-index: 1; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

/* Client logo carousel: the same #t1/#t2 marquee as index.php (markup filled by
   makeCards() in assets/script.js, card styles from style.css + index.css). */
.hx-clients { position: relative; z-index: 3; max-width: 1240px; margin: 0 auto; }
/* heading + intro above the logos: index's .clients-heading / .clients-sub, spaced for the hero */
.hx-clients__head { max-width: 860px; margin: 0 auto; padding-inline: 16px; text-align: center; }
.hx-clients__head .clients-sub { margin-bottom: 32px; }
/* blur the globe arcs behind the translucent cards so names stay crisp */
.hx-clients .logo-card { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1360px) {
  .hx-f--social { right: 4%; }
}

/* Tablet: chips become a wrapped row, four panels stay at the edges */
@media (max-width: 1199px) {
  .hx-stage {
    display: flex; flex-wrap: wrap; justify-content: center; align-content: flex-start;
    gap: 10px;
    min-height: 0;
    padding-inline: clamp(200px, 21vw, 250px);
  }
  .hx-center { flex: 0 0 100%; margin-bottom: 14px; }
  .hx-side, .hx-float { display: contents; }
  .hx-chip { position: static; order: 2; }
  .hx-chip--seo { order: 1; } .hx-chip--gads { order: 2; } .hx-chip--meta { order: 3; } .hx-chip--ai { order: 4; }
  .hx-chip--web { order: 5; } .hx-chip--ppc { order: 6; } .hx-chip--local { order: 7; } .hx-chip--smm { order: 8; }

  .hx-panel {
    position: absolute; z-index: 1;
    width: clamp(176px, 18vw, 214px);
    animation: hx-panel-in 1.1s var(--hx-ease) forwards, hx-drift 9s ease-in-out infinite alternate;
    animation-delay: var(--in, .5s), 0s;
  }
  .hx-panel--rank  { left: 1.2%; top: 20px; }
  .hx-panel--web   { left: 1.8%; top: 300px; }
  .hx-panel--ads   { right: 1.2%; top: 14px; }
  .hx-panel--ai    { right: 1.8%; top: 290px; }
  .hx-panel--local, .hx-panel--social, .hx-panel--growth { display: none; }
  .hx-panel { padding: 12px 12px 13px; }
  .hx-panel__title { font-size: 13px; }

  /* smaller type here, so tighter slots for the rotating service line */
  .hx-rot .tl-headline-slot { height: 52px; }
  .hx-rot .tl-para-slot { height: 48px; }

  .hx-horizon { margin-top: -40px; padding-top: 170px; }
}

/* Small tablet / phone: dashboards hidden, copy + chips only */
@media (max-width: 899px) {
  :root { --hx-header-h: 72px; }
  .hx-rot .tl-headline-slot { height: 42px; }
  .hx-stage { padding-inline: 16px; padding-top: 22px; }
  .hx-panel { display: none; }
  .hx-orbits { opacity: .7; }
  .hx-orb--1, .hx-orb--3 { display: none; }
  .hx-orb--2 { width: 120px; height: 120px; right: -70px; top: 110px; }
  .hx-horizon { margin-top: 0; padding-top: 140px; }
}

@media (max-width: 640px) {
  .hx-search { height: 58px; padding: 0 18px 0 14px; gap: 12px; }
  .hx-search__g { width: 28px; height: 28px; }
  .hx-search__field { font-size: 16px; }
  .hx-search__caret { height: 22px; }
  .hx-search__mag { font-size: 24px; }
  .hx-ribbon { margin-top: 28px; padding: 8px 24px 10px; }
  .hx-title { margin-top: 18px; font-size: clamp(38px, 11vw, 48px); line-height: 1.04; }
  .hx-rot .tl-headline-wrap { font-size: 26px; }
  .hx-rot .tl-headline-slot { height: 44px; }
  .hx-rot .tl-para-slot { height: 56px; max-width: 340px; }   /* two-line paragraphs */
  .hx-rot .tl-para { font-size: 15.5px; }
  .hx-ctas { width: 100%; gap: 12px; margin-top: 26px; }
  .hx-btn { width: 100%; justify-content: space-between; height: 58px; font-size: 16px; padding-left: 24px; }
  .hx-btn__ico { width: 42px; height: 42px; }
  .hx-chip { height: 36px; font-size: 13px; padding-right: 13px; gap: 7px; }
  .hx-chip__ico { width: 26px; height: 26px; font-size: 13px; }

  .hx-horizon { padding: 120px 0 56px; }
}

/* narrow phones: the longest service name wraps to two lines */
@media (max-width: 380px) {
  .hx-rot .tl-headline-slot { height: 64px; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .hx-hero *, .hx-hero *::before, .hx-hero *::after {
    animation: none !important;
    transition-duration: .01ms !important;
  }
  .hx-panel, .hx-chip { opacity: 1; }
  .hx-trail { display: none; }
}

/* ── Site header on the homepage ──────────────────────────────
   Over the hero (page at the top) the header is fully transparent: no tint, no blur, no bottom line.
   assets/index-hero.js adds .is-scrolled once the page moves; then the header gets its usual look back
   (the tint, blur and border from style.css). It also keeps that look while the Services mega menu is open. */
html body > nav.hx-nav {
  transition: background-color .3s ease, border-color .3s ease, -webkit-backdrop-filter .3s ease, backdrop-filter .3s ease;
}
html body > nav.hx-nav:not(.is-scrolled):not(:has(.mega-open)) {
  background: transparent !important;
  border-bottom-color: transparent !important;
  -webkit-backdrop-filter: none !important;
          backdrop-filter: none !important;
  box-shadow: none !important;
}
@media (prefers-reduced-motion: reduce) {
  html body > nav.hx-nav { transition: none; }
}
