/* =========================================================================
   STROJAN — Cyber Intelligence
   Retro-futuristic design system · neon on dark
   ========================================================================= */

/* ------------------------------- TOKENS -------------------------------- */
:root {
  /* Core neon palette */
  --neon:        #39ff88;
  --neon-dim:    #21c765;
  --neon-deep:   #0d7a3e;
  --cyan:        #00e5ff;
  --magenta:     #ff2fd0;
  --amber:       #ffb020;

  /* Surfaces */
  --bg:          #04070a;
  --bg-2:        #060b09;
  --panel:       rgba(10, 18, 14, .72);
  --panel-solid: #0a120e;
  --line:        rgba(57, 255, 136, .18);
  --line-strong: rgba(57, 255, 136, .42);

  /* Text */
  --text:        #dff3e4;
  --text-dim:    #8fb3a0;
  --text-mute:   #5f7d6d;
  --ink:         #02160b;

  /* Type */
  --f-display: 'Orbitron', 'Segoe UI', sans-serif;
  --f-body:    'Rajdhani', 'Segoe UI', system-ui, sans-serif;
  --f-mono:    'JetBrains Mono', 'Consolas', monospace;

  /* Layout */
  --wrap:   1200px;
  --gutter: 22px;
  --nav-h:  76px;

  /* Motion */
  --ease:  cubic-bezier(.22, 1, .36, 1);
  --snap:  cubic-bezier(.16, 1, .3, 1);

  /* Glow */
  --glow-sm: 0 0 12px rgba(57, 255, 136, .35);
  --glow-md: 0 0 28px rgba(57, 255, 136, .28);
  --glow-lg: 0 0 60px rgba(57, 255, 136, .22);
}

/* ------------------------------- RESET --------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-body);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.72;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }

::selection { background: var(--neon); color: var(--ink); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #03060a; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--neon-deep), var(--neon-dim));
  border-radius: 10px;
  border: 2px solid #03060a;
}
::-webkit-scrollbar-thumb:hover { background: var(--neon); }

/* ------------------------- GLOBAL BACKDROPS ---------------------------- */

/* Matrix rain canvas */
#matrix {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: .5;
  pointer-events: none;
}

/* Ambient colour wash + scanlines */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 12% -5%,  rgba(57, 255, 136, .13), transparent 60%),
    radial-gradient(800px 500px at 92% 8%,   rgba(0, 229, 255, .10),  transparent 60%),
    radial-gradient(900px 700px at 50% 108%, rgba(255, 47, 208, .06), transparent 60%);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .35;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0px,
    rgba(0, 0, 0, 0) 2px,
    rgba(0, 0, 0, .28) 3px,
    rgba(0, 0, 0, .28) 4px
  );
  mix-blend-mode: multiply;
}

/* Everything sits above the backdrops */
.page { position: relative; z-index: 3; }

/* ------------------------------ LAYOUT --------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { position: relative; }

.sect { padding: clamp(70px, 9vw, 120px) 0; }
.sect--tight { padding: clamp(52px, 6vw, 80px) 0; }

.sect-line {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(57, 255, 136, .035), transparent 40%);
}

/* ------------------------------ TYPOGRAPHY ----------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.01em;
  color: #f2fff5;
}

h1 { font-size: clamp(2.1rem, 5.6vw, 4rem); letter-spacing: 1px; }
h2 { font-size: clamp(1.7rem, 3.7vw, 2.7rem); }
h3 { font-size: clamp(1.12rem, 1.9vw, 1.4rem); letter-spacing: .3px; }

p { color: var(--text-dim); }
strong { color: #eaffef; font-weight: 700; }

.lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--text-dim); }

.hl { color: var(--neon); text-shadow: 0 0 26px rgba(57, 255, 136, .45); }

.mono {
  font-family: var(--f-mono);
  font-size: .78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Section heading block */
.sect-head { max-width: 760px; margin-bottom: clamp(38px, 5vw, 60px); }
.sect-head.center { margin-inline: auto; text-align: center; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 16px;
}
.kicker::before {
  content: '';
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon));
}
.sect-head.center .kicker::after {
  content: '';
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--neon), transparent);
}
.kicker svg { width: 15px; height: 15px; }

.sect-head p { margin-top: 16px; font-size: 1.04rem; }

