/* =================================================================
   TV SIGNAL SOLUTIONS — Design System
   Premium high-tech. Deep navy space + electric cyan signal.
   ================================================================= */

:root {
  /* palette */
  --bg: #04070f;
  --bg-2: #060c18;
  --bg-3: #0a1424;
  --ink: #eaf2ff;
  --muted: #9fb2cf;
  --faint: #54688a;
  --line: rgba(120, 190, 255, 0.12);
  --line-2: rgba(120, 190, 255, 0.22);
  --panel: rgba(135, 190, 255, 0.035);
  --panel-2: rgba(135, 190, 255, 0.06);
  --accent: #2ea3ff;
  --accent-2: #61d4ff;
  --accent-3: #1f6fff;
  --glow: rgba(46, 163, 255, 0.45);
  --glow-soft: rgba(46, 163, 255, 0.18);

  /* type */
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;

  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 56px);
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 11px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-padding-top: 82px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.02em;
}
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

/* ---------- global starfield background ---------- */
.bg-field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.bg-grad {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
      120% 90% at 78% -10%,
      rgba(31, 111, 255, 0.16),
      transparent 55%
    ),
    radial-gradient(90% 70% at 8% 8%, rgba(46, 163, 255, 0.1), transparent 50%),
    radial-gradient(
      140% 120% at 50% 120%,
      rgba(10, 30, 70, 0.5),
      transparent 60%
    ),
    linear-gradient(180deg, #04070f 0%, #050a14 100%);
}
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: linear-gradient(
      rgba(120, 190, 255, 0.045) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(120, 190, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(
    110% 80% at 50% 0%,
    #000 0%,
    transparent 70%
  );
  mask-image: radial-gradient(110% 80% at 50% 0%, #000 0%, transparent 70%);
}

.bg-net {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s linear;
}

/* ---------- layout ---------- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  z-index: 2;
}
section {
  position: relative;
  z-index: 2;
}
section[id] {
  scroll-margin-top: 88px;
}
.section-pad {
  padding: clamp(80px, 12vh, 150px) 0;
}

/* ---------- kicker / eyebrow ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 22px;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
}
.kicker.center {
  justify-content: center;
}
.kicker.center::after {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.sec-head {
  max-width: 680px;
}
.sec-head.center {
  margin: 0 auto;
  text-align: center;
}
.sec-title {
  font-size: clamp(30px, 4.6vw, 52px);
}
.sec-sub {
  color: var(--muted);
  margin-top: 18px;
  font-size: clamp(16px, 1.7vw, 19px);
  max-width: 60ch;
}
.sec-head.center .sec-sub {
  margin-left: auto;
  margin-right: auto;
}

.grad-text {
  background: linear-gradient(
    100deg,
    #bfe6ff 0%,
    var(--accent-2) 40%,
    var(--accent) 75%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15.5px;
  padding: 15px 26px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s,
    background 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn svg {
  width: 18px;
  height: 18px;
}
.btn-primary {
  color: #031021;
  background: linear-gradient(180deg, #7fdcff, #2ea3ff);
  box-shadow: 0 6px 26px -6px var(--glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -8px var(--glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn-ghost {
  color: var(--ink);
  background: var(--panel-2);
  border-color: var(--line-2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 8px 30px -10px var(--glow-soft);
}
.btn-lg {
  padding: 17px 32px;
  font-size: 16.5px;
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s,
    padding 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 9, 18, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  line-height: 1;
}
.brand-name b {
  color: var(--accent-2);
  font-weight: 600;
}
.brand-name span {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.34em;
  color: var(--faint);
  margin-top: 4px;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: 21px;
  margin-left: auto;
}
.nav-links a {
  font-size: 14.5px;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.25s;
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--ink);
}
.nav-phone svg {
  width: 15px;
  height: 15px;
  color: var(--accent-2);
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line-2);
  background: var(--panel-2);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg {
  width: 20px;
  height: 20px;
}

/* mobile menu — compact top-right dropdown */
.mobile-menu {
  position: fixed;
  top: 68px;
  right: var(--pad);
  z-index: 48;
  width: min(258px, calc(100vw - 28px));
  background: rgba(7, 12, 24, 0.97);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 28px 70px -22px rgba(0, 0, 0, 0.85);
  transform-origin: top right;
  transform: translateY(-10px) scale(0.95);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.22s,
    visibility 0.26s;
}
.mobile-menu.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}
.mobile-menu a {
  font-family: var(--body);
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
  padding: 12px 14px;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu a:hover {
  background: var(--panel-2);
  color: var(--ink);
}
.mobile-menu .btn {
  margin-top: 8px;
  justify-content: center;
  font-size: 14.5px;
}
.mobile-menu .btn-primary {
  color: #031021;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    var(--bg) 0%,
    rgba(4, 7, 15, 0.72) 30%,
    rgba(4, 7, 15, 0.25) 50%,
    transparent 66%
  );
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero-glow {
  position: absolute;
  z-index: 0;
  right: -8%;
  top: 40%;
  transform: translateY(-50%);
  width: min(70vw, 820px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(46, 163, 255, 0.22),
    transparent 62%
  );
  filter: blur(10px);
}
.hero-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
}
.hero-fallback.active {
  display: block;
}
.hero-fb-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%);
  mask-image: linear-gradient(90deg, transparent, #000 35%);
}
.hero-fb-img.show {
  opacity: 0.9;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 580px;
  padding: 104px var(--pad) 60px var(--pad);
}
@media (min-width: 1000px) {
  /* nudge the hero copy inward so it sits more naturally on wide desktops */
  .hero-content {
    margin-left: clamp(20px, 6vw, 120px);
  }
}
.hero h1 {
  font-size: clamp(40px, 6.6vw, 80px);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.hero-sub {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  margin-top: 26px;
  max-width: 48ch;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.hero-trust .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 10px var(--accent-2);
}
.hero-trust .stars {
  color: #ffd25e;
  letter-spacing: 2px;
}
.hud-chip {
  position: absolute;
  z-index: 3;
  right: max(var(--pad), 4vw);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hud {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(6, 12, 24, 0.5);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  animation: floaty 6s ease-in-out infinite;
}
.hud .live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ee68a;
  box-shadow: 0 0 10px #3ee68a;
  animation: blink 1.6s infinite;
}
.hud b {
  color: var(--ink);
  font-weight: 400;
}
@keyframes blink {
  50% {
    opacity: 0.3;
  }
}
@keyframes floaty {
  50% {
    transform: translateY(-10px);
  }
}
.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  color: var(--faint);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-cue .bar {
  width: 1px;
  height: 38px;
  background: linear-gradient(var(--accent), transparent);
  animation: scrolldrop 2s infinite;
}
@keyframes scrolldrop {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ---------- marquee strip ---------- */
.strip {
  border-block: 1px solid var(--line);
  background: rgba(6, 12, 24, 0.4);
  overflow: hidden;
}
.marquee {
  display: flex;
  gap: 54px;
  padding: 18px 0;
  white-space: nowrap;
  animation: scrollx 34s linear infinite;
  width: max-content;
}
.marquee span {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 54px;
}
.marquee span::after {
  content: "✦";
  color: var(--accent);
}
@keyframes scrollx {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- services ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 60px;
}
.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(
    180deg,
    rgba(135, 190, 255, 0.05),
    rgba(135, 190, 255, 0.015)
  );
  padding: 30px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s,
    box-shadow 0.35s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.35s;
  background: radial-gradient(
    120% 100% at 50% -20%,
    rgba(46, 163, 255, 0.14),
    transparent 60%
  );
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-2);
  box-shadow: 0 24px 60px -30px var(--glow);
}
.card:hover::before {
  opacity: 1;
}
.svc-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  background: linear-gradient(
    180deg,
    rgba(46, 163, 255, 0.18),
    rgba(46, 163, 255, 0.05)
  );
  border: 1px solid var(--line-2);
  color: var(--accent-2);
}
.svc-icon svg {
  width: 27px;
  height: 27px;
}
.card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}
.card p {
  color: var(--muted);
  font-size: 15px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}
.tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(46, 163, 255, 0.05);
}
.card .idx {
  position: absolute;
  top: 24px;
  right: 26px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
}

/* ---------- 3D liquid-glass service carousel ---------- */
.svc-stage {
  position: relative;
  margin-top: 48px;
  height: 540px;
  width: 100%;
  perspective: 1600px;
  perspective-origin: 50% 46%;
  touch-action: pan-y;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}
.svc-stage.dragging {
  cursor: grabbing;
}
.svc-stage .scene {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.svc-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 392px;
  margin: -196px 0 0 -150px;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

/* ===== TRUE LIQUID GLASS (recreated) =====================================
   Clear, refractive, wet-looking — NOT frosted/matte. The trick: a light
   refractive blur (background stays visible), bright specular rim-light,
   a glossy curved top sheen, and a slow travelling highlight. ======= */
.svc-face {
  position: absolute;
  inset: 0;
  border-radius: 27px;
  transform-style: preserve-3d;
}
/* thin glassy edges give the pane believable depth without bulk */
.svc-face.edge {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.svc-face.front {
  padding: 32px;
  display: flex;
  flex-direction: column;
  border-radius: 27px;
  overflow: hidden;
  /* near-clear pane: edges catch light, centre stays transparent (no flat fill) */
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  /* light refractive blur — keep low so the scene shows through (liquid, not frosted) */
  -webkit-backdrop-filter: blur(7px) saturate(1.9) brightness(1.12);
  backdrop-filter: blur(7px) saturate(1.9) brightness(1.12);
  box-shadow: inset 0 1.5px 0.5px rgba(255, 255, 255, 0.85),
    /* crisp top rim-light */ inset 1px 0 0 rgba(255, 255, 255, 0.28),
    inset -1px 0 0 rgba(255, 255, 255, 0.22),
    inset 0 -28px 46px -34px rgba(120, 170, 255, 0.3),
    /* base refraction tint */ inset 0 60px 60px -60px rgba(255, 255, 255, 0.65),
    0 36px 80px -42px rgba(0, 0, 0, 0.72),
    0 2px 10px -4px rgba(120, 180, 255, 0.25);
}
/* soft cool caustic pooled at the base — refraction depth */
.svc-face.front::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 52%;
  pointer-events: none;
  background: radial-gradient(
    120% 100% at 50% 150%,
    rgba(80, 170, 255, 0.16),
    transparent 60%
  );
}
/* slow travelling specular streak */
.svc-spec {
  position: absolute;
  top: 0;
  left: -60%;
  width: 55%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(18, 110, 159, 0.3) 48%,
    rgba(18, 110, 159, 0.3) 56%,
    transparent 70%
  );
  transform: skewX(-12deg);
  animation: svcSheen 7s ease-in-out infinite;
}
@keyframes svcSheen {
  0%,
  100% {
    left: -60%;
  }
  55%,
  70% {
    left: 120%;
  }
}
.svc-ic {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #c8e8ff;
  position: relative;
  z-index: 2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 8px 22px -14px rgba(0, 0, 0, 0.6);
}
.svc-ic svg {
  width: 29px;
  height: 29px;
}
.svc-card .num {
  position: absolute;
  top: 30px;
  right: 30px;
  font-family: var(--mono);
  font-size: 16px;
  color: rgba(220, 240, 255, 0.55);
  z-index: 2;
}
.svc-card h3 {
  font-size: 23px;
  margin: 24px 0 10px;
  color: #f3f9ff;
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 16px rgba(10, 30, 70, 0.5);
  letter-spacing: -0.02em;
}
.svc-card p {
  color: rgba(214, 232, 255, 0.86);
  font-size: 14.5px;
  line-height: 1.55;
  position: relative;
  z-index: 2;
}
.svc-card .ctags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 18px;
  position: relative;
  z-index: 2;
}
.svc-card .ctags span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(200, 232, 255, 0.75);
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.svc-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  align-self: flex-start;
  position: relative;
  z-index: 3;
  font-family: var(--body);
  font-weight: 600;
  font-size: 13.5px;
  color: #0a1e38;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 22px -12px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.svc-cta:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 12px 30px -12px rgba(80, 160, 255, 0.5);
}
.svc-cta svg {
  width: 15px;
  height: 15px;
}
.svc-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 14px;
}
.svc-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--panel-2);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.svc-btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 8px 26px -10px var(--glow);
}
.svc-btn svg {
  width: 20px;
  height: 20px;
}
.svc-dots {
  display: flex;
  gap: 9px;
  align-items: center;
}
.svc-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(120, 190, 255, 0.28);
  cursor: pointer;
  transition: 0.25s;
}
.svc-dots i.on {
  background: var(--accent-2);
  width: 22px;
  border-radius: 4px;
  box-shadow: 0 0 12px var(--glow);
}
.svc-hint {
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 16px;
}
@media (max-width: 560px) {
  .svc-stage {
    height: 500px;
    perspective: 1200px;
  }
  .svc-card {
    width: 264px;
    height: 372px;
    margin: -186px 0 0 -132px;
  }
}

