/* ==========================================================
   Детективное агентство в Казахстане
   ========================================================== */

:root {
  --bg: #090b0e;
  --bg-2: #0e1217;
  --card: #12161c;
  --line: rgba(255, 255, 255, .09);

  --gold: #d8b06a;
  --gold-hi: #f1d8a8;
  --gold-lo: #bd8d45;
  --gold-grad: linear-gradient(180deg, #f1d8a8 0%, #d9b06a 55%, #c69a52 100%);

  --cream: #f8f4eb;
  --cream-2: #efe8d9;
  --ink: #14171c;
  --muted: #5f636b;
  --muted-d: #a2a8b2;

  --radius: 14px;
  --header-h: 84px;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-script: 'Marck Script', 'Segoe Script', cursive;
  --font-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --nv: #7dff8a;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }

[hidden] { display: none !important; }

section[id] { scroll-margin-top: calc(var(--header-h) - 10px); }

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 28px;
}

/* ---------- icons ---------- */
.ic {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ic-fill { fill: currentColor; stroke: none; }

/* ---------- typography ---------- */
h2 {
  font-size: clamp(30px, 3.5vw, 50px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.01em;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow i { font-style: normal; margin-inline: .35em; opacity: .8; }

.gold {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, .tab:focus-visible, .burger:focus-visible, a:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
}

.btn-gold {
  color: #1b1408;
  background: var(--gold-grad);
  box-shadow: 0 8px 24px rgba(216, 176, 106, .22), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn-gold:hover { box-shadow: 0 12px 30px rgba(216, 176, 106, .38), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-lg { padding: 18px 28px; font-size: 16px; }

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
  background: rgba(8, 10, 13, .55);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); }

.btn-soft {
  color: #3a2a0d;
  background: #f1e0bd;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 14px;
  justify-content: space-between;
  width: 100%;
}
.btn-soft:hover { background: #ecd3a2; }

.btn__arrow { margin-left: 6px; }

/* ==========================================================
   HEADER
   ========================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.header.is-scrolled {
  background: rgba(9, 11, 14, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo img { height: 56px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.9vw, 32px);
  margin-inline: auto;
  font-size: 14px;
  font-weight: 600;
}
.nav a { color: #e9eaee; transition: color .2s; white-space: nowrap; }
.nav a:hover { color: var(--gold-hi); }
.nav__phone-m { display: none; }

.header__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  white-space: nowrap;
}
.header__phone span { display: flex; flex-direction: column; line-height: 1.25; }
.header__phone b { color: #fff; font-size: 15px; font-weight: 700; }
.header__phone small { color: var(--muted-d); font-size: 12px; }

.burger {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 50px) 0 120px;
  background: var(--bg);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 11, 14, .78) 0%, rgba(9, 11, 14, .35) 48%, rgba(9, 11, 14, 0) 70%),
    linear-gradient(180deg, rgba(9, 11, 14, .55) 0%, rgba(9, 11, 14, 0) 22%, rgba(9, 11, 14, 0) 80%, rgba(9, 11, 14, .6) 100%);
}
.hero__inner { position: relative; }

.hero .eyebrow { font-size: 12px; letter-spacing: .18em; margin-bottom: 22px; }

.hero h1 {
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -.015em;
  text-transform: uppercase;
}

.hero__lead {
  margin-top: 26px;
  max-width: 520px;
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.55;
  color: #e4e6ea;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px 34px;
  margin-top: 34px;
}
.hero__feats { display: flex; gap: 28px; }
.hero__feats li { display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 1.3; color: #e4e6ea; }
.hero__feats .ic { color: var(--gold); }

.hero__quote {
  position: absolute;
  right: 3%;
  bottom: 118px;
  font-family: var(--font-script);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.1;
  text-align: right;
  color: #f3e3c3;
  transform: rotate(-7deg);
  text-shadow: 0 2px 18px rgba(0, 0, 0, .7);
  pointer-events: none;
}

.hero__badge {
  position: absolute;
  right: 28px;
  bottom: -64px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px 16px 20px;
  border: 1px solid rgba(216, 176, 106, .45);
  border-radius: 12px;
  background: rgba(10, 12, 15, .78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 14px;
  line-height: 1.4;
  color: #e8eaee;
}
.hero__badge .ic { color: var(--gold); }
.hero__badge b { font-weight: 700; color: #fff; }

/* ---------- ночная съёмка + локатор (hero) ---------- */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--bg) url('../img/hero.webp') 70% center / cover no-repeat;
  transition: filter .5s;
}
.hero.nv .hero__bg {
  filter: grayscale(1) sepia(1) hue-rotate(70deg) saturate(2.6) brightness(1.45) contrast(1.15);
}

.nv-layer { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero:not(.nv) .nv-layer { display: none; }
.nv-noise { position: absolute; inset: -50%; opacity: .11; animation: nvnoise .35s steps(4) infinite; }
.nv-scan { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .28) 0 1px, transparent 1px 3px); }
.nv-band {
  position: absolute;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(transparent, rgba(125, 255, 138, .08), transparent);
  animation: nvband 5s linear infinite;
}
.nv-vig { position: absolute; inset: 0; box-shadow: inset 0 0 190px 30px rgba(0, 10, 0, .85); }
.nv-end { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--nv); box-shadow: 0 0 14px 1px var(--nv); }
.nv-end span {
  position: absolute;
  left: max(28px, calc((100% - 1224px) / 2));
  bottom: 10px;
  font: 600 11px var(--font-mono);
  letter-spacing: .14em;
  color: var(--nv);
  text-shadow: 0 0 6px rgba(80, 255, 100, .8);
}
.nv-layer.boot { animation: nvboot .7s; }

@keyframes nvnoise {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-5%, 3%); }
  50% { transform: translate(4%, -6%); }
  75% { transform: translate(-3%, 5%); }
  100% { transform: translate(2%, -2%); }
}
@keyframes nvband { from { top: -150px; } to { top: 100%; } }
@keyframes nvboot {
  0% { background: rgba(200, 255, 200, .9); }
  25% { background: transparent; }
  40% { background: rgba(160, 255, 160, .35); }
  100% { background: transparent; }
}
@keyframes nvblink { 0%, 100% { opacity: .15; } 40% { opacity: 1; } }
@keyframes radarspin { to { transform: rotate(360deg); } }