/* ------------------------------ BUTTONS -------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--f-display);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  background: none;
  overflow: hidden;
  transition: transform .35s var(--snap), box-shadow .35s var(--ease), color .3s, border-color .3s;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  white-space: nowrap;
}

.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primary {
  background: linear-gradient(135deg, var(--neon), #14cf70);
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(57, 255, 136, .28);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 46px rgba(57, 255, 136, .48);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--neon);
  background: rgba(57, 255, 136, .05);
}
.btn--ghost:hover {
  border-color: var(--neon);
  background: rgba(57, 255, 136, .13);
  transform: translateY(-3px);
  box-shadow: var(--glow-md);
}

.btn--wa {
  background: linear-gradient(135deg, #25d366, #128c4a);
  color: #04170c;
  box-shadow: 0 8px 30px rgba(37, 211, 102, .3);
}
.btn--wa:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(37, 211, 102, .45); }

.btn--sm { padding: 11px 20px; font-size: .72rem; }
.btn--block { width: 100%; }

/* Sheen sweep */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .32), transparent);
  transition: left .7s var(--ease);
}
.btn:hover::after { left: 130%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ------------------------------ PANELS --------------------------------- */
.panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  transition: border-color .4s var(--ease), transform .5s var(--snap), box-shadow .5s var(--ease);
}

.panel:hover { border-color: var(--line-strong); }

/* Corner brackets */
.brackets::before,
.brackets::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--neon);
  opacity: .55;
  transition: opacity .35s, width .35s var(--ease), height .35s var(--ease);
  pointer-events: none;
}
.brackets::before { top: 10px;    right: 10px;  border-left: 0; border-bottom: 0; }
.brackets::after  { bottom: 10px; left: 10px;   border-right: 0; border-top: 0; }
.brackets:hover::before,
.brackets:hover::after { opacity: 1; width: 24px; height: 24px; }

/* ------------------------------ PRELOADER ------------------------------ */
#boot {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #03060a;
  transition: opacity .6s var(--ease), visibility .6s;
}
#boot.done { opacity: 0; visibility: hidden; }

.boot-inner { width: min(420px, 86vw); text-align: left; }

.boot-logo {
  width: 74px;
  margin: 0 auto 22px;
  filter: drop-shadow(0 0 22px var(--neon));
  animation: bootPulse 1.6s ease-in-out infinite;
}
@keyframes bootPulse {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(1.07); opacity: .72; }
}

.boot-log {
  font-family: var(--f-mono);
  font-size: .74rem;
  line-height: 2;
  color: var(--neon-dim);
  min-height: 108px;
}
.boot-log b { color: var(--neon); font-weight: 400; }

.boot-bar {
  height: 3px;
  margin-top: 18px;
  background: rgba(57, 255, 136, .14);
  overflow: hidden;
}
.boot-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--neon-deep), var(--neon), var(--cyan));
  box-shadow: var(--glow-sm);
  transition: width .25s linear;
}

/* --------------------------- SCROLL PROGRESS --------------------------- */
#progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 1200;
  background: linear-gradient(90deg, var(--neon), var(--cyan), var(--magenta));
  box-shadow: 0 0 14px rgba(57, 255, 136, .8);
}

/* ---------------------------- CURSOR GLOW ------------------------------ */
#cursor {
  position: fixed;
  top: 0; left: 0;
  width: 320px; height: 320px;
  margin: -160px 0 0 -160px;
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(57, 255, 136, .10), transparent 62%);
  transition: opacity .4s;
}
@media (hover: hover) and (pointer: fine) { #cursor { opacity: 1; } }

/* ------------------------------- HEADER -------------------------------- */
.site-head {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1100;
  transition: background .4s var(--ease), border-color .4s, box-shadow .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-head.stuck {
  background: rgba(4, 8, 6, .86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .55);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img {
  width: 40px;
  filter: drop-shadow(0 0 12px var(--neon));
  transition: transform .5s var(--snap);
}
.brand:hover img { transform: rotate(-8deg) scale(1.08); }

.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--f-display);
  font-size: 1.16rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--neon);
}
.brand-sub {
  font-family: var(--f-mono);
  font-size: .53rem;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 2px;
}

.nav-links { display: flex; align-items: center; gap: 4px; }

