/* ==========================================================================
   Al Barari Pest Control — Cinematic FX layer
   Loaded after style.css. Adds depth, motion and premium polish.
   All effects are GPU-friendly (transform / opacity only) and are disabled
   automatically for users who prefer reduced motion.
   ========================================================================== */

/* ---------- 1. Enriched palette ---------- */
:root {
  --teal: #16e0ad;
  --teal-soft: #7ff5da;
  --teal-deep: #0bbf92;
  --emerald-glow: rgba(22, 224, 173, .30);
  --gold-line: rgba(230, 200, 90, .55);

  --fx-ease: cubic-bezier(.22, .68, .32, 1);
  --fx-spring: cubic-bezier(.16, 1, .3, 1);
}

/* Richer accent gradients across existing components */
.card::before { background: linear-gradient(90deg, var(--teal), var(--g-500) 45%, var(--gold)); }
.menu a::after { background: linear-gradient(90deg, var(--teal), var(--gold)); }

.btn--primary {
  background: linear-gradient(155deg, var(--teal-deep) 0%, var(--g-600) 42%, var(--g-800) 100%);
}
.btn--gold {
  background: linear-gradient(150deg, #ffeaa0 0%, var(--gold-soft) 42%, var(--gold) 100%);
}

/* ---------- 2. Film grain ---------- */
.fx-grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 8s steps(6) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -3%); }
  60%  { transform: translate(-2%, -2%); }
  80%  { transform: translate(3%, 1%); }
  100% { transform: translate(0, 0); }
}

/* ---------- 3. Scroll progress ---------- */
.fx-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 1100;
  pointer-events: none;
  background: rgba(255, 255, 255, .04);
}
.fx-progress i {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--teal), var(--g-400) 40%, var(--gold-soft));
  box-shadow: 0 0 14px var(--emerald-glow);
  transition: transform .12s linear;
}

/* ---------- 4. Intro curtain ---------- */
.fx-preload {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  background:
    radial-gradient(700px 500px at 50% 42%, rgba(22, 224, 173, .16), transparent 68%),
    linear-gradient(165deg, var(--g-950), #061b14 55%, var(--c-950));
  animation: fxCurtain .85s var(--fx-spring) 1.15s forwards;
}
.fx-preload__inner { text-align: center; }
.fx-preload__mark {
  width: 74px; height: 74px;
  margin: 0 auto 20px;
  color: var(--teal-soft);
  filter: drop-shadow(0 0 22px var(--emerald-glow));
  animation: fxMarkIn .9s var(--fx-spring) both;
}
.fx-preload__mark path { stroke-dasharray: 90; animation: fxDraw 1.1s var(--fx-ease) both; }
.fx-preload__name {
  display: block;
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 650;
  letter-spacing: .04em;
  color: #fff;
  animation: fxRise .7s var(--fx-spring) .18s both;
}
.fx-preload__sub {
  display: block;
  margin-top: 6px;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--teal-soft);
  animation: fxRise .7s var(--fx-spring) .28s both;
}
.fx-preload__bar {
  display: block;
  width: 132px;
  height: 2px;
  margin: 24px auto 0;
  border-radius: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, .12);
}
.fx-preload__bar i {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--teal), var(--gold-soft));
  animation: fxLoad 1.15s var(--fx-ease) both;
}
.fx-preload.is-gone { display: none; }

@keyframes fxCurtain {
  to { opacity: 0; visibility: hidden; transform: scale(1.04); }
}
@keyframes fxMarkIn {
  from { opacity: 0; transform: translateY(14px) scale(.86); }
  to   { opacity: 1; transform: none; }
}
@keyframes fxDraw { from { stroke-dashoffset: 90; } to { stroke-dashoffset: 0; } }
@keyframes fxRise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fxLoad { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- 5. Aurora field (dark surfaces) ---------- */
.hero::before,
.phero::before,
.section--dark::before {
  content: "";
  position: absolute;
  inset: -25%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(22, 224, 173, .34), transparent 70%) 12% 22% / 55% 62% no-repeat,
    radial-gradient(closest-side, rgba(47, 179, 122, .28), transparent 70%) 82% 12% / 48% 58% no-repeat,
    radial-gradient(closest-side, rgba(201, 162, 39, .20), transparent 70%) 68% 86% / 52% 55% no-repeat;
  filter: blur(48px);
  opacity: .75;
  animation: auroraDrift 26s var(--fx-ease) infinite alternate;
}
.phero::before, .section--dark::before { opacity: .55; animation-duration: 34s; }

@keyframes auroraDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  33%  { transform: translate3d(3%, -3%, 0) scale(1.10); }
  66%  { transform: translate3d(-3%, 2%, 0) scale(1.04); }
  100% { transform: translate3d(2%, 3%, 0) scale(1.12); }
}

/* keep content above the aurora */
.hero > .wrap,
.phero > .wrap,
.section--dark > .wrap { position: relative; z-index: 2; }
.hero::after { z-index: 1; }

/* Cursor spotlight across the hero */
.hero .fx-spot {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(460px circle at var(--hx, 70%) var(--hy, 35%), rgba(22, 224, 173, .16), transparent 62%);
  opacity: 0;
  transition: opacity .6s var(--fx-ease);
}
.hero:hover .fx-spot { opacity: 1; }

/* Hairline glow at dark-section edges */
.section--dark::after,
.hero > .fx-edge {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--gold-line), rgba(22, 224, 173, .5), transparent);
  opacity: .6;
}