/* ---------- process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 60px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(6, 12, 24, 0.3);
}
.step {
  padding: 36px 28px;
  position: relative;
  border-right: 1px solid var(--line);
  transition: background 0.3s;
}
.step:last-child {
  border-right: none;
}
.step:hover {
  background: rgba(46, 163, 255, 0.04);
}
.step-no {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.step-no::before {
  content: "";
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: flex;
  margin-bottom: 18px;
  background: radial-gradient(circle, var(--glow-soft), transparent 70%);
}
.step h3 {
  font-size: 19px;
  margin: 16px 0 9px;
}
.step p {
  color: var(--muted);
  font-size: 14.5px;
}
.step .connector {
  position: absolute;
  top: 53px;
  right: -7px;
  width: 13px;
  height: 13px;
  color: var(--accent);
  z-index: 3;
}

/* ---------- coverage ---------- */
.cov {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.cov-map {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8),
    inset 0 0 0 1px rgba(120, 190, 255, 0.05);
  aspect-ratio: 3/2;
}
.cov-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cov-map canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.cov-map .cov-badge {
  position: absolute;
  left: 18px;
  top: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(4, 7, 15, 0.6);
  border: 1px solid var(--line);
  padding: 7px 12px;
  border-radius: 8px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.suburbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.suburb {
  font-size: 13.5px;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: 0.25s;
}
.suburb:hover,
.suburb.on {
  color: var(--ink);
  border-color: var(--accent);
  background: rgba(46, 163, 255, 0.08);
  box-shadow: 0 0 18px -6px var(--glow);
}

/* ---------- why us ---------- */
.why {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 60px;
}
.why-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px;
  background: var(--panel);
  transition: 0.3s;
}
.why-item:hover {
  border-color: var(--line-2);
  transform: translateY(-4px);
}
.why-item .wi {
  width: 44px;
  height: 44px;
  color: var(--accent-2);
  margin-bottom: 16px;
}
.why-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.why-item p {
  color: var(--muted);
  font-size: 14.5px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
}
.stat {
  text-align: center;
}
.stat .num {
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  background: linear-gradient(180deg, #cfeaff, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
}
.stat .lbl {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

/* ---------- recent work / horizontal carousel ---------- */
.work-carousel {
  position: relative;
  margin-top: 56px;
}
.work-rail {
  position: relative;
}
.work-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 2px 22px;
  touch-action: pan-x pan-y;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.work-track::-webkit-scrollbar {
  display: none;
}
.work-slide {
  flex: 0 0 clamp(290px, 40vw, 430px);
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(135, 190, 255, 0.05),
    rgba(135, 190, 255, 0.015)
  );
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s,
    box-shadow 0.35s;
  display: flex;
  flex-direction: column;
}
@media (hover: hover) {
  .work-slide:hover {
    transform: translateY(-5px);
    border-color: var(--line-2);
    box-shadow: 0 26px 64px -34px var(--glow);
  }
  .work-slide:hover .work-img img {
    transform: scale(1.05);
  }
}
.work-img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: rgba(8, 16, 30, 0.6);
  border-bottom: 1px solid var(--line);
}
.work-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.work-img::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 7, 15, 0.45));
}
.work-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.work-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 12px;
}
.work-meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--faint);
}
.work-meta span:last-child {
  color: var(--muted);
}
.work-slide h3 {
  font-size: 20px;
  margin-bottom: 9px;
  letter-spacing: -0.01em;
}
.work-slide p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}
.work-nav {
  position: absolute;
  top: calc(50% - 40px);
  transform: translateY(-50%);
  z-index: 5;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  cursor: pointer;
  background: rgba(6, 12, 24, 0.72);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px -16px rgba(0, 0, 0, 0.8);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s, opacity 0.25s;
}
.work-nav:hover {
  border-color: var(--accent);
  box-shadow: 0 14px 40px -12px var(--glow);
  transform: translateY(-50%) scale(1.06);
}
.work-nav svg {
  width: 22px;
  height: 22px;
}
.work-nav.prev {
  left: max(-150px, calc((var(--maxw) - 100vw) / 2 + 12px));
}
.work-nav.next {
  right: max(-150px, calc((var(--maxw) - 100vw) / 2 + 12px));
}
.work-nav[disabled] {
  opacity: 0;
  pointer-events: none;
}
.work-dots {
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
}
.work-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(120, 190, 255, 0.28);
  cursor: pointer;
  transition: 0.25s;
}
.work-dots i.on {
  background: var(--accent-2);
  width: 22px;
  border-radius: 4px;
  box-shadow: 0 0 12px var(--glow);
}
@media (max-width: 560px) {
  .work-slide {
    flex-basis: 80vw;
  }
  .work-nav {
    display: none;
  }
}