.nav-links a {
  position: relative;
  padding: 9px 15px;
  font-size: .93rem;
  font-weight: 600;
  letter-spacing: .6px;
  color: var(--text-dim);
  text-transform: uppercase;
  transition: color .3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 15px; right: 15px; bottom: 2px;
  height: 1px;
  background: var(--neon);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
  box-shadow: var(--glow-sm);
}
.nav-links a:hover,
.nav-links a.active { color: var(--neon); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 12px; flex: none; }

/* The in-drawer call-to-action block belongs to the mobile menu only.
   Without this it renders as a flex item in the desktop nav and overlaps
   the header. It is switched back on inside the max-width:900px query. */
.nav-links .m-cta { display: none; }

/* Burger */
.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  background: rgba(57, 255, 136, .06);
  cursor: pointer;
  position: relative;
  flex: none;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.burger span {
  position: absolute;
  left: 12px;
  width: 20px; height: 2px;
  background: var(--neon);
  transition: transform .4s var(--snap), opacity .25s, width .3s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; width: 14px; }
.burger span:nth-child(3) { top: 27px; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); width: 20px; }

/* Mobile drawer */
.drawer-mask {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(2, 5, 4, .72);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.drawer-mask.open { opacity: 1; visibility: visible; }

/* ------------------------------- HERO ---------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 0 70px;
  overflow: hidden;
}

/* Perspective grid floor */
.grid-floor {
  position: absolute;
  left: 50%;
  bottom: -6%;
  width: 260%;
  height: 62%;
  transform: translateX(-50%) perspective(340px) rotateX(62deg);
  transform-origin: bottom center;
  pointer-events: none;
  opacity: .3;
  background-image:
    linear-gradient(to right,  rgba(57, 255, 136, .32) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(57, 255, 136, .32) 1px, transparent 1px);
  background-size: 62px 62px;
  animation: gridRun 3.2s linear infinite;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 78%);
          mask-image: linear-gradient(to top, #000 0%, transparent 78%);
}
@keyframes gridRun { to { background-position: 0 62px; } }

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  margin-bottom: 24px;
  border: 1px solid var(--line-strong);
  background: rgba(57, 255, 136, .07);
  font-family: var(--f-mono);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: 2.4px;
  color: var(--neon);
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}

.dot-live {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 0 rgba(57, 255, 136, .7);
  animation: livePing 1.9s infinite;
  flex: none;
}
@keyframes livePing {
  0%   { box-shadow: 0 0 0 0 rgba(57, 255, 136, .7); }
  70%  { box-shadow: 0 0 0 9px rgba(57, 255, 136, 0); }
  100% { box-shadow: 0 0 0 0 rgba(57, 255, 136, 0); }
}

.hero h1 { margin-bottom: 8px; }
.hero h1 span { display: block; }

/* Typewriter line */
.type-line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  margin: 18px 0 20px;
  font-family: var(--f-mono);
  font-size: clamp(.8rem, 1.5vw, .95rem);
  letter-spacing: 1px;
  color: var(--cyan);
}
.type-line .prompt { color: var(--neon); opacity: .8; }
.type-line .caret {
  display: inline-block;
  width: 9px; height: 1.05em;
  background: var(--cyan);
  animation: caretBlink 1s steps(2) infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }

.hero-text { max-width: 560px; margin-bottom: 32px; font-size: 1.06rem; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: .68rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-mute);
}
.hero-trust svg { width: 14px; height: 14px; color: var(--neon); flex: none; }

/* Hero terminal card */
.hero-visual { position: relative; }

.term {
  position: relative;
  background: rgba(5, 10, 8, .9);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .65), var(--glow-lg);
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
  transform-style: preserve-3d;
  will-change: transform;
}