/* ---------- 6. Floating motes in the hero ---------- */
.fx-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.fx-particles span {
  position: absolute;
  bottom: -12%;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal-soft);
  opacity: 0;
  box-shadow: 0 0 12px var(--emerald-glow);
  animation: moteRise linear infinite;
}
@keyframes moteRise {
  0%   { opacity: 0; transform: translate3d(0, 0, 0) scale(.5); }
  12%  { opacity: .65; }
  85%  { opacity: .35; }
  100% { opacity: 0; transform: translate3d(28px, -104vh, 0) scale(1.15); }
}
.fx-particles span:nth-child(1)  { left: 6%;  animation-duration: 19s; animation-delay: 0s;    width: 4px; height: 4px; }
.fx-particles span:nth-child(2)  { left: 15%; animation-duration: 24s; animation-delay: -3s; }
.fx-particles span:nth-child(3)  { left: 24%; animation-duration: 17s; animation-delay: -7s;  width: 3px; height: 3px; }
.fx-particles span:nth-child(4)  { left: 33%; animation-duration: 27s; animation-delay: -11s; }
.fx-particles span:nth-child(5)  { left: 42%; animation-duration: 21s; animation-delay: -5s;  width: 6px; height: 6px; }
.fx-particles span:nth-child(6)  { left: 51%; animation-duration: 25s; animation-delay: -14s; width: 3px; height: 3px; }
.fx-particles span:nth-child(7)  { left: 60%; animation-duration: 18s; animation-delay: -9s; }
.fx-particles span:nth-child(8)  { left: 69%; animation-duration: 29s; animation-delay: -2s;  width: 4px; height: 4px; }
.fx-particles span:nth-child(9)  { left: 78%; animation-duration: 22s; animation-delay: -16s; }
.fx-particles span:nth-child(10) { left: 87%; animation-duration: 20s; animation-delay: -6s;  width: 3px; height: 3px; }
.fx-particles span:nth-child(11) { left: 94%; animation-duration: 26s; animation-delay: -12s; }
.fx-particles span:nth-child(12) { left: 40%; animation-duration: 31s; animation-delay: -19s; width: 5px; height: 5px; }

/* ---------- 7. Headline shimmer ---------- */
.hero h1 .accent {
  background: linear-gradient(96deg, var(--teal-soft) 0%, var(--g-300) 22%, var(--gold-soft) 52%, var(--teal-soft) 82%, var(--g-300) 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmer 9s linear infinite;
}
@keyframes shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 260% 50%; }
}

/* ---------- 8. Hero scene depth ---------- */
.hero__visual { perspective: 1500px; }
.scene {
  transform-style: preserve-3d;
  transition: transform .5s var(--fx-spring), box-shadow .5s var(--fx-ease);
}
.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  pointer-events: none;
  background: linear-gradient(140deg, rgba(255, 255, 255, .16), transparent 42%, rgba(22, 224, 173, .10));
  opacity: .85;
}
.scene svg { position: relative; z-index: 1; }

.float-card {
  transform-style: preserve-3d;
  transition: box-shadow .4s var(--fx-ease);
}
.float-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(130deg, rgba(22, 224, 173, .5), transparent 55%);
  opacity: .35;
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
}

/* Animated bits inside the hero illustration */
.fx-mist circle { animation: mistPuff 4.2s var(--fx-ease) infinite; transform-origin: 420px 240px; }
.fx-mist circle:nth-child(2) { animation-delay: .35s; }
.fx-mist circle:nth-child(3) { animation-delay: .7s; }
.fx-mist circle:nth-child(4) { animation-delay: 1.05s; }
.fx-mist circle:nth-child(5) { animation-delay: 1.4s; }
.fx-mist circle:nth-child(6) { animation-delay: .5s; }
.fx-mist circle:nth-child(7) { animation-delay: 1.7s; }
@keyframes mistPuff {
  0%   { opacity: 0; transform: translate(-14px, 6px) scale(.55); }
  35%  { opacity: 1; }
  100% { opacity: 0; transform: translate(26px, -16px) scale(1.5); }
}
.fx-badge { animation: badgeFloat 5.5s var(--fx-ease) infinite; transform-origin: center; }
@keyframes badgeFloat {
  0%, 100% { transform: translate(500px, 96px) scale(1); }
  50%      { transform: translate(500px, 84px) scale(1.045); }
}

/* ---------- 9. Cards: tilt, spotlight, glow edge ---------- */
.grid, .area-grid { perspective: 1400px; }

.card, .step, .benefit, .testimonial, .info-card, .tile {
  transform-style: preserve-3d;
  will-change: transform;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(22, 224, 173, .16), transparent 62%);
  transition: opacity .45s var(--fx-ease);
}
.card:hover::after { opacity: 1; }
.card > * { position: relative; z-index: 1; }

.card:hover {
  box-shadow:
    0 34px 70px -26px rgba(6, 40, 28, .40),
    0 10px 24px -12px rgba(6, 40, 28, .18),
    0 0 0 1px rgba(22, 224, 173, .18);
}
.section--dark .card:hover {
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, .65),
    0 0 0 1px rgba(22, 224, 173, .28),
    0 0 40px -18px var(--emerald-glow);
}

.card__icon { transition: transform .45s var(--fx-spring), background .45s var(--fx-ease), box-shadow .45s var(--fx-ease); }
.card:hover .card__icon {
  transform: translateY(-4px) scale(1.08) rotate(-3deg);
  background: linear-gradient(150deg, var(--teal-deep), var(--g-700));
  box-shadow: 0 16px 30px -14px var(--emerald-glow), inset 0 1px 0 rgba(255, 255, 255, .3);
}

/* Rotating conic edge on the process steps */
.step { position: relative; isolation: isolate; }
.step::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 62%, rgba(22, 224, 173, .75) 76%, rgba(230, 200, 90, .7) 86%, transparent 96%);
  opacity: 0;
  transition: opacity .45s var(--fx-ease);
  animation: spinEdge 6s linear infinite;
}
.step:hover::before { opacity: 1; }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spinEdge { to { --ang: 360deg; } }

.step__num {
  transition: transform .5s var(--fx-spring), box-shadow .5s var(--fx-ease);
}
.step:hover .step__num {
  transform: translateY(-4px) rotate(-5deg) scale(1.06);
  box-shadow: 0 20px 34px -14px rgba(201, 162, 39, .85), inset 0 1px 0 rgba(255, 255, 255, .6);
}

.benefit__icon, .info-card__icon {
  transition: transform .45s var(--fx-spring), box-shadow .45s var(--fx-ease);
}
.benefit:hover .benefit__icon, .info-card:hover .info-card__icon {
  transform: translateY(-3px) scale(1.08) rotate(-4deg);
  box-shadow: 0 16px 28px -12px var(--emerald-glow);
}