.nv-hud {
  position: absolute;
  z-index: 3;
  top: calc(var(--header-h) + 10px);
  left: max(28px, calc((100% - 1224px) / 2));
  right: max(28px, calc((100% - 1224px) / 2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font: 600 12px var(--font-mono);
  letter-spacing: .12em;
  color: var(--nv);
  text-shadow: 0 0 6px rgba(80, 255, 100, .7);
  pointer-events: none;
}
.nv-hud__r { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nv-toggle {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 11px;
  border: 1px solid rgba(125, 255, 138, .55);
  border-radius: 999px;
  background: rgba(6, 12, 6, .55);
  color: var(--nv);
  font: inherit;
  letter-spacing: .08em;
  text-shadow: inherit;
  transition: background .2s, border-color .2s, color .2s;
}
.nv-toggle:hover { background: rgba(20, 40, 20, .7); }
.hero:not(.nv) .nv-toggle { color: #d6d9df; border-color: rgba(255, 255, 255, .3); text-shadow: none; }
.hero:not(.nv) .nv-only { display: none; }
.rec i {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 7px;
  border-radius: 50%;
  background: #ff3b3b;
  box-shadow: 0 0 6px #f33;
  animation: nvblink 1s steps(1) infinite;
}

.radar {
  position: absolute;
  z-index: 1;
  left: 53%;
  top: 50%;
  width: clamp(230px, 21vw, 300px);
  aspect-ratio: 1;
  transform: translateY(-52%);
  color: var(--gold);
  pointer-events: none;
  transition: color .4s;
}
.hero.nv .radar { color: var(--nv); filter: drop-shadow(0 0 8px rgba(80, 255, 100, .45)); }
.radar svg { display: block; width: 100%; height: 100%; overflow: visible; }
.sweep { transform-origin: 250px 250px; animation: radarspin 6s linear infinite; }
.blip { animation: nvblink 3s ease-in-out infinite; }
.blip.b2 { animation-delay: 1.2s; }
.blip.b3 { animation-delay: 2.1s; }

/* прицел следует за мышью внутри hero */
.xhair { position: fixed; left: 0; top: 0; width: 0; height: 0; z-index: 45; pointer-events: none; display: none; }
.xhair.on { display: block; }
.hero.aim { cursor: none; }
.hero.aim a, .hero.aim button { cursor: pointer; }
.xhair .c { position: absolute; left: -32px; top: -32px; width: 64px; height: 64px; border: 1px solid rgba(125, 255, 138, .85); border-radius: 50%; box-shadow: 0 0 12px rgba(80, 255, 100, .4); }
.xhair .h { position: absolute; left: -60px; top: 0; width: 120px; height: 1px; background: linear-gradient(90deg, var(--nv) 0 38%, transparent 38% 62%, var(--nv) 62%); }
.xhair .v { position: absolute; top: -60px; left: 0; height: 120px; width: 1px; background: linear-gradient(180deg, var(--nv) 0 38%, transparent 38% 62%, var(--nv) 62%); }
.xhair .d { position: absolute; left: -2px; top: -2px; width: 4px; height: 4px; border-radius: 50%; background: var(--nv); }
.xhair .xl { position: absolute; left: 40px; top: 22px; font: 400 11px var(--font-mono); color: var(--nv); white-space: nowrap; text-shadow: 0 0 5px #3f3; }

/* ==========================================================
   ЕСТЬ СОМНЕНИЯ
   ========================================================== */
.doubts {
  background: var(--cream);
  color: var(--ink);
  padding: 72px 0 64px;
}
.doubts__inner {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 48px;
  align-items: center;
}
.doubts .eyebrow { margin-bottom: 12px; }
.doubts h2 { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 14px; }
.doubts__text p:last-child { color: var(--muted); font-size: 15px; max-width: 320px; }

.doubts__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.doubt {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(20, 23, 28, .08);
  transition: transform .25s, box-shadow .25s;
}
.doubt:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(20, 23, 28, .14); }
.doubt img { width: 100%; aspect-ratio: 1.25; object-fit: cover; }
.doubt span {
  display: block;
  padding: 14px 16px 16px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
}

/* ==========================================================
   SECTION HEAD (общий)
   ========================================================== */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}
.section-head--solo { margin-bottom: 36px; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head__note {
  max-width: 360px;
  font-size: 14px;
  color: var(--muted-d);
  line-height: 1.55;
}

/* ==========================================================
   ПРЕИМУЩЕСТВА
   ========================================================== */
.adv {
  padding: 84px 0 90px;
  background:
    radial-gradient(900px 340px at 85% 0%, rgba(216, 176, 106, .09), transparent 70%),
    linear-gradient(180deg, #0b0d11 0%, #090b0e 100%);
}
.adv__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.adv-card {
  padding: 28px 20px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #151a21 0%, #0f1318 100%);
  transition: transform .25s, border-color .25s;
}
.adv-card:hover { transform: translateY(-4px); border-color: rgba(216, 176, 106, .45); }
.adv-card .ic { color: var(--gold); margin-bottom: 22px; stroke-width: 1.4; }
.adv-card h3 { font-size: 15.5px; line-height: 1.3; font-weight: 800; margin-bottom: 10px; }
.adv-card p { font-size: 13px; line-height: 1.55; color: var(--muted-d); }

/* ==========================================================
   ЦИФРЫ
   ========================================================== */
.stats {
  position: relative;
  isolation: isolate;
  padding: 44px 0;
  background: #0a0c10 url('../img/city.webp') 100% 68% / 150% auto no-repeat;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 10, 13, .72), rgba(8, 10, 13, .45) 55%, rgba(8, 10, 13, .7));
}
.stats__inner { display: flex; align-items: center; gap: 36px; justify-content: space-between; }
.stats__list { display: flex; flex: 1; }
.stats__list li {
  flex: 1;
  padding: 4px 24px;
  border-left: 1px solid rgba(255, 255, 255, .22);
  display: flex;
  flex-direction: column;
}
.stats__list li:first-child { border-left: 0; padding-left: 0; }
.stats__list b {
  font-size: clamp(36px, 4.3vw, 60px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.01em;
  white-space: nowrap;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats__list span { margin-top: 6px; font-size: 14px; font-weight: 500; color: #e9eaee; }

.stats__box {
  flex: none;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 330px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 10, 13, .78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 14.5px;
  line-height: 1.45;
  font-weight: 500;
}
.stats__box .ic { color: var(--gold); stroke-width: 1.4; }

/* ==========================================================
   УСЛУГИ
   ========================================================== */
.services {
  background: var(--cream);
  color: var(--ink);
  padding: 80px 0 84px;
}
.services__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}
.services .eyebrow { margin-bottom: 10px; }
.services h2 { font-size: clamp(28px, 3.1vw, 42px); margin-bottom: 16px; }
.services__sub { font-size: clamp(15px, 1.4vw, 19px); line-height: 1.5; color: #3c4047; max-width: 560px; }

.notfound {
  flex: none;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 440px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid #ece3d0;
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(20, 23, 28, .07);
  font-size: 13.5px;
  line-height: 1.45;
  color: #3c4047;
  transition: transform .25s, box-shadow .25s;
}
.notfound:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(20, 23, 28, .12); }
.notfound b { display: block; color: var(--ink); font-size: 14.5px; margin-bottom: 2px; }
.notfound > .ic-fill { color: var(--gold-lo); }
.notfound > .ic:last-child { color: var(--gold-lo); }

.tabs { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid #e6dcc7;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.tab:hover { border-color: var(--gold); }
.tab.is-active {
  background: linear-gradient(180deg, #e8cb97, #d6ac66);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(214, 172, 102, .35);
}

.svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.svc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(20, 23, 28, .08);
  transition: transform .25s, box-shadow .25s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20, 23, 28, .14); }
.svc-card img { width: 100%; aspect-ratio: 1.45; object-fit: cover; }
.svc-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 16px 16px; }
.svc-card h3 { font-size: 16px; line-height: 1.3; font-weight: 800; margin-bottom: 12px; min-height: 2.6em; }
.svc-card ul { display: grid; align-content: start; gap: 7px; margin-bottom: 18px; flex: 1; }
.svc-card li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  line-height: 1.4;
  color: #3f434a;
}
.svc-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-lo);
}

/* ==========================================================
   НАПРАВЛЕНИЯ
   ========================================================== */
.dirs {
  padding: 84px 0 90px;
  background:
    radial-gradient(800px 320px at 10% 0%, rgba(216, 176, 106, .07), transparent 70%),
    #090b0e;
}
.dirs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dir {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 430px;
  padding: 232px 22px 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform .25s, border-color .25s;
}
.dir:hover { transform: translateY(-4px); border-color: rgba(216, 176, 106, .5); }
.dir__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s;
}
.dir:hover .dir__bg { transform: scale(1.05); }
.dir::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(9, 11, 14, .25) 0%, rgba(9, 11, 14, .55) 38%, rgba(9, 11, 14, .94) 72%);
}
.dir__icon {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 176, 106, .5);
  border-radius: 12px;
  background: rgba(10, 12, 15, .6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--gold);
}
.dir h3 { font-size: 22px; font-weight: 800; margin-bottom: 14px; }
.dir ul { display: grid; gap: 8px; }
.dir li {
  position: relative;
  padding-left: 15px;
  font-size: 13.5px;
  line-height: 1.4;
  color: #e3e5e9;
}
.dir li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* ==========================================================
   О НАС (штамп «СЕКРЕТНО»)
   ========================================================== */