.term-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(57, 255, 136, .045);
}
.term-bar i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #2a3a30;
  flex: none;
}
.term-bar i:nth-child(1) { background: #ff5f57; }
.term-bar i:nth-child(2) { background: #ffbd2e; }
.term-bar i:nth-child(3) { background: var(--neon); }
.term-bar span {
  margin-left: 8px;
  font-family: var(--f-mono);
  font-size: .66rem;
  letter-spacing: 1.4px;
  color: var(--text-mute);
}

.term-body {
  padding: 20px 20px 24px;
  font-family: var(--f-mono);
  font-size: .74rem;
  line-height: 2.05;
  color: var(--text-dim);
  min-height: 232px;
}
.term-body .ln { display: block; opacity: 0; animation: lnIn .35s var(--ease) forwards; }
@keyframes lnIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.term-body .c-g { color: var(--neon); }
.term-body .c-c { color: var(--cyan); }
.term-body .c-a { color: var(--amber); }
.term-body .c-m { color: var(--text-mute); }

.term-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  background: rgba(57, 255, 136, .04);
  font-family: var(--f-mono);
  font-size: .64rem;
  letter-spacing: 1.4px;
  color: var(--text-mute);
}
.term-foot b { color: var(--neon); font-weight: 500; }

/* Floating chips around terminal */
.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: rgba(6, 14, 10, .92);
  border: 1px solid var(--line-strong);
  font-family: var(--f-mono);
  font-size: .62rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--neon);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .5);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  animation: floatY 5s ease-in-out infinite;
}
.chip svg { width: 14px; height: 14px; flex: none; }
.chip--tl { top: -18px;    left: -22px; }
.chip--br { bottom: -20px; right: -18px; animation-delay: 1.6s; color: var(--cyan); border-color: rgba(0, 229, 255, .4); }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-13px); }
}

/* ------------------------------ GLITCH --------------------------------- */
.glitch { position: relative; display: inline-block; }
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  clip-path: inset(0 0 100% 0);
}
.glitch::before { color: var(--magenta); transform: translate(-2px, 0); animation: gl1 4.4s steps(2, end) infinite; }
.glitch::after  { color: var(--cyan);    transform: translate(2px, 0);  animation: gl2 5.1s steps(2, end) infinite; }

@keyframes gl1 {
  0%, 92%, 100% { clip-path: inset(0 0 100% 0); }
  93% { clip-path: inset(12% 0 62% 0); }
  95% { clip-path: inset(48% 0 22% 0); }
  97% { clip-path: inset(72% 0 8% 0); }
}
@keyframes gl2 {
  0%, 88%, 100% { clip-path: inset(0 0 100% 0); }
  89% { clip-path: inset(66% 0 14% 0); }
  92% { clip-path: inset(22% 0 58% 0); }
  95% { clip-path: inset(5% 0 82% 0); }
}

/* ------------------------------ MARQUEE -------------------------------- */
.ticker {
  border-block: 1px solid var(--line);
  background: rgba(57, 255, 136, .04);
  overflow: hidden;
  padding: 15px 0;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: tick 34s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 28px;
  font-family: var(--f-mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-mute);
  white-space: nowrap;
}
.ticker-track span::after {
  content: '';
  width: 5px; height: 5px;
  background: var(--neon);
  transform: rotate(45deg);
  box-shadow: var(--glow-sm);
}

/* ------------------------------ STATS ---------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.stat {
  padding: 34px 24px;
  text-align: center;
  background: var(--bg-2);
  transition: background .4s;
}
.stat:hover { background: rgba(57, 255, 136, .06); }
.stat b {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  font-weight: 900;
  color: var(--neon);
  text-shadow: 0 0 34px rgba(57, 255, 136, .4);
  line-height: 1;
}
.stat small {
  display: block;
  margin-top: 12px;
  font-family: var(--f-mono);
  font-size: .66rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* ----------------------------- CARD GRIDS ------------------------------ */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 24px; }

/* Service card */
.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 32px;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}
.svc::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(57, 255, 136, .13), transparent 62%);
  opacity: 0;
  transition: opacity .45s;
  pointer-events: none;
}
.svc:hover::before { opacity: 1; }
.svc:hover { transform: translateY(-8px); box-shadow: 0 26px 60px rgba(0, 0, 0, .55), var(--glow-md); }

.svc-ico {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid var(--line-strong);
  background: rgba(57, 255, 136, .08);
  color: var(--neon);
  flex: none;
  clip-path: polygon(11px 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%, 0 11px);
  transition: background .4s, transform .5s var(--snap), box-shadow .4s;
}
.svc-ico svg { width: 26px; height: 26px; }
.svc:hover .svc-ico {
  background: var(--neon);
  color: var(--ink);
  transform: rotate(-6deg) scale(1.06);
  box-shadow: var(--glow-md);
}