.tile:hover {
  box-shadow: 0 18px 34px -16px rgba(6, 40, 28, .34), 0 0 0 1px rgba(22, 224, 173, .22);
}
.tile:hover .tile__icon { background: linear-gradient(150deg, var(--teal-deep), var(--g-700)); }
.tile:hover .tile__icon svg { color: #fff; }

.area:hover {
  box-shadow: 0 0 0 1px rgba(22, 224, 173, .34), 0 18px 34px -20px var(--emerald-glow);
}

/* ---------- 10. Buttons: sheen + magnetism ---------- */
.btn { overflow: hidden; transform-style: preserve-3d; }
.btn::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -60%;
  width: 45%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .34), transparent);
  transform: skewX(-18deg);
  transition: left .7s var(--fx-ease);
}
.btn:hover::after { left: 130%; }
.btn > * { position: relative; z-index: 1; }

.btn--gold:hover { box-shadow: 0 24px 46px -16px rgba(201, 162, 39, .70), inset 0 1px 0 rgba(255, 255, 255, .55); }
.btn--wa:hover   { box-shadow: 0 24px 46px -16px rgba(18, 200, 110, .65), inset 0 1px 0 rgba(255, 255, 255, .35); }

/* WhatsApp bubble upgrade */
.wa-float::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(52, 210, 118, .8), transparent 60%);
  animation: spinSlow 4s linear infinite;
  z-index: 0;
  opacity: .55;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* ---------- 11. Section headings ---------- */
.sec-head h2 { position: relative; display: inline-block; }
.sec-head--center h2::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -14px;
  width: 0; height: 2px;
  border-radius: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--teal), var(--gold), transparent);
  transition: width .9s var(--fx-spring) .15s;
}
.reveal.is-in .sec-head--center h2::after,
.sec-head--center.is-in h2::after { width: 132px; }

/* ---------- 12. Richer reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px) scale(.985);
  filter: blur(6px);
  transition:
    opacity .85s var(--fx-spring),
    transform .85s var(--fx-spring),
    filter .7s var(--fx-ease);
}
.reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ---------- 13. Glass header polish ---------- */
.header.is-stuck {
  background: rgba(255, 255, 255, .88);
  box-shadow:
    0 10px 32px -18px rgba(6, 40, 28, .40),
    inset 0 -1px 0 rgba(22, 224, 173, .18);
}
.logo__mark {
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--fx-spring), box-shadow .5s var(--fx-ease);
}
.logo:hover .logo__mark {
  transform: rotate(-6deg) scale(1.06);
  box-shadow: 0 14px 28px -10px var(--emerald-glow), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.logo__mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, .35), transparent 55%);
  pointer-events: none;
}

/* ---------- 14. Footer glow ---------- */
.footer { position: relative; overflow: hidden; }
.footer::before {
  content: "";
  position: absolute;
  top: -180px; left: 50%;
  width: 780px; height: 360px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(22, 224, 173, .18), transparent 72%);
  filter: blur(40px);
  pointer-events: none;
}
.footer > .wrap { position: relative; z-index: 1; }

/* ---------- 15. CTA band shine ---------- */
.cta-band { isolation: isolate; }
.cta-band::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1;
  background:
    radial-gradient(closest-side, rgba(22, 224, 173, .28), transparent 70%) 20% 20% / 60% 70% no-repeat,
    radial-gradient(closest-side, rgba(201, 162, 39, .26), transparent 70%) 82% 78% / 55% 65% no-repeat;
  filter: blur(46px);
  animation: auroraDrift 22s var(--fx-ease) infinite alternate;
}

/* ---------- 16. Form polish ---------- */
.form-card { position: relative; overflow: hidden; }
.form-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--g-500) 45%, var(--gold));
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--teal-deep);
  box-shadow: 0 0 0 4px rgba(22, 224, 173, .16);
}

/* ---------- 17. Mobile / touch tuning ---------- */
@media (hover: none) {
  .card::after, .hero .fx-spot { display: none; }
  .btn::after { display: none; }
}

@media (max-width: 760px) {
  .fx-particles span:nth-child(n+7) { display: none; }
  .hero::before, .phero::before, .section--dark::before { filter: blur(38px); opacity: .6; }
  .fx-grain { opacity: .035; }
}

/* ---------- 18. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .fx-grain,
  .fx-particles,
  .hero::before, .phero::before, .section--dark::before,
  .cta-band::before,
  .wa-float::before,
  .step::before,
  .fx-mist circle,
  .fx-badge { animation: none; }
  .hero h1 .accent { animation: none; background-position: 0 50%; }
  .fx-preload { display: none; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .btn::after { display: none; }
}

/* ==========================================================================
   19. Horizontal-overflow fix
   The closed mobile drawer is position:fixed and parked off-screen with a
   transform. Fixed boxes are laid out against the viewport, so body's
   overflow-x:hidden never clipped it — that produced a blank strip to the
   right of the page on phones. Clip at the root (overflow:clip keeps the
   sticky header working) and park the drawer without spilling.
   ========================================================================== */
html { overflow-x: clip; }
body { overflow-x: clip; }

.drawer {
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .42s var(--fx-spring), visibility 0s .42s;
}
.drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform .42s var(--fx-spring), visibility 0s;
}
@media (min-width: 1001px) {
  .drawer, .scrim { display: none; }
}

/* ==========================================================================
   20. Mobile hero — headline first, tighter rhythm
   ========================================================================== */
@media (max-width: 1000px) {
  .hero__grid { gap: 30px; }
  .hero__visual { order: 0; max-width: 460px; }
  .hero { padding-block: 34px 52px; }
  .hero h1 { margin-block: 14px 14px; }
  .hero .btn-row { margin-top: 24px; }
  .trust-chips { margin-top: 26px; padding-top: 22px; }
  .scene { padding: 14px; }
}

@media (max-width: 760px) {
  :root { --sec-y: clamp(52px, 9vw, 74px); }
  .hero { padding-block: 26px 44px; }
  .hero__visual { max-width: 100%; }
  .float-card--a { top: -2%; left: 0; }
  .float-card--b { bottom: -2%; right: 0; }
  .sec-head { margin-bottom: 30px; }
  .card { padding: 24px 20px 22px; }
  .feature { padding-block: 38px; }
  .btn-row .btn { flex: 1 1 auto; }
  .cta-band { padding: 30px 22px; }
}

/* ==========================================================================
   21. Crawlers — pests moving across the screen
   A fixed, non-interactive layer above the page. Slow, low-contrast and
   sparse so it reads as atmosphere rather than clutter.
   ========================================================================== */
.fx-crawl {
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  overflow: hidden;
}