/* ---------- reviews (redesigned) ---------- */
.rev-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 24px;
  margin-top: 60px;
  align-items: stretch;
}

/* rating summary panel */
.rev-summary {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: 34px;
  background: linear-gradient(
    180deg,
    rgba(135, 190, 255, 0.06),
    rgba(135, 190, 255, 0.015)
  );
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.rev-summary::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    120% 80% at 50% -10%,
    rgba(46, 163, 255, 0.12),
    transparent 60%
  );
}
.rev-g-row {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.rev-g {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}
.rev-score {
  font-family: var(--display);
  font-weight: 700;
  font-size: 52px;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #eaf6ff, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rev-summary .stars {
  color: #ffd25e;
  letter-spacing: 3px;
  font-size: 18px;
  margin-top: 6px;
}
.stars-frac {
  position: relative;
  display: inline-block;
  font-size: 18px;
  letter-spacing: 3px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.16);
  margin-top: 8px;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.16);
}
.stars-frac::before {
  content: "★★★★★";
  position: absolute;
  left: 0;
  top: 0;
  width: var(--pct, 100%);
  overflow: hidden;
  white-space: nowrap;
  color: #ffd25e;
  -webkit-text-fill-color: #ffd25e;
}
.rev-source {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 16px;
}
.rev-meta {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 14px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.rev-meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.rev-meta-item b {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}
.rev-meta-item span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}
.rev-actions {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.rev-actions .btn {
  width: 100%;
}
.rev-readall {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--accent-2);
  font-weight: 500;
}
.rev-readall svg {
  width: 14px;
  height: 14px;
}
.rev-readall:hover {
  color: var(--ink);
}