.svc h3 { margin-bottom: 12px; transition: color .3s; }
.svc:hover h3 { color: var(--neon); }
.svc p { font-size: .98rem; flex: 1; }

.svc-more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  font-family: var(--f-mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--neon);
}
.svc-more svg { width: 15px; height: 15px; transition: transform .35s var(--snap); }
.svc:hover .svc-more svg { transform: translateX(6px); }

.svc-num {
  position: absolute;
  top: 18px; right: 22px;
  font-family: var(--f-display);
  font-size: 2.6rem;
  font-weight: 900;
  color: rgba(57, 255, 136, .07);
  line-height: 1;
  pointer-events: none;
  transition: color .4s;
}
.svc:hover .svc-num { color: rgba(57, 255, 136, .14); }

/* Feature card */
.feat { padding: 28px 26px; display: flex; gap: 18px; align-items: flex-start; }
.feat:hover { transform: translateY(-5px); box-shadow: 0 20px 46px rgba(0, 0, 0, .45); }
.feat-ico {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid var(--line-strong);
  background: rgba(57, 255, 136, .07);
  color: var(--neon);
  border-radius: 50%;
  transition: background .4s, color .4s, transform .5s var(--snap);
}
.feat-ico svg { width: 21px; height: 21px; }
.feat:hover .feat-ico { background: var(--neon); color: var(--ink); transform: scale(1.09); }
.feat h3 { font-size: 1.02rem; margin-bottom: 8px; }
.feat p { font-size: .95rem; line-height: 1.65; }

/* ------------------------------ ABOUT ---------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}

.about-media { position: relative; }
.about-media .frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6);
}
.about-media img {
  width: 100%;
  filter: saturate(1.15) contrast(1.05);
  transition: transform .9s var(--ease);
}
.about-media:hover img { transform: scale(1.05); }
.about-media .frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(4, 7, 10, .85));
  pointer-events: none;
}

.about-badge {
  position: absolute;
  right: -14px;
  bottom: -18px;
  padding: 18px 24px;
  background: rgba(6, 14, 10, .95);
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .6);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  text-align: center;
}
.about-badge b {
  display: block;
  font-family: var(--f-display);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--neon);
  line-height: 1;
}
.about-badge small {
  display: block;
  margin-top: 7px;
  font-family: var(--f-mono);
  font-size: .58rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text-mute);
}

.check-list { display: grid; gap: 14px; margin-top: 28px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 1rem;
  color: var(--text-dim);
}
.check-list svg { width: 20px; height: 20px; color: var(--neon); flex: none; margin-top: 3px; }

/* ------------------------------ PROCESS -------------------------------- */
.steps { position: relative; display: grid; gap: 0; }
.steps::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-strong), var(--line-strong), transparent);
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 22px 0;
}
.step-no {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-size: 1.02rem;
  font-weight: 900;
  color: var(--neon);
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  position: relative;
  z-index: 2;
  transition: background .4s, color .4s, box-shadow .4s, transform .5s var(--snap);
}
.step:hover .step-no {
  background: var(--neon);
  color: var(--ink);
  box-shadow: var(--glow-md);
  transform: scale(1.08);
}
.step h3 { margin-bottom: 8px; transition: color .3s; }
.step:hover h3 { color: var(--neon); }
.step p { font-size: .99rem; max-width: 640px; }

/* --------------------------- TESTIMONIALS ------------------------------ */
.quotes {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 18px;
  scrollbar-width: thin;
}
.quote {
  flex: 0 0 min(430px, 84vw);
  scroll-snap-align: start;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}