.fx-bug {
  position: absolute;
  top: 0; left: 0;
  color: #0d5f45;
  opacity: .17;
  will-change: transform;
}
.fx-bug svg {
  width: 100%;
  height: auto;
  animation: scuttle .42s ease-in-out infinite alternate;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .28));
}

@keyframes scuttle {
  from { transform: translateX(-.6px) scaleY(1); }
  to   { transform: translateX(.6px) scaleY(1.03); }
}

/* individual routes */
.fx-bug--1 { width: 26px; animation: crawl1 62s linear infinite; }
.fx-bug--2 { width: 20px; animation: crawl2 78s linear infinite; animation-delay: -24s; }
.fx-bug--3 { width: 30px; animation: crawl3 54s linear infinite; animation-delay: -12s; }
.fx-bug--4 { width: 18px; animation: crawl4 88s linear infinite; animation-delay: -40s; }
.fx-bug--5 { width: 23px; animation: crawl5 70s linear infinite; animation-delay: -55s; }
.fx-bug--6 { width: 16px; animation: crawl6 96s linear infinite; animation-delay: -8s; }

@keyframes crawl1 {
  0%   { transform: translate(-10vw, 74vh) rotate(96deg); }
  45%  { transform: translate(48vw, 66vh) rotate(84deg); }
  100% { transform: translate(112vw, 71vh) rotate(92deg); }
}
@keyframes crawl2 {
  0%   { transform: translate(108vw, 16vh) rotate(-88deg); }
  50%  { transform: translate(52vw, 24vh) rotate(-96deg); }
  100% { transform: translate(-12vw, 14vh) rotate(-90deg); }
}
@keyframes crawl3 {
  0%   { transform: translate(-10vw, -8vh) rotate(140deg); }
  100% { transform: translate(110vw, 108vh) rotate(132deg); }
}
@keyframes crawl4 {
  0%   { transform: translate(88vw, 112vh) rotate(4deg); }
  55%  { transform: translate(80vw, 42vh) rotate(-6deg); }
  100% { transform: translate(90vw, -14vh) rotate(2deg); }
}
@keyframes crawl5 {
  0%   { transform: translate(-8vw, 104vh) rotate(46deg); }
  100% { transform: translate(108vw, -12vh) rotate(38deg); }
}
@keyframes crawl6 {
  0%   { transform: translate(6vw, -10vh) rotate(178deg); }
  60%  { transform: translate(14vw, 58vh) rotate(190deg); }
  100% { transform: translate(4vw, 112vh) rotate(182deg); }
}

/* lighter touch on phones */
@media (max-width: 760px) {
  .fx-bug { opacity: .13; }
  .fx-bug--4, .fx-bug--6 { display: none; }
  .fx-bug--1 { width: 20px; }
  .fx-bug--3 { width: 22px; }
  .fx-bug--5 { width: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .fx-crawl { display: none; }
}

/* ==========================================================================
   22. Crawlers v2 — page-anchored, real gait, natural colours
   The layer used to be position:fixed, which made the pests slide along with
   the viewport instead of sitting on the page. It is now absolutely
   positioned inside <body>, so each pest stays where it is in the document.
   Structure: .fx-bug (path animation) > __i (flee offset, set from JS)
              > __s (fixed heading rotation) > svg
   ========================================================================== */
body { position: relative; }

.fx-crawl {
  position: absolute;
  inset: 0;
  z-index: 60;
  overflow: hidden;
  pointer-events: none;
}

.fx-bug {
  position: absolute;
  left: 0;
  width: 26px;
  opacity: .68;
  will-change: transform;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .38));
}
.fx-bug__i { display: block; }
.fx-bug__s { display: block; }
.fx-bug svg { width: 100%; height: auto; display: block; }

/* alternating tripod gait — three legs swing while the other three plant */
.fx-bug svg .lg {
  transform-box: view-box;
  transform-origin: 50% 52%;
  animation: gait .26s steps(1, end) infinite alternate;
}
.fx-bug svg .lg--b { animation-direction: alternate-reverse; }
.fx-bug svg .antn {
  transform-box: view-box;
  transform-origin: 50% 22%;
  animation: twitch 1.7s ease-in-out infinite;
}
.fx-bug.is-fleeing svg .lg { animation-duration: .08s; }
.fx-bug.is-fleeing svg .antn { animation-duration: .4s; }

@keyframes gait {
  from { transform: rotate(-9deg); }
  to   { transform: rotate(9deg); }
}
@keyframes twitch {
  0%, 100% { transform: rotate(-4deg); }
  50%      { transform: rotate(4deg); }
}

/* body bob in step with the legs */
.fx-bug__s { animation: bob .26s steps(1, end) infinite alternate; }
@keyframes bob {
  from { transform: rotate(var(--turn, 90deg)) translateY(-.6px); }
  to   { transform: rotate(var(--turn, 90deg)) translateY(.6px); }
}

/* --- routes: horizontal drift only, heading set by --turn --- */
@keyframes trekR {
  0%   { transform: translate3d(-14vw, 0, 0); }
  100% { transform: translate3d(116vw, 0, 0); }
}
@keyframes trekL {
  0%   { transform: translate3d(116vw, 0, 0); }
  100% { transform: translate3d(-14vw, 0, 0); }
}
@keyframes trekRWave {
  0%   { transform: translate3d(-14vw, 0, 0); }
  25%  { transform: translate3d(20vw, 34px, 0); }
  55%  { transform: translate3d(58vw, -26px, 0); }
  100% { transform: translate3d(116vw, 12px, 0); }
}
@keyframes trekLWave {
  0%   { transform: translate3d(116vw, 0, 0); }
  30%  { transform: translate3d(72vw, -30px, 0); }
  65%  { transform: translate3d(30vw, 28px, 0); }
  100% { transform: translate3d(-14vw, -10px, 0); }
}