/* rotating testimonial stage */
.rev-stage {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel);
  padding: 40px 42px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.rev-quote-mark {
  position: absolute;
  top: 8px;
  right: 34px;
  font-family: var(--display);
  font-size: 140px;
  line-height: 1;
  color: var(--line-2);
  pointer-events: none;
}
.rev-cards {
  position: relative;
  flex: 1;
  min-height: 1px;
}
.rev-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0.6s;
}
.rev-card.active {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.rev-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(4, 7, 15, 0.4);
}
.rev-badge svg {
  width: 16px;
  height: 16px;
}
.rev-stage .stars {
  color: #ffd25e;
  letter-spacing: 3px;
  font-size: 18px;
  margin: 20px 0 16px;
}
.rev-text {
  position: relative;
  z-index: 1;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.rev-author {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: auto;
  padding-top: 26px;
}
.rev-author .av {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 600;
  color: #031021;
  font-size: 16px;
}
.rev-author b {
  display: block;
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.3;
}
.rev-author span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.06em;
}
.rev-dots {
  display: flex;
  gap: 9px;
  margin-top: 24px;
}
.rev-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(120, 190, 255, 0.28);
  cursor: pointer;
  transition: 0.25s;
}
.rev-dots i.on {
  background: var(--accent-2);
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 12px var(--glow);
}