.quote:hover { transform: translateY(-6px); }
.quote .stars { display: flex; gap: 3px; margin-bottom: 16px; color: var(--amber); }
.quote .stars svg { width: 16px; height: 16px; }
.quote p {
  flex: 1;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  font-style: italic;
}
.quote-by {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.quote-av {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  background: rgba(57, 255, 136, .1);
  border: 1px solid var(--line-strong);
  font-family: var(--f-display);
  font-size: .9rem;
  font-weight: 800;
  color: var(--neon);
}
.quote-by b { display: block; font-size: .98rem; color: #eaffef; }
.quote-by small {
  display: block;
  font-family: var(--f-mono);
  font-size: .62rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 3px;
}

.q-nav { display: flex; gap: 10px; margin-top: 22px; }
.q-nav button {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: rgba(57, 255, 136, .05);
  color: var(--neon);
  cursor: pointer;
  transition: background .3s, transform .3s;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}
.q-nav button:hover { background: var(--neon); color: var(--ink); transform: translateY(-2px); }
.q-nav svg { width: 18px; height: 18px; }

/* -------------------------------- FAQ ---------------------------------- */
.faq { display: grid; gap: 12px; max-width: 900px; margin-inline: auto; }
.faq-item { overflow: hidden; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 21px 24px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 700;
  color: #eaffef;
  transition: color .3s;
}
.faq-q:hover, .faq-item.open .faq-q { color: var(--neon); }
.faq-sign {
  width: 30px; height: 30px;
  flex: none;
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background .35s, transform .45s var(--snap);
}
.faq-sign::before, .faq-sign::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--neon);
  transform: translate(-50%, -50%);
  transition: transform .35s var(--snap), background .35s;
}
.faq-sign::before { width: 12px; height: 2px; }
.faq-sign::after  { width: 2px; height: 12px; }
.faq-item.open .faq-sign { background: var(--neon); transform: rotate(180deg); }
.faq-item.open .faq-sign::before,
.faq-item.open .faq-sign::after { background: var(--ink); }
.faq-item.open .faq-sign::after { transform: translate(-50%, -50%) scaleY(0); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq-a p { padding: 0 24px 24px; font-size: .99rem; }

/* ------------------------------- CTA BAND ------------------------------ */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 74px) clamp(26px, 5vw, 60px);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgba(57, 255, 136, .09), rgba(0, 229, 255, .05)),
    var(--panel-solid);
  clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  text-align: center;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image:
    linear-gradient(to right,  var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 72%);
          mask-image: radial-gradient(circle at 50% 50%, #000, transparent 72%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { max-width: 640px; margin: 0 auto 30px; font-size: 1.06rem; }
.cta-band .btn-row { justify-content: center; }

/* ------------------------------ CONTACT -------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(26px, 4vw, 46px);
  align-items: start;
}

.info-card { padding: 26px 24px; display: flex; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.info-card:hover { transform: translateX(5px); }
.info-ico {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid var(--line-strong);
  background: rgba(57, 255, 136, .07);
  color: var(--neon);
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  transition: background .35s, color .35s;
}
.info-ico svg { width: 20px; height: 20px; }
.info-card:hover .info-ico { background: var(--neon); color: var(--ink); }
.info-card h4 {
  font-family: var(--f-mono);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 6px;
}
.info-card p, .info-card a { font-size: 1.02rem; color: var(--text); word-break: break-word; }
.info-card a:hover { color: var(--neon); }

/* Form */
.form-card { padding: clamp(26px, 3.4vw, 40px); }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--f-mono);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
}
.field label .req { color: var(--magenta); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(2, 6, 4, .72);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  transition: border-color .3s, box-shadow .3s, background .3s;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}
.field textarea { min-height: 132px; resize: vertical; line-height: 1.6; }
.field select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2339ff88' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 17px;
  padding-right: 42px;
}
.field select option { background: #060c09; color: var(--text); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--neon);
  background: rgba(57, 255, 136, .04);
  box-shadow: 0 0 0 3px rgba(57, 255, 136, .12);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-mute); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.hp { position: absolute !important; left: -9999px !important; opacity: 0 !important; height: 0 !important; }

.form-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  font-size: .88rem;
  color: var(--text-mute);
  line-height: 1.6;
}
.form-note svg { width: 16px; height: 16px; color: var(--neon); flex: none; margin-top: 3px; }

/* Alerts */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 18px;
  margin-bottom: 22px;
  font-size: .97rem;
  line-height: 1.6;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}