.fx-bug--1  { top: 5%;  width: 27px; --turn: 92deg;  animation: trekR 38s linear infinite; }
.fx-bug--2  { top: 11%; width: 21px; --turn: -88deg; animation: trekLWave 52s linear infinite; animation-delay: -18s; }
.fx-bug--3  { top: 18%; width: 24px; --turn: 88deg;  animation: trekRWave 44s linear infinite; animation-delay: -30s; }
.fx-bug--4  { top: 26%; width: 30px; --turn: -92deg; animation: trekL 41s linear infinite; animation-delay: -9s; }
.fx-bug--5  { top: 34%; width: 22px; --turn: 90deg;  animation: trekRWave 57s linear infinite; animation-delay: -41s; }
.fx-bug--6  { top: 42%; width: 28px; --turn: 94deg;  animation: trekR 35s linear infinite; animation-delay: -22s; }
.fx-bug--7  { top: 50%; width: 20px; --turn: -90deg; animation: trekLWave 48s linear infinite; animation-delay: -6s; }
.fx-bug--8  { top: 58%; width: 25px; --turn: -86deg; animation: trekL 55s linear infinite; animation-delay: -33s; }
.fx-bug--9  { top: 66%; width: 29px; --turn: 90deg;  animation: trekRWave 40s linear infinite; animation-delay: -15s; }
.fx-bug--10 { top: 75%; width: 23px; --turn: 88deg;  animation: trekR 50s linear infinite; animation-delay: -44s; }
.fx-bug--11 { top: 84%; width: 26px; --turn: -92deg; animation: trekLWave 46s linear infinite; animation-delay: -27s; }
.fx-bug--12 { top: 92%; width: 19px; --turn: 91deg;  animation: trekRWave 60s linear infinite; animation-delay: -11s; }

@media (max-width: 760px) {
  .fx-bug { opacity: .55; }
  .fx-bug--2, .fx-bug--5, .fx-bug--7, .fx-bug--12 { display: none; }
  .fx-bug--1, .fx-bug--3, .fx-bug--4, .fx-bug--6,
  .fx-bug--8, .fx-bug--9, .fx-bug--10, .fx-bug--11 { width: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  .fx-crawl { display: none; }
}

/* ==========================================================================
   23. Back to top
   ========================================================================== */
.fx-top {
  position: fixed;
  left: 22px;
  bottom: 24px;
  z-index: 875;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(155deg, var(--g-600), var(--g-900));
  box-shadow: 0 14px 30px -14px rgba(6, 40, 28, .75), inset 0 1px 0 rgba(255, 255, 255, .22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.9);
  transition: opacity .4s var(--fx-ease), transform .45s var(--fx-spring), visibility .4s, box-shadow .3s var(--fx-ease);
}
.fx-top svg { width: 20px; height: 20px; }
.fx-top.is-on { opacity: 1; visibility: visible; transform: none; }
.fx-top:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 20px 40px -14px rgba(6, 40, 28, .85), 0 0 0 1px rgba(22, 224, 173, .35);
}
@media (max-width: 760px) {
  .fx-top { left: 14px; bottom: 88px; width: 42px; height: 42px; }
}

/* ==========================================================================
   24. Hero scroll cue
   ========================================================================== */
.fx-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  color: rgba(226, 240, 235, .72);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: color .3s var(--fx-ease), gap .3s var(--fx-ease);
}
.fx-cue:hover { color: var(--teal-soft); gap: 16px; }
.fx-cue__mouse {
  position: relative;
  width: 24px; height: 38px;
  flex: none;
  border-radius: 13px;
  border: 2px solid rgba(255, 255, 255, .32);
  box-shadow: inset 0 0 14px rgba(22, 224, 173, .18);
}
.fx-cue__mouse i {
  position: absolute;
  top: 7px; left: 50%;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--teal-soft);
  animation: wheel 1.9s var(--fx-ease) infinite;
}
@keyframes wheel {
  0%       { opacity: 0; transform: translateY(0); }
  22%      { opacity: 1; }
  70%      { opacity: 0; transform: translateY(13px); }
  100%     { opacity: 0; transform: translateY(13px); }
}
@media (max-width: 760px) { .fx-cue { display: none; } }

/* ==========================================================================
   25. Page transitions
   Applied to the content, never to <body>, so position:fixed chrome keeps
   working (animating body would turn it into a containing block).
   ========================================================================== */
main, .footer { animation: pageIn .55s var(--fx-ease) both; }
.footer { animation-delay: .06s; }
body.is-leaving main, body.is-leaving .footer {
  animation: pageOut .26s var(--fx-ease) forwards;
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
@keyframes pageOut {
  to { opacity: 0; transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  main, .footer { animation: none; }
}

/* ==========================================================================
   26. Crawlers v3 — driven by a JavaScript walk simulation
   Position, heading and gait speed are all set from script, so the pests
   actually walk rather than slide along a fixed keyframe path.
   ========================================================================== */
.fx-crawl { position: absolute; inset: 0; z-index: 60; overflow: hidden; pointer-events: none; }

.fx-bug {
  position: absolute;
  top: 0; left: 0;
  opacity: .78;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35));
  animation: none;
}
.fx-bug svg { width: 100%; height: auto; display: block; }

/* legs swing in an alternating tripod, timed to how fast the pest is moving */
.fx-bug svg .lg {
  transform-box: view-box;
  transform-origin: 50% 52%;
  animation: gait var(--gait, .26s) steps(1, end) infinite alternate;
}
.fx-bug svg .lg--b { animation-direction: alternate-reverse; }
.fx-bug svg .antn {
  transform-box: view-box;
  transform-origin: 50% 24%;
  animation: twitch 1.7s ease-in-out infinite;
}
.fx-bug svg .wg {
  transform-box: view-box;
  transform-origin: 50% 46%;
  animation: flap .055s linear infinite alternate;
}
@keyframes flap {
  from { transform: scaleX(1); }
  to   { transform: scaleX(.52); }
}
.fx-bug.is-panic svg .antn { animation-duration: .35s; }

@media (max-width: 760px) { .fx-bug { opacity: .7; } }
@media (prefers-reduced-motion: reduce) { .fx-crawl { display: none; } }

/* ==========================================================================
   27. Mobile performance mode
   Phones were janking during scroll. The culprits are all here: full-screen
   mix-blend grain, animated 48px blurs, per-element backdrop-filter and
   per-bug drop-shadows. On coarse-pointer / narrow screens the site keeps
   its look but swaps every one of these for a cheap equivalent.
   ========================================================================== */