/* ---------- developer band (distinct violet accent) ---------- */
#developer {
  --dev: #8b7bff;
  --dev-2: #b3a6ff;
  --dev-3: #6366f1;
}
.dev-band {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  border: 1px solid rgba(150, 140, 255, 0.22);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 52px);
  overflow: hidden;
  background: radial-gradient(
      120% 130% at 88% 10%,
      rgba(139, 123, 255, 0.14),
      transparent 55%
    ),
    linear-gradient(
      180deg,
      rgba(139, 123, 255, 0.06),
      rgba(99, 102, 241, 0.025)
    );
}
.dev-glow {
  position: absolute;
  right: -10%;
  top: -30%;
  width: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(139, 123, 255, 0.28),
    transparent 62%
  );
  filter: blur(20px);
}
.dev-left {
  position: relative;
  z-index: 1;
}
.dev-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dev-2);
  margin-bottom: 20px;
}
.dev-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dev);
  box-shadow: 0 0 12px var(--dev);
}
.dev-title {
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.dev-grad {
  background: linear-gradient(100deg, #d8d2ff, var(--dev) 60%, var(--dev-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dev-sub {
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 17.5px);
  margin-top: 20px;
  max-width: 52ch;
  line-height: 1.6;
}
.dev-sub b {
  color: var(--ink);
  font-weight: 600;
}
.dev-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}
.dev-skills span {
  font-size: 13px;
  color: var(--dev-2);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(150, 140, 255, 0.24);
  background: rgba(139, 123, 255, 0.08);
}
.dev-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 32px;
}
.dev-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15.5px;
  color: #0a0820;
  padding: 15px 28px;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(180deg, #c4baff, #8b7bff);
  box-shadow: 0 10px 30px -8px rgba(139, 123, 255, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.25s, box-shadow 0.25s;
}
.dev-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -10px rgba(139, 123, 255, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.dev-btn svg {
  width: 18px;
  height: 18px;
}
.dev-portfolio {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--dev-2);
}
.dev-portfolio svg {
  width: 17px;
  height: 17px;
}
.dev-portfolio:hover {
  color: var(--ink);
}

/* code-window motif */
.dev-visual {
  position: relative;
  z-index: 1;
}
.dev-code {
  border: 1px solid rgba(150, 140, 255, 0.22);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(8, 10, 24, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(139, 123, 255, 0.06);
}
.dev-code-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(150, 140, 255, 0.14);
  background: rgba(139, 123, 255, 0.06);
}
.dev-code-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.dev-code-bar i:nth-child(1) {
  background: #ff5f57;
}
.dev-code-bar i:nth-child(2) {
  background: #febc2e;
}
.dev-code-bar i:nth-child(3) {
  background: #28c840;
}
.dev-code-bar span {
  margin-left: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
}
.dev-code-body {
  margin: 0;
  padding: 22px 22px 26px;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.85;
  color: #cdd6f4;
  white-space: pre;
  overflow-x: auto;
}
.dev-code-body .ln {
  display: block;
}
.dev-code-body .c-key {
  color: #b3a6ff;
}
.dev-code-body .c-var {
  color: #7fd4ff;
}
.dev-code-body .c-str {
  color: #9ae6b4;
}
.dev-code-body .c-bool {
  color: #ffb86c;
}
.dev-code-body .c-fn {
  color: #f3a6ff;
}
.dev-code-body .c-com {
  color: #5d6b8a;
}
.dev-caret {
  display: inline-block;
  width: 8px;
  height: 15px;
  margin-left: 4px;
  vertical-align: -2px;
  background: var(--dev-2);
  animation: devBlink 1.1s steps(1) infinite;
}
@keyframes devBlink {
  50% {
    opacity: 0;
  }
}

/* ---------- contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: start;
}
.contact-info .row {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.contact-info .row:first-of-type {
  border-top: 1px solid var(--line);
}
.contact-info .ci {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 11px;
  border: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
  background: rgba(46, 163, 255, 0.06);
}
.contact-info .ci svg {
  width: 19px;
  height: 19px;
}
.contact-info .row b {
  font-size: 16px;
  display: block;
}
.contact-info .row a,
.contact-info .row span {
  color: var(--muted);
  font-size: 15px;
}
.contact-info .row a:hover {
  color: var(--accent-2);
}
.senior {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: linear-gradient(100deg, rgba(46, 163, 255, 0.08), transparent);
  font-size: 14.5px;
  color: var(--muted);
  display: flex;
  gap: 12px;
  align-items: center;
}
.senior svg {
  width: 24px;
  height: 24px;
  color: var(--accent-2);
  flex-shrink: 0;
}

.form {
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: 34px;
  background: linear-gradient(
    180deg,
    rgba(135, 190, 255, 0.05),
    rgba(135, 190, 255, 0.015)
  );
  position: relative;
  overflow: hidden;
}
.form h3 {
  font-size: 23px;
  margin-bottom: 6px;
}
.form .fdesc {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 24px;
}
.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(4, 7, 15, 0.6);
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  padding: 13px 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #56698a;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--glow-soft);
}
.field textarea {
  resize: vertical;
  min-height: 96px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form .btn {
  width: 100%;
  margin-top: 8px;
}
.form-success {
  position: absolute;
  inset: 0;
  background: rgba(6, 12, 24, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  gap: 16px;
}
.form-success.show {
  display: flex;
}
.form-success .check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent-2);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, var(--glow-soft), transparent);
}
.form-success .check svg {
  width: 32px;
  height: 32px;
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}
.footer p {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 38ch;
  margin-top: 16px;
}
.footer h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 18px;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer ul a {
  color: var(--muted);
  font-size: 14.5px;
  transition: color 0.2s;
}
.footer ul a:hover {
  color: var(--accent-2);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 54px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--faint);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

/* ---------- chat widget ---------- */
.chat-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 14px 16px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #7fdcff, #2ea3ff);
  color: #031021;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 14px 40px -10px var(--glow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.chat-fab:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 50px -10px var(--glow);
}
.chat-fab svg {
  width: 21px;
  height: 21px;
}
.chat-fab .pulse {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3ee68a;
  box-shadow: 0 0 0 0 rgba(62, 230, 138, 0.6);
  animation: cpulse 2s infinite;
}
@keyframes cpulse {
  70% {
    box-shadow: 0 0 0 10px rgba(62, 230, 138, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(62, 230, 138, 0);
  }
}
.chat-panel {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 61;
  width: min(390px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 48px));
  border-radius: 20px;
  border: 1px solid var(--line-2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: rgba(6, 11, 22, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8);
  transform: translateY(20px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s;
  transform-origin: bottom right;
}
.chat-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(46, 163, 255, 0.1), transparent);
}
.chat-head .av {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #031021;
}
.chat-head .av svg {
  width: 22px;
  height: 22px;
}
.chat-head b {
  font-size: 15.5px;
  display: block;
}
.chat-head span {
  font-family: var(--mono);
  font-size: 11px;
  color: #3ee68a;
  display: flex;
  align-items: center;
  gap: 6px;
}
.chat-head span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3ee68a;
  box-shadow: 0 0 8px #3ee68a;
}
.chat-close {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.chat-close:hover {
  background: var(--panel-2);
  color: var(--ink);
}
.chat-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.msg {
  max-width: 84%;
  padding: 12px 15px;
  border-radius: 15px;
  font-size: 14.5px;
  line-height: 1.5;
}
.msg.bot {
  align-self: flex-start;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  color: var(--ink);
}
.msg.user {
  align-self: flex-end;
  background: linear-gradient(180deg, #3aabff, #2079e6);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-suggest {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 20px 14px;
}
.chat-suggest button {
  font-size: 12.5px;
  color: var(--accent-2);
  border: 1px solid var(--line-2);
  background: rgba(46, 163, 255, 0.05);
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s;
  font-family: var(--body);
}
.chat-suggest button:hover {
  background: rgba(46, 163, 255, 0.14);
  color: var(--ink);
}
.chat-lead {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  margin: 2px 0;
  background: var(--panel-2);
  border: 1px solid var(--line-2);
  border-radius: 14px;
}
.chat-lead input,
.chat-lead textarea {
  background: rgba(4, 7, 15, 0.6);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 14px;
  padding: 10px 12px;
  width: 100%;
  resize: vertical;
}
.chat-lead input::placeholder,
.chat-lead textarea::placeholder {
  color: #56698a;
}
.chat-lead input:focus,
.chat-lead textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--glow-soft);
}
.chat-lead button {
  margin-top: 2px;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  padding: 11px 14px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 14px;
  color: #031021;
  background: linear-gradient(180deg, #7fdcff, #2ea3ff);
  transition: transform 0.2s, opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.chat-lead button svg {
  width: 16px;
  height: 16px;
}
.chat-lead button:hover {
  transform: translateY(-1px);
}
.chat-lead button:disabled {
  opacity: 0.5;
  cursor: default;
  transform: none;
}
.chat-input {
  display: flex;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--line);
}
.chat-input input {
  flex: 1;
  background: rgba(4, 7, 15, 0.6);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 14.5px;
  padding: 12px 14px;
}
.chat-input input:focus {
  outline: none;
  border-color: var(--accent);
}
.chat-input button {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  background: linear-gradient(180deg, #7fdcff, #2ea3ff);
  color: #031021;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-input button:disabled {
  opacity: 0.4;
  cursor: default;
}
.chat-input button svg {
  width: 20px;
  height: 20px;
}
.typing {
  display: flex;
  gap: 5px;
  align-self: flex-start;
  padding: 14px 16px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 15px;
  border-bottom-left-radius: 4px;
}
.typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  animation: typ 1.2s infinite;
}
.typing i:nth-child(2) {
  animation-delay: 0.2s;
}
.typing i:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes typ {
  0%,
  60%,
  100% {
    opacity: 0.25;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal.d1 {
  transition-delay: 0.08s;
}
.reveal.d2 {
  transition-delay: 0.16s;
}
.reveal.d3 {
  transition-delay: 0.24s;
}
.reveal.d4 {
  transition-delay: 0.32s;
}
.reveal.d5 {
  transition-delay: 0.4s;
}
.reveal.d6 {
  transition-delay: 0.48s;
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hud-chip {
    display: none;
  }
}
@media (max-width: 1000px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .step:nth-child(2) {
    border-right: none;
  }
  .step {
    border-bottom: 1px solid var(--line);
  }
  .why {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews {
    grid-template-columns: 1fr;
  }
  .rev-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .rev-stage {
    min-height: 300px;
  }
  .dev-band {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cov {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 18px;
  }
}
@media (max-width: 1340px) {
  .nav-phone {
    display: none;
  }
}
@media (max-width: 1180px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-cta {
    margin-left: auto;
  }
}
@media (max-width: 980px) {
  .nav-links {
    display: none;
  }
  .nav-phone {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-cta {
    margin-left: auto;
  }
}
@media (max-width: 780px) {
  .contact {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .step .connector {
    display: none;
  }
  .hero::before {
    background: linear-gradient(
      180deg,
      var(--bg) 0%,
      rgba(4, 7, 15, 0.85) 40%,
      rgba(4, 7, 15, 0.45) 70%,
      transparent 100%
    );
  }
  .scroll-cue {
    display: none;
  }
  .hero-trust {
    gap: 8px 14px;
    margin-top: 30px;
  }
  .hero-trust > span:nth-child(n + 3) {
    display: none;
  }
}
@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .svc-grid {
    grid-template-columns: 1fr;
  }
  .rev-stage {
    padding: 30px 26px;
    min-height: 360px;
  }
  .rev-quote-mark {
    font-size: 100px;
    right: 20px;
  }
  .rev-summary {
    padding: 28px;
  }
  .dev-code-body {
    font-size: 12px;
  }
  .why {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .step {
    border-right: none;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .nav-cta .btn {
    display: none;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn {
    width: 100%;
  }
  .chat-fab span {
    display: none;
  }
  .chat-fab {
    padding: 16px;
  }
}