.about {
  padding: 96px 0;
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.about h2 { font-size: clamp(28px, 3.3vw, 44px); margin-bottom: 30px; }
.checks { display: grid; gap: 16px; margin-bottom: 36px; }
.checks li { display: flex; align-items: flex-start; gap: 14px; font-size: 17px; font-weight: 600; line-height: 1.45; }
.checks .ic { margin-top: 2px; color: var(--gold); }
.about__text p { margin-bottom: 18px; font-size: 16px; line-height: 1.7; color: var(--muted-d); }
.about__text .btn { margin-top: 12px; }

.dossier {
  padding: 30px;
  border: 1px dashed #3a414b;
  border-radius: var(--radius);
  background: var(--bg);
  font: 400 13px/1.5 var(--font-mono);
  color: var(--muted-d);
}
.dossier .row { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.dossier .row:last-child { border: 0; }
.dossier .row b { color: #e8e6e1; font-weight: 600; text-align: right; }

.stamp {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 16px;
  border: 3px solid #b44a3c;
  color: #d0604f;
  font: 600 15px var(--font-mono);
  letter-spacing: .22em;
  transform: rotate(-6deg);
}
.js .dossier .stamp { opacity: 0; transform: rotate(-6deg) scale(2.8); }
.js .dossier.hit .stamp { animation: slam .45s cubic-bezier(.2, 1.4, .4, 1) forwards; }
.js .dossier.hit { animation: shake .4s .3s; }
@keyframes slam {
  0% { opacity: 0; transform: rotate(-16deg) scale(2.8); }
  70% { opacity: 1; transform: rotate(-5deg) scale(.9); }
  100% { opacity: 1; transform: rotate(-6deg) scale(1); }
}
@keyframes shake {
  20% { transform: translate(-5px, 2px); }
  40% { transform: translate(4px, -2px); }
  60% { transform: translate(-2px, 1px); }
  80% { transform: translate(1px, 0); }
}

/* «зачёркнутый» текст: плашка уезжает при появлении блока */
.rd { position: relative; white-space: nowrap; }
.js .rd::after {
  content: '';
  position: absolute;
  left: -3px;
  right: -3px;
  top: .14em;
  bottom: .06em;
  background: #e8e6e1;
  border-radius: 1px;
  transform-origin: 100% 50%;
  transition: transform .6s cubic-bezier(.75, 0, .25, 1);
}
.js .rd.open::after { transform: scaleX(0); }

/* ==========================================================
   КАК МЫ РАБОТАЕМ (доска улик)
   ========================================================== */
.evidence {
  padding: 84px 0 96px;
  background-color: #2a1f16;
  background-image:
    radial-gradient(rgba(0, 0, 0, .35) 1px, transparent 1.6px),
    radial-gradient(rgba(255, 220, 170, .07) 1px, transparent 1.6px);
  background-size: 7px 7px, 11px 11px;
  background-position: 0 0, 3px 5px;
  box-shadow: inset 0 0 140px rgba(0, 0, 0, .75);
  border-block: 6px solid #1a120c;
}
.evidence h2 { color: #f1e9d8; }

.board { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 50px 34px; padding-top: 12px; }
.ev-card {
  position: relative;
  min-height: 180px;
  padding: 60px 22px 28px;
  border-radius: 3px;
  background: #ece6d6;
  color: #1c1a17;
  box-shadow: 0 16px 30px rgba(0, 0, 0, .5);
  transition: opacity .5s;
}
.board.js:not(.in) .ev-card { opacity: 0; }
.ev-card.c1 { transform: rotate(-2.2deg); }
.ev-card.c2 { transform: rotate(1.6deg); }
.ev-card.c3 { transform: rotate(-1deg); }
.ev-card.c4 { transform: rotate(2deg); }
.ev-card .lbl { font: 600 11px var(--font-mono); letter-spacing: .16em; color: #8a2a1e; }
.ev-card p { margin-top: 10px; font-size: 16px; font-weight: 600; line-height: 1.45; }
.ev-card .no { position: absolute; right: 14px; bottom: 4px; font-size: 46px; font-weight: 800; color: rgba(0, 0, 0, .08); }

.strings { position: absolute; left: 0; top: 0; width: 100%; height: 120px; z-index: 2; overflow: visible; pointer-events: none; }
.strings path { fill: none; stroke: #c0392b; stroke-width: 2.4; vector-effect: non-scaling-stroke; filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .5)); }
.board > .pin { position: absolute; top: 21px; width: 14px; height: 14px; margin-left: -7px; z-index: 3; }
.board > .pin, .ev-card::before {
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff9a8a 0 2px, #d63a2a 3px);
  border: 1.5px solid #6e140c;
  box-shadow: 0 3px 4px rgba(0, 0, 0, .5);
}
.ev-card::before, .ev-card::after { content: none; }
.board.js .strings { clip-path: inset(0 100% 0 0); transition: clip-path 2.4s linear .5s; }
.board.in .strings { clip-path: inset(0 0 0 0); }
.board.js .pin { opacity: 0; }
.board.in .pin { animation: pinpop .35s forwards; }
.board.in .pin:nth-of-type(2) { animation-delay: .6s; }
.board.in .pin:nth-of-type(3) { animation-delay: 1.2s; }
.board.in .pin:nth-of-type(4) { animation-delay: 1.8s; }
@keyframes pinpop { 0% { opacity: 0; transform: scale(2.4); } 100% { opacity: 1; transform: scale(1); } }

/* ==========================================================
   ФИНАЛЬНЫЙ БЛОК
   ========================================================== */
.cta {
  position: relative;
  isolation: isolate;
  padding: 90px 0;
  background: #0a0c10 url('../img/cta.webp') left center / cover no-repeat;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 10, 13, 0) 0%, rgba(8, 10, 13, .35) 45%, rgba(8, 10, 13, .75) 100%),
    linear-gradient(180deg, rgba(8, 10, 13, .35), rgba(8, 10, 13, .1) 40%, rgba(8, 10, 13, .45));
}
.cta__inner {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.55fr) minmax(0, .8fr);
  gap: 32px;
  align-items: center;
}
.cta__panel {
  grid-column: 2;
  padding: 38px 40px 40px;
  border: 1px solid rgba(216, 176, 106, .4);
  border-radius: 16px;
  background: rgba(10, 12, 15, .74);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cta__panel .eyebrow { margin-bottom: 14px; }
.cta__panel h2 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 16px; }
.cta__panel > p:not(.eyebrow) { font-size: 16px; line-height: 1.55; color: #d9dce1; max-width: 460px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.cta__perks { grid-column: 3; display: grid; gap: 22px; }
.cta__perks li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14.5px;
  font-weight: 600;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .7);
}
.cta__perks .ic { color: var(--gold); stroke-width: 1.4; }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer { background: #07080a; border-top: 1px solid var(--line); padding: 34px 0 26px; }
.footer__row { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer .logo img { height: 50px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 14px 30px; font-size: 14px; font-weight: 600; color: #e2e4e8; }
.footer__nav a:hover { color: var(--gold-hi); }
.footer__wa { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; transition: color .2s; }
.footer__wa .ic { color: var(--gold); }
.footer__wa:hover { color: var(--gold-hi); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: #7d838d;
}

/* ==========================================================
   REVEAL
   ========================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.js .reveal.in { opacity: 1; transform: none; }
/* карточки не должны терять hover-transform из-за reveal */
.js .reveal.in.doubt:hover,
.js .reveal.in.adv-card:hover,
.js .reveal.in.dir:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
  .sweep, .blip, .nv-noise, .nv-band, .rec i { animation: none; }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1280px) {
  .header__phone small { display: none; }
  .stats { background-size: cover; background-position: 70% 60%; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .adv__grid { grid-template-columns: repeat(3, 1fr); }
  .stats__inner { flex-direction: column; align-items: stretch; }
  .stats__box { max-width: none; }
}

@media (max-width: 1140px) {
  .header__phone { display: none; }
  .doubts__inner { grid-template-columns: 1fr; gap: 28px; }
  .doubts__text p:last-child { max-width: 520px; }
  .dirs__grid { grid-template-columns: repeat(2, 1fr); }
  .cta__inner { grid-template-columns: 1fr; }
  .cta__panel, .cta__perks { grid-column: 1; }
  .cta__perks { grid-template-columns: repeat(2, 1fr); }
  .cta { background-position: 18% center; }
}

@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .logo img { height: 46px; }
  .burger { display: grid; }
  .header__cta { margin-left: auto; }
  .burger { margin-left: 0; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 28px 20px;
    background: rgba(9, 11, 14, .97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    font-size: 17px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform .25s, opacity .25s, visibility .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav__phone-m { display: block; color: var(--gold); font-weight: 800; }
  .header.menu-open { background: rgba(9, 11, 14, .97); }

  .hero { min-height: 0; padding-bottom: 150px; }
  .hero__bg { background-position: 66% center; }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(9, 11, 14, .86) 0%, rgba(9, 11, 14, .55) 60%, rgba(9, 11, 14, .25) 100%),
      linear-gradient(180deg, rgba(9, 11, 14, .5) 0%, rgba(9, 11, 14, 0) 25%, rgba(9, 11, 14, .55) 100%);
  }
  .hero__quote { display: none; }


  .services__head { flex-direction: column; }
  .notfound { max-width: none; width: 100%; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 760px) {
  .container { padding-inline: 20px; }
  .header__cta { display: none; }
  .burger { margin-left: auto; }

  .doubts, .adv, .services, .dirs, .about, .evidence { padding-block: 56px; }
  .doubts__cards { grid-template-columns: repeat(2, 1fr); }
  .adv__grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-card h3 { min-height: 0; }

  .stats__list { flex-wrap: wrap; row-gap: 22px; }
  .stats__list li { flex: 1 1 50%; padding: 4px 16px; }
  .stats__list li:nth-child(odd) { border-left: 0; padding-left: 0; }

  .hero { padding-bottom: 56px; }
  .hero__badge { position: static; margin-top: 34px; }
  .hero__feats { gap: 20px; }

  .cta { padding: 64px 0; }
  .cta__panel { padding: 28px 22px 30px; }
  .cta__actions .btn { width: 100%; white-space: normal; text-align: center; }

  .footer__row { flex-direction: column; align-items: flex-start; }
  .footer__bottom { flex-direction: column; }
}

@media (max-width: 520px) {
  .doubts__cards { gap: 12px; }
  .doubt span { font-size: 12.5px; padding: 12px; }
  .adv__grid, .svc-grid, .dirs__grid { grid-template-columns: 1fr; }
  .dir { min-height: 0; padding-top: 200px; }
  .cta__perks { grid-template-columns: 1fr; }
  .tab { flex: 1 1 100%; justify-content: center; }
  .hero__actions .btn { width: 100%; }
}

/* ---------- новые блоки: адаптив ---------- */
@media (max-width: 1280px) {
  .radar { left: auto; right: 0; top: 4%; width: 200px; transform: none; opacity: .85; }
}

@media (max-width: 1000px) {
  .about__grid { grid-template-columns: 1fr; gap: 44px; }

  .board { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; row-gap: 50px; }
  .strings, .board > .pin { display: none; }
  .ev-card { padding-top: 38px; }
  .ev-card::before { content: ''; position: absolute; top: 9px; right: 21px; width: 14px; height: 14px; z-index: 3; }
  .ev-card:not(:last-of-type)::after {
    content: '';
    position: absolute;
    right: 27px;
    top: 100%;
    width: 2.4px;
    height: 68px;
    background: #c0392b;
    box-shadow: 0 2px 3px rgba(0, 0, 0, .5);
    transform-origin: top;
  }
  .board.js .ev-card::after { transform: scaleY(0); transition: transform .5s ease; }
  .board.in .ev-card::after { transform: scaleY(1); }
  .board.in .ev-card:nth-of-type(1)::after { transition-delay: .5s; }
  .board.in .ev-card:nth-of-type(2)::after { transition-delay: 1.1s; }
  .board.in .ev-card:nth-of-type(3)::after { transition-delay: 1.7s; }
}

@media (max-width: 760px) {
  .radar { display: none; }
  .nv-hud { font-size: 10px; }
  .nv-toggle span { display: none; }
  .nv-toggle { padding: 7px 9px; }
  .about { padding-block: 56px; }
  .dossier { padding: 22px 18px; }
}

@media (max-width: 640px) {
  .board { padding: 0 20px; }
}