@media (pointer: coarse), (max-width: 820px) {

  /* film grain: full-screen blend repainted every scroll frame — off */
  .fx-grain { display: none; }

  /* aurora fields: keep the colour wash, stop animating the blurred layer */
  .hero::before,
  .phero::before,
  .section--dark::before,
  .cta-band::before {
    animation: none;
    filter: blur(30px);
    opacity: .5;
  }

  /* hero particles: tiny visual payoff on a phone, real cost */
  .fx-particles { display: none; }

  /* headline shimmer forces continual text repaint */
  .hero h1 .accent {
    animation: none;
    background: linear-gradient(94deg, var(--g-300), var(--gold-soft) 78%);
    -webkit-background-clip: text;
    background-clip: text;
  }

  /* backdrop-filter is the single biggest scroll cost on Android */
  .header, .header.is-stuck { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, .97); }
  .action-bar { backdrop-filter: none; background: rgba(255, 255, 255, .97); }
  .chip, .eyebrow, .card, .step, .area, .info-card,
  .scene, .art--dark, .btn--ghost, .scrim { backdrop-filter: none; -webkit-backdrop-filter: none; }

  /* solid stand-ins where glass used to be */
  .section--dark .card, .step, .info-card, .area {
    background: rgba(13, 34, 26, .72);
  }

  /* per-bug drop-shadow = one extra render surface per pest */
  .fx-bug { filter: none; }
  .fx-bug svg .antn { animation: none; }

  /* marquee is a wide always-animating strip; slow it right down */
  .strip__track { animation-duration: 70s; }

  /* blur-in reveals force expensive filter transitions — fade/slide only */
  .reveal { filter: none; transform: translateY(18px); transition: opacity .55s var(--fx-ease), transform .55s var(--fx-ease); }
  .reveal.is-in { transform: none; }

  /* decorative pings/spins that still burn frames off-interaction */
  .wa-float::before, .wa-float::after { animation: none; opacity: 0; }
  .step::before { display: none; }
  .float-card { animation: none; }
  .scene { transform: none; }
}

/* ==========================================================================
   28. v8 — Full cinematic dark theme
   The plain white sections are gone. Every surface now sits on deep
   green-charcoal with teal/gold energy accents, so the whole site reads
   like one continuous rendered environment.
   ========================================================================== */