.alert svg { width: 19px; height: 19px; flex: none; margin-top: 2px; }
.alert--ok  { background: rgba(57, 255, 136, .1); border: 1px solid rgba(57, 255, 136, .4); color: #b7ffd4; }
.alert--err { background: rgba(255, 60, 90, .09); border: 1px solid rgba(255, 80, 110, .4); color: #ffb9c4; }
.alert--warn{ background: rgba(255, 176, 32, .09); border: 1px solid rgba(255, 176, 32, .38); color: #ffdb9c; }

/* ------------------------------- FOOTER -------------------------------- */
.site-foot {
  position: relative;
  margin-top: 20px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(57, 255, 136, .04), transparent 40%), rgba(3, 6, 5, .8);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: clamp(28px, 4vw, 50px);
  padding: clamp(48px, 6vw, 72px) 0 40px;
}

.foot-brand .brand { margin-bottom: 18px; }
.foot-brand p { font-size: .96rem; max-width: 330px; }

.foot h5 {
  font-family: var(--f-mono);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 20px;
}
.foot ul { display: grid; gap: 11px; }
.foot ul a, .foot ul li {
  font-size: .96rem;
  color: var(--text-dim);
  transition: color .3s, transform .3s;
  display: inline-block;
}
.foot ul a:hover { color: var(--neon); transform: translateX(5px); }

.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--text-dim);
  transition: all .35s var(--ease);
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}
.socials svg { width: 17px; height: 17px; }
.socials a:hover {
  color: var(--ink);
  background: var(--neon);
  border-color: var(--neon);
  transform: translateY(-4px);
  box-shadow: var(--glow-md);
}

.foot-legal {
  padding: 20px 0 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  align-items: center;
  justify-content: space-between;
  font-size: .88rem;
  color: var(--text-mute);
}
.foot-legal a:hover { color: var(--neon); }

.foot-credit { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.foot-credit i { opacity: .4; font-style: normal; }
.credit-link {
  color: var(--neon);
  font-weight: 700;
  border-bottom: 1px solid rgba(57, 255, 136, .35);
  transition: border-color .3s, text-shadow .3s;
}
.credit-link:hover { border-bottom-color: var(--neon); text-shadow: 0 0 16px rgba(57, 255, 136, .6); }

.foot-disclaimer {
  padding: 18px 0 30px;
  font-size: .82rem;
  line-height: 1.7;
  color: #4d6659;
  border-top: 1px solid rgba(57, 255, 136, .08);
}

/* --------------------------- FLOATING ACTIONS -------------------------- */
.floaters {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.wa-float {
  position: relative;
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(140deg, #2ee06d, #128c4a);
  color: #fff;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .42);
  transition: transform .4s var(--snap), box-shadow .4s var(--ease);
  animation: waPulse 2.8s ease-in-out infinite;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.09); box-shadow: 0 14px 38px rgba(37, 211, 102, .6); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(37, 211, 102, .42), 0 0 0 0 rgba(37, 211, 102, .45); }
  60%      { box-shadow: 0 10px 30px rgba(37, 211, 102, .42), 0 0 0 15px rgba(37, 211, 102, 0); }
}

/* Back to top */
.to-top {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: rgba(6, 14, 10, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--neon);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.85);
  transition: opacity .35s var(--ease), transform .45s var(--snap), visibility .35s,
              background .3s, color .3s, box-shadow .3s;
  clip-path: polygon(11px 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%, 0 11px);
}
.to-top svg { width: 20px; height: 20px; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover {
  background: var(--neon);
  color: var(--ink);
  box-shadow: var(--glow-md);
  transform: translateY(-3px);
}

/* ------------------------------ PAGE HERO ------------------------------ */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 74px) 0 66px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .2;
  background-image:
    linear-gradient(to right,  var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 78%);
          mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 78%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); }
.page-hero p { margin-top: 16px; max-width: 660px; font-size: 1.06rem; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  font-family: var(--f-mono);
  font-size: .66rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--text-mute);
}
.crumbs a { color: var(--neon); }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { opacity: .5; }

/* --------------------------- SERVICE DETAIL ---------------------------- */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.prose p { font-size: 1.05rem; margin-bottom: 20px; line-height: 1.85; }
.prose p:last-child { margin-bottom: 0; }

.detail-img {
  margin-bottom: 32px;
  border: 1px solid var(--line-strong);
  overflow: hidden;
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
}
.detail-img img { width: 100%; }

.side-card { padding: 28px 26px; margin-bottom: 20px; position: sticky; top: calc(var(--nav-h) + 22px); }
.side-card h4 {
  font-family: var(--f-mono);
  font-size: .68rem;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 18px;
}
.side-list { display: grid; gap: 3px; }
.side-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  font-size: .95rem;
  color: var(--text-dim);
  border-left: 2px solid transparent;
  transition: all .3s;
}
.side-list a:hover, .side-list a.on {
  background: rgba(57, 255, 136, .07);
  border-left-color: var(--neon);
  color: var(--neon);
}
.side-list svg { width: 14px; height: 14px; opacity: .6; flex: none; }