/* ---- global canvas ---- */
body {
  color: #d9e3de;
  background:
    radial-gradient(1200px 700px at 85% -5%, rgba(22, 224, 173, .07), transparent 60%),
    radial-gradient(900px 600px at 0% 30%, rgba(201, 162, 39, .05), transparent 55%),
    linear-gradient(170deg, #08150f 0%, #071410 45%, #0a0f11 100%);
}

h1, h2, h3, h4, h5 { color: #f2f8f5; }
strong { color: #eaf3ee; }
.lede, .muted { color: rgba(205, 218, 212, .78); }
p { color: inherit; }
::selection { background: var(--teal-deep); color: #04110b; }

/* ---- sections: no more flat white ---- */
.section { background: transparent; }
.section--alt {
  background:
    radial-gradient(900px 480px at 12% 0%, rgba(22, 224, 173, .06), transparent 60%),
    rgba(255, 255, 255, .022);
  border-block: 1px solid rgba(255, 255, 255, .05);
}
.feature + .feature { border-top-color: rgba(255, 255, 255, .07); }

/* ---- eyebrow chips (light variant no longer exists) ---- */
.eyebrow {
  color: var(--gold-soft);
  background: rgba(255, 255, 255, .06);
  border-color: rgba(230, 200, 90, .28);
}
.eyebrow::before { background: var(--gold-soft); box-shadow: 0 0 0 4px var(--gold-glow); }

/* ---- cards / tiles / benefits ---- */
.card, .benefit, .tile, .faq__item, .testimonial, .notice {
  background: linear-gradient(165deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025));
  border-color: rgba(255, 255, 255, .1);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6);
}
.card h3, .benefit h4, .tile__name { color: #f2f8f5; }
.card p, .benefit p { color: rgba(200, 214, 207, .78); }
.tile__note { color: rgba(170, 186, 179, .6); }

.card:hover, .benefit:hover, .tile:hover {
  border-color: rgba(22, 224, 173, .3);
  box-shadow:
    0 30px 60px -24px rgba(0, 0, 0, .7),
    0 0 0 1px rgba(22, 224, 173, .2),
    0 0 44px -18px var(--emerald-glow);
}

.card__icon, .tile__icon {
  background: rgba(22, 224, 173, .08);
  border-color: rgba(22, 224, 173, .18);
  box-shadow: none;
}
.card__icon svg, .tile__icon svg { color: var(--teal-soft); }

.benefit__icon { box-shadow: 0 10px 22px -10px var(--emerald-glow); }

/* ---- FAQ ---- */
.faq__q { color: #eef5f1; }
.faq__q:hover { color: var(--teal-soft); }
.faq__sign { background: rgba(22, 224, 173, .12); color: var(--teal-soft); }
.faq__item.is-open { border-color: rgba(22, 224, 173, .3); }
.faq__item.is-open .faq__sign { background: var(--teal-deep); color: #04110b; }
.faq__a p { color: rgba(200, 214, 207, .75); }

/* ---- testimonials / notices ---- */
.testimonial { border-style: dashed; border-color: rgba(22, 224, 173, .25); }
.testimonial p { color: rgba(200, 214, 207, .7); }
.testimonial__quote { color: rgba(22, 224, 173, .3); }
.testimonial__name { color: rgba(220, 232, 226, .8); }
.testimonial__role { color: rgba(170, 186, 179, .55); }
.testimonial__avatar { background: rgba(255, 255, 255, .08); border-color: rgba(22, 224, 173, .3); }
.notice { color: rgba(200, 214, 207, .8); border-color: rgba(22, 224, 173, .2); }
.notice svg { color: var(--teal-soft); }

/* ---- checklists ---- */
.feature__list li { color: rgba(200, 214, 207, .8); }
.feature__list li::before {
  background-color: rgba(22, 224, 173, .14);
  border-color: rgba(22, 224, 173, .3);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237ff5da' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* ---- links & ghost buttons on dark ---- */
.link-arrow { color: var(--teal-soft); }
.link-arrow:hover { color: #fff; }
.btn--ghost {
  color: #fff;
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .22);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(22, 224, 173, .4); }

/* ---- art frames become framed holograms ---- */
.art {
  background: linear-gradient(158deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border-color: rgba(22, 224, 173, .16);
  box-shadow: 0 34px 70px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .1);
}

/* ---- header: dark glass cockpit ---- */
.header {
  background: rgba(7, 18, 13, .78);
  border-bottom-color: rgba(255, 255, 255, .06);
}
.header.is-stuck {
  background: rgba(7, 18, 13, .94);
  border-bottom-color: rgba(22, 224, 173, .16);
  box-shadow: 0 10px 34px -18px rgba(0, 0, 0, .8), inset 0 -1px 0 rgba(22, 224, 173, .18);
}
.menu a { color: rgba(212, 224, 218, .82); }
.menu a:hover { color: #fff; background: rgba(22, 224, 173, .08); }
.menu a[aria-current="page"] { color: #fff; }
.logo__name { color: #f2f8f5; }
.logo__sub { color: var(--teal-soft); }
.burger { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .14); }
.burger span { background: #e8f1ec; }

/* ---- drawer & mobile bar ---- */
.drawer { background: linear-gradient(170deg, #0b1c14, #08130e); }
.drawer__menu a { color: rgba(214, 226, 220, .85); border-bottom-color: rgba(255, 255, 255, .06); }
.drawer__menu a:hover, .drawer__menu a[aria-current="page"] { background: rgba(22, 224, 173, .1); color: #fff; }
.drawer__close { background: rgba(255, 255, 255, .08); color: #e8f1ec; }
.drawer__info { color: rgba(180, 196, 189, .7); border-top-color: rgba(255, 255, 255, .08); }
.action-bar { background: rgba(7, 18, 13, .96); border-top-color: rgba(255, 255, 255, .08); }

/* ---- back-to-top on dark ---- */
.fx-top { box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .9), 0 0 0 1px rgba(22, 224, 173, .2); }

/* ---- legal prose ---- */
.prose p, .prose li { color: rgba(198, 212, 205, .78); }
.prose a { color: var(--teal-soft); }

/* ---- keep the quote form white: strongest conversion contrast on the page ---- */
.form-card { background: #fff; }
.form-card h3 { color: var(--g-950); }

/* ---- pests read better on dark ---- */
.fx-bug { opacity: .85; }

/* ---- scroll progress track on dark ---- */
.fx-progress { background: rgba(255, 255, 255, .06); }

/* mobile solid stand-ins from section 27, re-tuned for the dark theme */
@media (pointer: coarse), (max-width: 820px) {
  .header, .header.is-stuck { background: #0a1811; }
  .action-bar { background: #0a1811; }
  .card, .benefit, .tile, .faq__item, .testimonial, .notice,
  .section--dark .card, .step, .info-card, .area {
    background: #0d2118;
  }
  .form-card { background: #fff; }
}

/* ==========================================================================
   29. v9 — the exterminator sprite
   ========================================================================== */
.fx-tech {
  position: fixed;
  left: 0;
  bottom: 6px;
  z-index: 820;
  width: 116px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s var(--fx-ease);
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45));
}
.fx-tech.is-on { opacity: 1; }
.fx-tech__i { position: relative; display: block; }
.fx-tech svg { width: 100%; height: auto; display: block; }

/* walking gait */
.fx-tech svg .tleg {
  transform-box: view-box;
  transform-origin: 47% 66%;
}
.is-walking svg .tleg--a { animation: tstep .5s ease-in-out infinite alternate; }
.is-walking svg .tleg--b { animation: tstep .5s ease-in-out infinite alternate-reverse; }
@keyframes tstep {
  from { transform: rotate(-14deg); }
  to   { transform: rotate(14deg); }
}
.is-walking .fx-tech__i { animation: tbob .5s ease-in-out infinite alternate; }
@keyframes tbob {
  from { translate: 0 0; }
  to   { translate: 0 -3px; }
}

/* arm raises while spraying, trigger squeeze */
.fx-tech svg .tarm {
  transform-box: view-box;
  transform-origin: 52% 38%;
  transition: transform .3s var(--fx-ease);
}
.is-spraying svg .tarm { transform: rotate(-10deg); animation: tsqueeze .5s ease-in-out infinite alternate; }
@keyframes tsqueeze {
  from { transform: rotate(-10deg); }
  to   { transform: rotate(-13deg); }
}

/* spray mist — puffs launched from the wand tip */
.fx-tech__mist {
  position: absolute;
  right: -8%;
  top: 52%;
  width: 10px; height: 10px;
  pointer-events: none;
}
.fx-tech__mist i {
  position: absolute;
  left: 0; top: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160, 245, 218, .85), rgba(22, 224, 173, .12) 70%);
  opacity: 0;
}
.is-spraying .fx-tech__mist i { animation: puff 1s ease-out infinite; }
.fx-tech__mist i:nth-child(1) { animation-delay: 0s;   --px: 66px;  --py: -8px;  }
.fx-tech__mist i:nth-child(2) { animation-delay: .12s; --px: 88px;  --py: -22px; }
.fx-tech__mist i:nth-child(3) { animation-delay: .24s; --px: 74px;  --py: 6px;   }
.fx-tech__mist i:nth-child(4) { animation-delay: .36s; --px: 102px; --py: -10px; }
.fx-tech__mist i:nth-child(5) { animation-delay: .48s; --px: 82px;  --py: -34px; }
.fx-tech__mist i:nth-child(6) { animation-delay: .6s;  --px: 110px; --py: 4px;   }
.fx-tech__mist i:nth-child(7) { animation-delay: .72s; --px: 94px;  --py: 16px;  }
.fx-tech__mist i:nth-child(8) { animation-delay: .84s; --px: 118px; --py: -20px; }
@keyframes puff {
  0%   { opacity: 0; transform: translate(0, 0) scale(.5); }
  18%  { opacity: .9; }
  100% { opacity: 0; transform: translate(var(--px), var(--py)) scale(2.6); }
}

@media (max-width: 760px) {
  .fx-tech { bottom: 80px; }   /* clear the sticky action bar */
}
@media (prefers-reduced-motion: reduce) {
  .fx-tech { display: none; }
}

/* ==========================================================================
   30. v10 — constellation background canvas
   First child of <body>: positioned sections paint above it, so it shows
   through every transparent surface without ever covering content.
   ========================================================================== */
.fx-bgnet {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) { .fx-bgnet { display: none; } }

/* ==========================================================================
   31. v11 — constellation over EVERY section + premium logo & nav
   ========================================================================== */

/* --- 1. let the dot-field shine through the hero and dark sections too.
   The canvas rises to z1; all real content already sits in .wrap
   containers, which we lift to z2, so text and buttons stay on top. --- */
.fx-bgnet { z-index: 1; opacity: .9; }
.wrap { position: relative; z-index: 2; }
.strip { position: relative; z-index: 2; }
.hero::after { z-index: 2; }
.fx-crawl { z-index: 61; }

/* the big opaque section gradients become slightly translucent so the
   canvas reads through them as depth rather than being blocked */
.hero, .phero, .section--dark { isolation: auto; }

/* --- 2. logo: engraved 3D badge --- */
.logo { gap: 13px; }
.logo__mark {
  width: 52px; height: 52px;
  border-radius: 16px;
  position: relative;
  background:
    radial-gradient(120% 120% at 20% 12%, rgba(255, 255, 255, .28), transparent 42%),
    linear-gradient(155deg, #21c98b, var(--g-700) 52%, #052e1f);
  box-shadow:
    0 12px 26px -10px rgba(4, 40, 26, .85),
    0 0 0 1px rgba(22, 224, 173, .35),
    0 0 24px -6px var(--emerald-glow),
    inset 0 1px 0 rgba(255, 255, 255, .35),
    inset 0 -7px 12px -8px rgba(0, 0, 0, .55);
}
.logo__mark::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 19px;
  padding: 1.5px;
  background: conic-gradient(from 140deg, transparent 12%, rgba(22, 224, 173, .85), rgba(230, 200, 90, .8) 55%, transparent 78%);
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .8;
  animation: logoRing 6s linear infinite;
}
@keyframes logoRing { to { transform: rotate(360deg); } }
.logo__mark svg { filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); }
.logo__name {
  font-size: 1.22rem;
  background: linear-gradient(100deg, #ffffff 20%, var(--teal-soft) 55%, var(--gold-soft) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 14px rgba(22, 224, 173, .25);
}
.logo__sub {
  color: var(--gold-soft);
  letter-spacing: .3em;
  text-shadow: 0 0 12px rgba(201, 162, 39, .5);
}

/* --- 3. nav links: glass pills with glow --- */
.menu a {
  font-weight: 650;
  letter-spacing: .015em;
  color: rgba(216, 228, 222, .85);
  border: 1px solid transparent;
  transition: color .22s var(--fx-ease), background .22s var(--fx-ease),
              border-color .22s var(--fx-ease), box-shadow .22s var(--fx-ease),
              transform .22s var(--fx-ease);
}
.menu a:hover {
  color: #fff;
  background: rgba(22, 224, 173, .1);
  border-color: rgba(22, 224, 173, .22);
  box-shadow: 0 6px 18px -8px var(--emerald-glow), inset 0 1px 0 rgba(255, 255, 255, .08);
  transform: translateY(-1px);
}
.menu a[aria-current="page"] {
  color: #fff;
  background: linear-gradient(160deg, rgba(22, 224, 173, .16), rgba(22, 224, 173, .05));
  border-color: rgba(22, 224, 173, .3);
  box-shadow: 0 6px 18px -8px var(--emerald-glow), inset 0 1px 0 rgba(255, 255, 255, .1);
}

/* --- 4. every service card icon gets its own tint: no two alike in a row --- */
.grid .card:nth-child(4n+2) .card__icon { background: rgba(230, 200, 90, .1); border-color: rgba(230, 200, 90, .24); }
.grid .card:nth-child(4n+2) .card__icon svg { color: var(--gold-soft); }
.grid .card:nth-child(4n+3) .card__icon { background: rgba(120, 200, 255, .09); border-color: rgba(120, 200, 255, .22); }
.grid .card:nth-child(4n+3) .card__icon svg { color: #9fd4f5; }
.grid .card:nth-child(4n)   .card__icon { background: rgba(255, 150, 120, .09); border-color: rgba(255, 150, 120, .2); }
.grid .card:nth-child(4n)   .card__icon svg { color: #f5b09a; }
.grid .card:nth-child(4n+2):hover .card__icon { background: linear-gradient(150deg, #d9b545, #8d6f15); }
.grid .card:nth-child(4n+3):hover .card__icon { background: linear-gradient(150deg, #5aa7dd, #23628f); }
.grid .card:nth-child(4n):hover   .card__icon { background: linear-gradient(150deg, #e08a68, #97452c); }
.grid .card:hover .card__icon svg { color: #fff; }

@media (pointer: coarse), (max-width: 820px) {
  .logo__mark::before { animation: none; }
}

/* ==========================================================================
   32. v12 — keyword strip becomes a holographic ticker
   ========================================================================== */
.strip {
  background:
    radial-gradient(600px 60px at 20% 50%, rgba(22, 224, 173, .14), transparent 70%),
    radial-gradient(600px 60px at 80% 50%, rgba(201, 162, 39, .1), transparent 70%),
    linear-gradient(90deg, #07130e, #0b241a 50%, #07130e);
  border-block: 1px solid rgba(22, 224, 173, .18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .05),
    inset 0 12px 24px -18px rgba(22, 224, 173, .35),
    inset 0 -12px 24px -18px rgba(0, 0, 0, .6);
  padding-block: 13px;
}
.strip::before, .strip::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 90px;
  z-index: 3;
  pointer-events: none;
}
.strip::before { left: 0; background: linear-gradient(90deg, #08150f, transparent); }
.strip::after { right: 0; background: linear-gradient(-90deg, #08150f, transparent); }

.strip__track { gap: 18px; font-size: .84rem; }
.strip__track span {
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(22, 224, 173, .16);
  color: rgba(226, 240, 235, .88);
  font-weight: 600;
  letter-spacing: .03em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: border-color .3s var(--fx-ease), background .3s var(--fx-ease);
}
.strip__track span:hover {
  border-color: rgba(22, 224, 173, .45);
  background: rgba(22, 224, 173, .09);
}
.strip__track span::before {
  color: var(--teal-soft);
  text-shadow: 0 0 10px var(--emerald-glow);
  animation: tickPulse 2.2s ease-in-out infinite;
}
.strip__track span:nth-child(odd)::before { color: var(--gold-soft); text-shadow: 0 0 10px rgba(201, 162, 39, .5); animation-delay: 1.1s; }
@keyframes tickPulse {
  0%, 100% { opacity: .55; }
  50%      { opacity: 1; }
}
@media (pointer: coarse), (max-width: 820px) {
  .strip__track span::before { animation: none; }
}