/* ------------------------------- 404 ----------------------------------- */
.err-page { min-height: 82vh; display: grid; place-items: center; text-align: center; padding: 140px 20px 90px; }
.err-code {
  font-family: var(--f-display);
  font-size: clamp(5rem, 20vw, 12rem);
  font-weight: 900;
  line-height: .9;
  color: var(--neon);
  text-shadow: 0 0 70px rgba(57, 255, 136, .35);
}

/* ---------------------------- SCROLL REVEAL ----------------------------
   Hidden state is scoped to .js (set inline in <head>) so that with
   JavaScript disabled or broken the content still renders normally.      */
.js [data-rv] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
.js [data-rv="left"]  { transform: translateX(-38px); }
.js [data-rv="right"] { transform: translateX(38px); }
.js [data-rv="zoom"]  { transform: scale(.94); }
.js [data-rv].in { opacity: 1; transform: none; }

/* --------------------------- RESPONSIVE -------------------------------- */
@media (max-width: 1080px) {
  .hero-grid    { grid-template-columns: 1fr; gap: 46px; }
  .hero-visual  { max-width: 540px; }
  .about-grid   { grid-template-columns: 1fr; }
  .detail-grid  { grid-template-columns: 1fr; }
  .side-card    { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-grid    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --nav-h: 66px; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1095;
    width: min(330px, 86vw);
    height: 100svh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--nav-h) + 22px) 24px 32px;
    background: rgba(5, 10, 8, .97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--line-strong);
    box-shadow: -24px 0 60px rgba(0, 0, 0, .6);
    transform: translateX(102%);
    transition: transform .48s var(--snap);
    overflow-y: auto;
  }
  .nav-links.open { transform: none; }

  .nav-links a {
    padding: 17px 4px;
    font-size: 1.02rem;
    border-bottom: 1px solid rgba(57, 255, 136, .1);
  }
  .nav-links a::after { display: none; }
  .nav-links a.active { padding-left: 12px; border-left: 2px solid var(--neon); }

  .nav-links .m-cta { display: block; margin-top: 26px; }
  .nav-links .m-cta .btn { width: 100%; margin-bottom: 12px; }

  .burger { display: block; }
  .nav-cta .btn { display: none; }

  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 46px); }
  .chip--tl { top: -14px; left: -8px; }
  .chip--br { bottom: -14px; right: -6px; }

  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  :root { --gutter: 18px; }

  .sect { padding: 56px 0; }
  .field-row { grid-template-columns: 1fr; }
  .btn { padding: 14px 22px; font-size: .74rem; }
  .btn-row .btn { width: 100%; }

  .step { grid-template-columns: 44px 1fr; gap: 16px; }
  .step-no { width: 44px; height: 44px; font-size: .88rem; }
  .steps::before { left: 21px; }

  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-legal { flex-direction: column; align-items: flex-start; text-align: left; }

  .about-badge { right: 8px; bottom: -14px; padding: 14px 18px; }
  .about-badge b { font-size: 1.5rem; }

  .term-body { font-size: .68rem; padding: 16px 15px 20px; min-height: 210px; }
  .chip { font-size: .55rem; padding: 7px 11px; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 26px 14px; }

  .floaters { right: 16px; bottom: 16px; gap: 10px; }
  .wa-float { width: 50px; height: 50px; }
  .wa-float svg { width: 26px; height: 26px; }
  .to-top { width: 42px; height: 42px; }

  .quote { flex-basis: 88vw; padding: 24px 22px; }
  .faq-q { padding: 17px 18px; font-size: .93rem; }
  .faq-a p { padding: 0 18px 20px; }
}

/* --------------------------- REDUCED MOTION ---------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-rv] { opacity: 1 !important; transform: none !important; }
  #matrix { display: none; }
}

/* ------------------------------- PRINT --------------------------------- */
@media print {
  #matrix, #boot, #cursor, #progress, .floaters, .site-head, .burger { display: none !important; }
  body { background: #fff; color: #000; }
  body::before, body::after { display: none; }
}
