/* =========================================================
   AIRSOFT FIELD WARZONE — тактически команден център
   ========================================================= */
:root {
  --bg: #0a0b08;
  --bg-2: #10130c;
  --olive-950: #131710;
  --olive-900: #1a1f13;
  --olive-800: #232a19;
  --olive-700: #303a22;
  --olive-500: #5a6b35;
  --olive-300: #9aa66a;
  --logo-olive: #b4b43c;
  --khaki: #cfc9a2;
  --text: #e7e5d6;
  --muted: #a3a38c;
  --orange: #ff6b1a;
  --orange-hi: #ff8a3d;
  --orange-glow: rgba(255, 107, 26, .45);
  --red: #ff3d24;
  --green: #8bd450;
  --line: rgba(207, 201, 162, .16);
  --line-strong: rgba(207, 201, 162, .32);
  --panel: rgba(16, 19, 12, .82);
  --nav-h: 68px;
  --radius: 2px;
  --f-display: 'Russo One', 'Arial Black', system-ui, sans-serif;
  --f-latin: 'Black Ops One', 'Russo One', system-ui, sans-serif;
  --f-body: 'Exo 2', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--f-body);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
.mono { font-family: var(--f-mono); letter-spacing: .04em; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--orange); color: #000; padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--orange); color: #000; }

/* ---------- Мерник като курсор (само за мишка) ---------- */
@media (pointer: fine) {
  html { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg fill='none' stroke='%23000' stroke-width='3.4' opacity='.55'%3E%3Ccircle cx='16' cy='16' r='9'/%3E%3Cpath d='M16 1v8M16 23v8M1 16h8M23 16h8'/%3E%3C/g%3E%3Cg fill='none' stroke='%23e7e5d6' stroke-width='1.5'%3E%3Ccircle cx='16' cy='16' r='9'/%3E%3Cpath d='M16 1v8M16 23v8M1 16h8M23 16h8'/%3E%3C/g%3E%3Ccircle cx='16' cy='16' r='1.6' fill='%23ff6b1a'/%3E%3C/svg%3E") 16 16, crosshair; }
  a, button, summary, select, label, [data-quote], .g-item {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg fill='none' stroke='%23000' stroke-width='3.4' opacity='.55'%3E%3Ccircle cx='16' cy='16' r='7'/%3E%3Cpath d='M16 3v7M16 22v7M3 16h7M22 16h7'/%3E%3C/g%3E%3Cg fill='none' stroke='%23ff6b1a' stroke-width='2'%3E%3Ccircle cx='16' cy='16' r='7'/%3E%3Cpath d='M16 3v7M16 22v7M3 16h7M22 16h7'/%3E%3C/g%3E%3Ccircle cx='16' cy='16' r='2' fill='%23ff6b1a'/%3E%3C/svg%3E") 16 16, pointer;
  }
  input, textarea { cursor: text; }
}

/* ---------- Стенсил заглавия ---------- */
.stencil {
  font-family: var(--f-display); text-transform: uppercase; line-height: 1.06; letter-spacing: .01em;
  -webkit-mask-image: linear-gradient(#000 0 57%, transparent 57% 62%, #000 62%);
          mask-image: linear-gradient(#000 0 57%, transparent 57% 62%, #000 62%);
  -webkit-mask-size: 100% 1.06em; mask-size: 100% 1.06em;
  -webkit-mask-repeat: repeat-y; mask-repeat: repeat-y;
}
.accent { color: var(--orange); }

/* ---------- Бутони ---------- */
.btn {
  --cut: 10px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.6em; border: 0; text-decoration: none;
  font: 400 .95rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .06em;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: transform .15s var(--ease), background-color .2s, color .2s, box-shadow .2s;
  position: relative; white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--orange); color: #120800; box-shadow: 0 0 0 0 var(--orange-glow); }
.btn-primary:hover { background: var(--orange-hi); box-shadow: 0 0 28px var(--orange-glow); }
.btn-ghost { background: rgba(207, 201, 162, .08); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-ghost:hover { background: rgba(207, 201, 162, .16); }
.btn-sm { padding: .72em 1.15em; font-size: .8rem; --cut: 7px; }
.btn-block { width: 100%; }

/* ---------- Навигация ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; gap: 18px; padding: 0 clamp(14px, 3vw, 36px);
  background: linear-gradient(rgba(10, 11, 8, .92), rgba(10, 11, 8, .55));
  border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s;
}
.nav.scrolled { background: rgba(10, 11, 8, .96); border-bottom-color: var(--line); }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.nav-logo img { width: 78px; height: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6)); }
.nav-brand { display: flex; flex-direction: column; line-height: 1; font-family: var(--f-latin); }
.nav-brand b { font-weight: 400; font-size: .72rem; letter-spacing: .14em; color: var(--khaki); }
.nav-brand i { font-style: normal; font-size: 1.15rem; letter-spacing: .08em; color: var(--logo-olive); }
.nav-links { display: flex; gap: clamp(8px, 1.4vw, 22px); margin-left: auto; }
.nav-links a {
  text-decoration: none; font: 500 .82rem/1 var(--f-body); text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); padding: 8px 2px; position: relative; transition: color .2s;
}
.nav-links a small { font-family: var(--f-mono); font-size: .62rem; color: var(--orange); margin-right: 5px; opacity: .8; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: var(--orange); transition: right .25s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.sound-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px;
  background: transparent; border: 1px solid var(--line-strong); color: var(--muted);
  font: 700 .66rem/1 var(--f-mono); letter-spacing: .1em; transition: color .2s, border-color .2s;
}
.sound-btn svg { width: 18px; height: 18px; }
.sound-btn .ico-on { display: none; }
.sound-btn[aria-pressed="true"] { color: var(--orange); border-color: var(--orange); }
.sound-btn[aria-pressed="true"] .ico-on { display: block; }
.sound-btn[aria-pressed="true"] .ico-off { display: none; }
.burger { display: none; width: 42px; height: 40px; background: transparent; border: 1px solid var(--line-strong); padding: 0 10px; flex-direction: column; justify-content: center; gap: 5px; }
.burger span:not(.sr-only) { display: block; height: 2px; background: var(--text); transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =================== HERO =================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; background: #050604;
}
.hero-media { position: absolute; inset: -6% 0 -14%; z-index: -3; will-change: transform; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.1) brightness(.76); }
.hero-media picture { display: contents; }
.hero-media video { position: absolute; inset: 0; opacity: 0; transition: opacity .9s; }
.hero-media video.on { opacity: 1; }
.motion .hero-poster { animation: kenburns 32s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14) translate(-2%, -1%); } }
.hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse at 70% 60%, transparent 0 30%, rgba(5, 6, 4, .55) 75%),
    linear-gradient(90deg, rgba(5, 6, 4, .92) 0, rgba(5, 6, 4, .55) 45%, rgba(5, 6, 4, .15) 100%),
    linear-gradient(180deg, rgba(10, 11, 8, .2) 60%, var(--bg) 100%),
    linear-gradient(rgba(48, 58, 34, .25), rgba(48, 58, 34, .25));
}
.hero-sil { position: absolute; z-index: -1; color: #000; opacity: .55; pointer-events: none; }
.hero-sil.sil-1 { width: 170px; height: 280px; left: 44%; bottom: 7%; opacity: .5; }
.hero-sil.sil-2 { width: 240px; height: 260px; right: -30px; bottom: -6px; opacity: .7; }
.scanlines { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .22) 0 1px, transparent 1px 3px); opacity: .55; }
.scanbar { position: absolute; left: 0; right: 0; top: 0; height: 140px; z-index: 4; pointer-events: none; opacity: 0;
  background: linear-gradient(transparent, rgba(255, 120, 40, .035) 55%, rgba(255, 150, 80, .08) 82%, transparent); }
.motion .scanbar { opacity: 1; animation: scan 7s linear infinite; }
@keyframes scan { from { transform: translateY(-160px); } to { transform: translateY(100vh); } }
.hud-frame i { position: absolute; z-index: 5; width: 34px; height: 34px; border: 2px solid rgba(255, 107, 26, .7); pointer-events: none; }
.hud-frame i:nth-child(1) { top: calc(var(--nav-h) + 14px); left: 14px; border-right: 0; border-bottom: 0; }
.hud-frame i:nth-child(2) { top: calc(var(--nav-h) + 14px); right: 14px; border-left: 0; border-bottom: 0; }
.hud-frame i:nth-child(3) { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.hud-frame i:nth-child(4) { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }

/* Стрелбище */
.range { position: absolute; inset: 0; z-index: 1; overflow: hidden; touch-action: manipulation; }
.range-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background: linear-gradient(transparent, rgba(0, 0, 0, .45)); pointer-events: none; }
.tgt { position: absolute; left: 0; top: 0; will-change: transform; pointer-events: none; }
.tgt-body { transform-origin: 50% 100%; transition: transform .38s cubic-bezier(.5, 0, .75, 0), opacity .3s; }
.tgt svg { width: 100%; height: auto; overflow: visible; pointer-events: none; }
.tgt svg use, .tgt svg .hole { pointer-events: visiblePainted; }
.tgt-shadow { position: absolute; left: 8%; right: 8%; bottom: -6px; height: 10px; border-radius: 50%; background: radial-gradient(rgba(0, 0, 0, .65), transparent 70%); }
.tgt-pole { position: absolute; left: 47%; width: 6%; bottom: -14px; height: 16px; background: #2b2a20; }
.tgt.down .tgt-body { transform: perspective(500px) rotateX(-86deg); opacity: .25; }
.tgt.spawn .tgt-body { transform: perspective(500px) rotateX(-86deg); transition: none; }
.t-paper { fill: var(--paper, #c7b78c); stroke: rgba(30, 24, 10, .55); stroke-width: 1; }
.t-zone { fill: none; stroke: rgba(50, 38, 15, .55); stroke-width: .9; stroke-dasharray: 3 2; }
.t-a { stroke: rgba(150, 50, 0, .7); stroke-dasharray: none; }
.t-cross { stroke: rgba(40, 30, 10, .35); stroke-width: .6; }
.t-dot { fill: var(--orange); }
.hole { fill: #120d06; stroke: rgba(0, 0, 0, .6); stroke-width: .7; }
.hole-ring { fill: none; stroke: rgba(70, 50, 20, .5); stroke-width: 1.1; }
.tgt.hit-flash .tgt-body { filter: brightness(1.8) sepia(1) hue-rotate(-20deg) saturate(4); }
.miss-hole {
  position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, #000 0 30%, #2b2416 38%, rgba(60, 50, 30, .6) 52%, transparent 70%);
  animation: holeFade 5s forwards;
}
.miss-hole::before, .miss-hole::after { content: ''; position: absolute; left: 50%; top: 50%; width: 24px; height: 1px; background: rgba(220, 210, 180, .35); transform: translate(-50%, -50%) rotate(35deg); }
.miss-hole::after { transform: translate(-50%, -50%) rotate(-62deg); width: 18px; }
@keyframes holeFade { 0%, 75% { opacity: 1; } 100% { opacity: 0; } }
.muzzle { position: absolute; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 220, 160, .95), rgba(255, 107, 26, .5) 35%, transparent 65%); animation: muzzle .18s forwards; }
@keyframes muzzle { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.3); opacity: 0; } }
.pop {
  position: absolute; pointer-events: none; z-index: 300; white-space: nowrap; transform: translate(-50%, -50%);
  font: 700 1.05rem/1 var(--f-mono); color: var(--orange); text-shadow: 0 0 10px rgba(0, 0, 0, .9), 0 0 2px #000;
  animation: popUp .9s var(--ease) forwards;
}
.pop.big { font-size: 1.35rem; color: #ffd27a; }
@keyframes popUp { from { opacity: 1; transform: translate(-50%, -50%) scale(.7); } 20% { transform: translate(-50%, -70%) scale(1.15); } to { opacity: 0; transform: translate(-50%, -190%) scale(1); } }
.hero.shake { animation: shake .14s; }
@keyframes shake { 30% { transform: translate(2px, -1px); } 60% { transform: translate(-2px, 1px); } }

.hero-inner {
  position: relative; z-index: 3; flex: 1; pointer-events: none;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: 32px; align-items: center;
  width: 100%; max-width: 1360px; margin: 0 auto; padding: calc(var(--nav-h) + 40px) clamp(20px, 4vw, 56px) 120px;
}
.hero-copy { max-width: 640px; }
.hero-copy a, .hero-copy button { pointer-events: auto; }
.boot { font-size: .74rem; color: var(--olive-300); margin-bottom: 18px; min-height: 1.2em; }
.rec { color: var(--red); animation: blink 1.2s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.hero-logo { width: min(250px, 55vw); height: auto; margin: 0 0 18px -6px; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .75)); }
.hero-title { font-size: clamp(2.4rem, 4.7vw, 4.3rem); text-shadow: 0 4px 30px rgba(0, 0, 0, .6); margin-bottom: 18px; }
.hero-title > span { display: block; }
.hero-lead { font-size: clamp(1rem, 1.4vw, 1.18rem); color: #d2d0bf; max-width: 520px; margin-bottom: 28px; text-shadow: 0 2px 12px #000; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-hint { margin-top: 22px; font-size: .74rem; color: var(--orange); letter-spacing: .12em; }
.hint-touch { display: none; }
@media (pointer: coarse) { .hint-desk { display: none; } .hint-touch { display: inline; } }

.lane { position: relative; align-self: stretch; min-height: 360px; }
.hud { position: absolute; z-index: 6; background: rgba(8, 10, 6, .72); border: 1px solid var(--line); font-size: .7rem; color: var(--muted); }
.hud::before { content: ''; position: absolute; top: -1px; left: -1px; width: 12px; height: 12px; border-top: 2px solid var(--orange); border-left: 2px solid var(--orange); }
.hud b { color: var(--text); font-weight: 700; }
.hud-score { right: 0; top: 0; width: 210px; padding: 12px 14px; pointer-events: none; }
.hud-title { color: var(--orange); margin-bottom: 8px; letter-spacing: .14em; }
.score-main { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px dashed var(--line); padding-bottom: 6px; margin-bottom: 6px; }
.score-main b { font-size: 1.7rem; color: var(--orange); font-variant-numeric: tabular-nums; text-shadow: 0 0 14px var(--orange-glow); }
.score-row { display: flex; justify-content: space-between; line-height: 1.75; }
.score-row b { font-variant-numeric: tabular-nums; }
.streak { height: 1.1em; margin-top: 4px; color: #ffd27a; font-weight: 700; letter-spacing: .1em; }
.hud-radar { left: clamp(20px, 4vw, 56px); bottom: 28px; display: flex; gap: 14px; align-items: center; padding: 10px 14px 10px 10px; }
.radar { position: relative; width: 92px; height: 92px; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle, transparent 0 32%, rgba(139, 212, 80, .25) 33% 34%, transparent 35% 65%, rgba(139, 212, 80, .25) 66% 67%, transparent 68%),
    linear-gradient(transparent 49.5%, rgba(139, 212, 80, .25) 49.5% 50.5%, transparent 50.5%),
    linear-gradient(90deg, transparent 49.5%, rgba(139, 212, 80, .25) 49.5% 50.5%, transparent 50.5%), #071006;
  box-shadow: inset 0 0 0 1px rgba(139, 212, 80, .45); }
.radar-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(139, 212, 80, .55), rgba(139, 212, 80, 0) 70deg, transparent 360deg); }
.motion .radar-sweep { animation: spin 3.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.blip { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 8px var(--orange); }
.motion .blip { animation: blipFade 3.2s linear infinite; }
.b1 { left: 64%; top: 26%; } .b2 { left: 30%; top: 62%; animation-delay: -1.9s !important; } .b3 { left: 72%; top: 70%; animation-delay: -2.6s !important; }
@keyframes blipFade { 0%, 8% { opacity: 1; } 60%, 100% { opacity: .1; } }
.coords div { line-height: 1.8; white-space: nowrap; }
.coords span { display: inline-block; width: 54px; color: var(--olive-300); }
.hud-next { right: clamp(20px, 4vw, 56px); bottom: 28px; display: grid; gap: 4px; padding: 12px 16px; text-decoration: none; min-width: 270px; transition: border-color .2s; }
.hud-next:hover { border-color: var(--orange); }
.hud-next-lbl { color: var(--orange); letter-spacing: .12em; display: flex; align-items: center; gap: 8px; }
.hud-next-title { color: var(--text); font-family: var(--f-body); font-weight: 700; font-size: .92rem; letter-spacing: 0; max-width: 300px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hud-next-time { font-size: 1.15rem; color: var(--khaki); font-variant-numeric: tabular-nums; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }

/* =================== Секции-мисии =================== */
.mission { position: relative; padding: clamp(80px, 11vw, 140px) 0; overflow: hidden; border-top: 1px solid var(--line); }
.mission-dark { background: var(--bg-2); }
.mission-camo { background: var(--olive-950); }
.mission-camo::before { content: ''; position: absolute; inset: 0; background: url(../assets/img/camo.svg) 0 0 / 600px; opacity: .22; pointer-events: none; }
.mission::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 80px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 80px 100%; opacity: .18;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0, #000, transparent 75%); mask-image: radial-gradient(ellipse at 50% 0, #000, transparent 75%); }
.wrap { position: relative; z-index: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.wrap-narrow { max-width: 900px; }
.mission-head { margin-bottom: clamp(32px, 5vw, 56px); }
.mission-head-sub { margin-top: clamp(64px, 9vw, 110px); }
.mission-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .74rem; color: var(--olive-300); letter-spacing: .14em; margin-bottom: 14px; }
.mission-meta .code { color: #120800; background: var(--orange); padding: 3px 8px; font-weight: 700; }
.status { display: inline-flex; align-items: center; gap: 7px; color: var(--orange); margin-left: auto; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; animation: pulse 1.6s infinite; }
.status-ok { color: var(--green); }
.mission-head h2 { font-size: clamp(2rem, 5.2vw, 3.9rem); }
.mission-sub { color: var(--muted); max-width: 620px; margin: 16px 0 0; }
.swipe-hint { display: none; }
@media (max-width: 820px) { .swipe-hint { display: block; margin-top: 10px; font-size: .7rem; color: var(--orange); letter-spacing: .12em; } }
.lead { font-size: 1.18rem; color: var(--text); }

/* Глич */
.glitch { position: relative; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.glitch::before { color: var(--orange); }
.glitch::after { color: #6fe3ff; }
.is-glitching::before { animation: gl1 .55s steps(2) 1; }
.is-glitching::after { animation: gl2 .55s steps(2) 1; }
.is-glitching { animation: glMain .55s steps(2) 1; }
@keyframes gl1 { 0% { opacity: .9; clip-path: inset(10% 0 70% 0); transform: translate(-6px, 0); } 25% { clip-path: inset(60% 0 10% 0); transform: translate(5px, 0); } 50% { clip-path: inset(30% 0 45% 0); transform: translate(-3px, 0); } 75% { clip-path: inset(80% 0 2% 0); transform: translate(4px, 0); } 100% { opacity: 0; } }
@keyframes gl2 { 0% { opacity: .8; clip-path: inset(55% 0 20% 0); transform: translate(6px, 0); } 25% { clip-path: inset(5% 0 75% 0); transform: translate(-5px, 0); } 50% { clip-path: inset(70% 0 5% 0); transform: translate(3px, 0); } 75% { clip-path: inset(20% 0 60% 0); transform: translate(-4px, 0); } 100% { opacity: 0; } }
@keyframes glMain { 0% { opacity: .2; transform: skewX(-8deg); } 30% { opacity: 1; transform: skewX(4deg); } 60% { transform: none; } }
.motion-full .hero-title .glitch::before { animation: gl1 .5s steps(2) infinite; animation-delay: 4s; }
.motion-full .hero-title .glitch { animation: idleGlitch 6s steps(1) infinite; }
@keyframes idleGlitch { 0%, 94%, 100% { transform: none; text-shadow: 0 4px 30px rgba(0,0,0,.6); } 95% { transform: translateX(-3px) skewX(-6deg); text-shadow: 3px 0 #6fe3ff, -3px 0 var(--orange-hi); } 97% { transform: translateX(3px); } }

/* Поява */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .mission-head { opacity: 0; transition: opacity .4s; }
.js .mission-head.in { opacity: 1; }

/* Силуети на фона */
.bg-sil { position: absolute; z-index: 0; color: var(--olive-800); opacity: .55; pointer-events: none; }
.bg-sil-r { right: -40px; bottom: -10px; width: 340px; height: 460px; }
.bg-sil-l { left: -60px; bottom: -10px; width: 360px; height: 390px; }

/* Фото рамки */
.photo-frame { position: relative; margin: 0; border: 1px solid var(--line-strong); padding: 6px; background: var(--olive-950); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.05); }
.photo-frame figcaption { position: absolute; left: 12px; bottom: 12px; font-size: .66rem; color: var(--khaki); background: rgba(0, 0, 0, .7); padding: 3px 7px; }
.photo-frame::before, .photo-frame::after { content: ''; position: absolute; width: 18px; height: 18px; border: 2px solid var(--orange); z-index: 2; }
.photo-frame::before { top: -4px; left: -4px; border-right: 0; border-bottom: 0; }
.photo-frame::after { bottom: -4px; right: -4px; border-left: 0; border-top: 0; }
.stamp {
  display: inline-block; font: 400 1.4rem/1 var(--f-display); color: var(--red); letter-spacing: .1em;
  border: 3px solid currentColor; padding: 6px 12px; transform: rotate(-12deg); opacity: .85;
  text-shadow: 0 0 1px currentColor;
}
.stamp-sm { font-size: .78rem; border-width: 2px; padding: 4px 8px; }

/* 01 За нас */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-copy p:not(.lead) { color: #c9c7b6; }
.intel { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 28px 0 0; }
.intel div { background: var(--bg); padding: 14px 16px; }
.intel dt { font-size: .66rem; color: var(--orange); letter-spacing: .16em; margin-bottom: 4px; }
.intel dd { margin: 0; font-size: .86rem; color: var(--text); }
.about-media { position: relative; min-height: 460px; }
.pf-1 { width: 88%; aspect-ratio: 4 / 3; }
.pf-2 { position: absolute; width: 44%; aspect-ratio: 3 / 4; right: 0; bottom: -10px; box-shadow: 0 20px 50px rgba(0, 0, 0, .7); }
.about-media .stamp { position: absolute; left: 6%; bottom: 8%; }

/* 02 Събития */
.countdown {
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
  padding: clamp(20px, 3vw, 32px); background: var(--panel); border: 1px solid var(--line-strong); position: relative; margin-bottom: 36px;
}
.countdown::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--orange); box-shadow: 0 0 20px var(--orange-glow); }
.cd-lbl { font-size: .72rem; color: var(--orange); letter-spacing: .14em; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.cd-title { font: 400 clamp(1.3rem, 2.6vw, 1.9rem)/1.15 var(--f-display); text-transform: uppercase; margin-bottom: 6px; }
.cd-date { color: var(--muted); font-size: .82rem; margin: 0; }
.cd-clock { display: flex; gap: 10px; }
.cd-clock div { display: grid; justify-items: center; min-width: 78px; padding: 12px 8px 8px; background: #050604; border: 1px solid var(--line); position: relative; }
.cd-clock div::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .8); }
.cd-clock b { font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1; color: var(--orange); text-shadow: 0 0 16px var(--orange-glow); font-variant-numeric: tabular-nums; }
.cd-clock span { font-size: .6rem; color: var(--muted); letter-spacing: .2em; margin-top: 6px; }
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.event-card { position: relative; display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); transition: border-color .25s, transform .25s var(--ease); }
.event-card:hover { border-color: var(--orange); transform: translateY(-4px); }
.event-card.skeleton { min-height: 380px; background: linear-gradient(100deg, var(--olive-950) 30%, var(--olive-900) 50%, var(--olive-950) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }
.ev-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--olive-900); }
.ev-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75); transition: transform .5s var(--ease), filter .4s; }
.event-card:hover .ev-img img { transform: scale(1.05); filter: saturate(1); }
.ev-date { position: absolute; top: 12px; left: 12px; background: var(--orange); color: #120800; text-align: center; padding: 6px 10px 5px; font-family: var(--f-display); line-height: 1; }
.ev-date b { display: block; font-size: 1.7rem; font-weight: 400; }
.ev-date span { font-size: .7rem; letter-spacing: .1em; }
.ev-tag { position: absolute; top: 12px; right: 12px; font-size: .64rem; background: rgba(0, 0, 0, .75); color: var(--green); padding: 4px 8px; }
.ev-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.ev-time { font-size: .72rem; color: var(--olive-300); margin-bottom: 6px; }
.ev-body h3 { font: 400 1.25rem/1.2 var(--f-display); text-transform: uppercase; margin-bottom: 10px; }
.ev-body p { color: #bdbba9; font-size: .95rem; flex: 1; }
.ev-body .btn { align-self: flex-start; }
.events-empty { grid-column: 1 / -1; text-align: center; padding: 50px 20px; border: 1px dashed var(--line-strong); color: var(--muted); }
.events-empty b { display: block; font: 400 1.4rem var(--f-display); color: var(--text); margin-bottom: 8px; }
.events-note { margin-top: 18px; font-size: .72rem; color: var(--olive-300); }

/* 03 Досиета */
.dossiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 24px; }
.dossier { position: relative; display: flex; flex-direction: column; margin-top: 26px; background: linear-gradient(160deg, #1b2014, #12160d); border: 1px solid var(--line-strong); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.dossier:hover { transform: translateY(-6px); border-color: rgba(255, 107, 26, .6); box-shadow: 0 18px 40px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 107, 26, .25); }
.dossier-tab { position: absolute; top: -27px; left: -1px; height: 27px; padding: 6px 26px 0 12px; font-size: .68rem; color: #120800; background: var(--khaki); letter-spacing: .1em; clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 100%, 0 100%); transition: background-color .3s; }
.dossier:hover .dossier-tab { background: var(--orange); }
.dossier-img { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--line); }
.dossier-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(.55) contrast(1.1) brightness(.85); transition: filter .4s, transform .6s var(--ease); }
.dossier:hover .dossier-img img { filter: none; transform: scale(1.04); }
.dossier-img::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .15) 0 1px, transparent 1px 3px); pointer-events: none; }
.dossier-img .stamp { position: absolute; right: 12px; bottom: 14px; z-index: 1; background: rgba(0, 0, 0, .35); }
.dossier-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.op-name { font-size: .7rem; color: var(--orange); letter-spacing: .1em; margin-bottom: 6px; }
.dossier-body h3 { font: 400 1.38rem/1.15 var(--f-display); text-transform: uppercase; margin-bottom: 10px; }
.dossier-body > p:not(.op-name) { color: #bdbba9; font-size: .95rem; flex: 1; }
.dossier-stats { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 6px 0 18px; font-size: .74rem; }
.dossier-stats div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 10px; background: #0d100a; }
.dossier-stats dt { color: var(--olive-300); letter-spacing: .12em; }
.dossier-stats dd { margin: 0; color: var(--text); display: flex; align-items: center; gap: 8px; text-align: right; }
.dossier-stats small { color: var(--muted); font-size: .66rem; }
.diff { display: inline-block; width: 74px; height: 10px; background: linear-gradient(90deg, var(--orange) calc(var(--d) * 20%), #3a3d2c 0);
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 12px, transparent 12px 15.5px); mask-image: repeating-linear-gradient(90deg, #000 0 12px, transparent 12px 15.5px); }
.dossier-img-gel { background: radial-gradient(circle at 50% 60%, #2b3a1e, #10140b 75%); display: grid; place-items: center; }
.gel-art { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.gel-target { width: 26%; --paper: #d8c99c; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .6)); }
.gel-ball { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 8%, #7ef0ff 20%, #1aa9d6 70%); box-shadow: 0 0 12px rgba(126, 240, 255, .6); }
.gel-ball.g1 { left: 18%; top: 30%; } .gel-ball.g2 { left: 26%; top: 62%; width: 10px; height: 10px; background: radial-gradient(circle at 35% 30%, #fff 0 8%, #ffd36b 22%, #ff6b1a 75%); box-shadow: 0 0 12px rgba(255, 140, 61, .6); }
.gel-ball.g3 { right: 20%; top: 24%; width: 11px; height: 11px; background: radial-gradient(circle at 35% 30%, #fff 0 8%, #c0ff7a 22%, #5fb41f 75%); box-shadow: 0 0 12px rgba(160, 255, 90, .5); }
.gel-ball.g4 { right: 27%; top: 66%; } .gel-ball.g5 { left: 47%; top: 14%; width: 9px; height: 9px; }
.motion .gel-ball { animation: float 3.5s ease-in-out infinite alternate; }
.motion .gel-ball:nth-child(odd) { animation-duration: 2.8s; animation-delay: -1s; }
@keyframes float { to { transform: translateY(-10px); } }
.gel-lbl { position: absolute; left: 12px; top: 10px; font-size: .6rem; color: var(--green); margin: 0; }

/* 04 Маршрут */
.route { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 46px 28px; counter-reset: wp; }
.waypoint { position: relative; padding: 30px 22px 22px; background: var(--panel); border: 1px solid var(--line); }
.waypoint::before { content: ''; position: absolute; top: -9px; left: 22px; width: 16px; height: 16px; transform: rotate(45deg); background: var(--bg-2); border: 2px solid var(--orange); box-shadow: 0 0 12px var(--orange-glow); }
.waypoint:not(:nth-child(3n))::after { content: ''; position: absolute; top: -2px; left: calc(22px + 16px); right: -36px; height: 2px; background: repeating-linear-gradient(90deg, var(--orange) 0 8px, transparent 8px 14px); opacity: .7; }
.wp-n { font-size: .74rem; color: var(--orange); letter-spacing: .14em; }
.waypoint h3 { font: 400 1.22rem/1.2 var(--f-display); text-transform: uppercase; margin: 8px 0 8px; }
.waypoint p { color: #bdbba9; margin: 0; font-size: .95rem; }

/* 05 Безопасност */
.safety-grid { display: grid; grid-template-columns: 1.25fr 1fr .8fr; gap: 24px; align-items: stretch; }
.panel { position: relative; background: var(--panel); border: 1px solid var(--line-strong); padding: clamp(20px, 3vw, 30px); }
.panel::before { content: ''; position: absolute; top: -1px; right: -1px; width: 22px; height: 22px; border-top: 2px solid var(--orange); border-right: 2px solid var(--orange); }
.panel-title { font-size: .78rem; color: var(--orange); letter-spacing: .14em; margin: 0 0 16px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; color: #c9c7b6; font-size: .95rem; }
.checklist svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--green); padding: 3px; border: 1px solid rgba(139, 212, 80, .4); }
.checklist b { color: var(--text); font-weight: 700; }
.gear { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.gear:last-child { margin-bottom: 0; }
.gear li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; background: rgba(0, 0, 0, .3); border-left: 2px solid var(--olive-500); }
.gear-you li { border-left-color: var(--orange); }
.gear li span { color: var(--orange); font-size: .72rem; }
.gear-inline { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 22px 0 28px; }
.safety-photo img { aspect-ratio: 3 / 4; }

/* 06 Галерия */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 17vw, 230px); grid-auto-flow: dense; gap: 14px; }
.g-tall { grid-row: span 2; }
.g-feature { grid-column: span 2; grid-row: span 2; }
.g-item { position: relative; display: block; overflow: hidden; border: 1px solid var(--line); background: var(--olive-900); }
.g-item img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.05); transition: transform .5s var(--ease), filter .4s; }
.g-item:hover img { transform: scale(1.04); filter: saturate(1.1); }
.g-item span { position: absolute; top: 10px; left: 10px; font-size: .66rem; color: var(--orange); background: rgba(0, 0, 0, .7); padding: 3px 7px; }
.g-item::after { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(255, 107, 26, 0); transition: border-color .3s, inset .3s; pointer-events: none; }
.g-item:hover::after { inset: 14px; border-color: rgba(255, 107, 26, .8); }
.tiktok-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.tt-card { position: relative; aspect-ratio: 9 / 16; max-height: 640px; background: #050604; border: 1px solid var(--line-strong); overflow: hidden; }
.tt-card iframe { width: 100%; height: 100%; border: 0; }
.tt-facade { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 20px; border: 0; width: 100%;
  background: linear-gradient(rgba(10, 11, 8, .55), rgba(10, 11, 8, .85)), var(--tt-bg, none) center / cover; color: var(--text); }
.tt-play { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #120800; box-shadow: 0 0 0 8px rgba(255, 107, 26, .2); transition: transform .2s; }
.tt-facade:hover .tt-play { transform: scale(1.08); }
.tt-play svg { width: 30px; height: 30px; margin-left: 4px; }
.tt-facade small { font-size: .7rem; color: var(--khaki); }
.tt-facade b { font-size: 1.7rem; font-weight: 400; }
a.tt-facade { text-decoration: none; }
.tt-soon .tt-play { background: transparent; color: var(--orange); box-shadow: inset 0 0 0 2px var(--orange); }

.clips-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.clip-card { max-height: none; }
.clip-card video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.clip-facade { padding: 0; background: #000; }
.clip-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05) brightness(.8); transition: transform .5s var(--ease), filter .4s; }
.clip-facade:hover img { transform: scale(1.04); filter: saturate(1) brightness(.95); }
.clip-facade::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(5, 6, 4, .9)), repeating-linear-gradient(0deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 3px); }
.clip-facade .tt-play { position: relative; z-index: 1; }
.clip-rec { position: absolute; z-index: 1; top: 12px; left: 12px; font-size: .64rem; color: var(--text); background: rgba(0, 0, 0, .6); padding: 4px 8px; display: flex; align-items: center; gap: 6px; }
.clip-rec i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: pulse 1.4s infinite; }
.clip-title { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 4px; text-align: left; }
.clip-title b { font-size: 1.35rem; font-weight: 400; line-height: 1.1; }
.tt-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.tiktok-grid:not(:empty) { margin-top: 20px; }

/* 07 Ваучери */
.vouchers { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.voucher-copy p:not(.lead) { color: #c9c7b6; }
.voucher-card {
  position: relative; padding: 26px 30px 24px; color: var(--text);
  background: linear-gradient(135deg, rgba(180, 180, 60, .14), transparent 50%), url(../assets/img/camo.svg) 0 0 / 420px, var(--olive-800);
  border: 1px solid rgba(180, 180, 60, .5); box-shadow: 0 30px 70px rgba(0, 0, 0, .6);
  -webkit-mask: radial-gradient(circle at 0 62%, transparent 14px, #000 15px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 62%, transparent 14px, #000 15px) right / 51% 100% no-repeat;
          mask: radial-gradient(circle at 0 62%, transparent 14px, #000 15px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 62%, transparent 14px, #000 15px) right / 51% 100% no-repeat;
  transform: rotate(-2.5deg); transition: transform .4s var(--ease);
}
.voucher-card:hover { transform: rotate(0) scale(1.02); }
.vc-top { display: flex; justify-content: space-between; font-size: .66rem; color: var(--logo-olive); letter-spacing: .12em; border-bottom: 1px dashed rgba(180, 180, 60, .4); padding-bottom: 10px; }
.vc-logo { width: 130px; margin: 18px 0 8px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .6)); }
.vc-title { font: 400 clamp(1.6rem, 3.4vw, 2.4rem)/1 var(--f-display); margin: 0 0 6px; letter-spacing: .02em; }
.vc-sub { font-size: .74rem; color: var(--orange); letter-spacing: .2em; }
.vc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 22px; padding-top: 16px; border-top: 1px dashed rgba(180, 180, 60, .4); font-size: .7rem; }
.vc-fields span { display: block; color: var(--muted); letter-spacing: .14em; margin-bottom: 4px; }
.vc-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.barcode { flex: 1; max-width: 220px; height: 44px; background: repeating-linear-gradient(90deg, var(--text) 0 2px, transparent 2px 4px, var(--text) 4px 5px, transparent 5px 8px, var(--text) 8px 11px, transparent 11px 13px); opacity: .85; }
.vc-bottom .stamp { color: var(--orange); }

/* 08 ЧЗВ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--panel); border: 1px solid var(--line); transition: border-color .25s; }
.faq details[open] { border-color: rgba(255, 107, 26, .55); }
.faq summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 18px 54px 18px 18px; font-weight: 700; font-size: 1.04rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { font-size: .7rem; color: var(--orange); font-weight: 400; flex-shrink: 0; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; translate: 0 -50%; width: 26px; height: 26px; display: grid; place-items: center; font: 400 1.2rem/1 var(--f-mono); color: var(--orange); border: 1px solid var(--line-strong); transition: rotate .25s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 18px 20px 58px; margin: 0; color: #c2c0ae; }

/* 09 Контакти */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-btns { display: grid; gap: 14px; margin: 28px 0; }
.cbtn { display: flex; align-items: center; gap: 18px; padding: 18px 22px; text-decoration: none; background: var(--panel); border: 1px solid var(--line-strong); transition: border-color .2s, transform .2s var(--ease), background-color .2s; }
.cbtn:hover { border-color: var(--orange); transform: translateX(6px); background: rgba(255, 107, 26, .07); }
.cbtn svg { width: 46px; height: 46px; padding: 10px; flex-shrink: 0; background: var(--orange); color: #120800; }
.cbtn-viber svg { background: #7360f2; color: #fff; }
.cbtn-mail svg { background: var(--olive-500); color: #fff; }
.cbtn-email { font-size: clamp(.95rem, 2vw, 1.15rem) !important; word-break: break-all; }
.map-panel { display: grid; gap: 16px; }
.map { position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--line-strong); background: #070806; overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) invert(.92) hue-rotate(180deg) contrast(.92) brightness(.95); }
.map-facade { position: absolute; inset: 0; width: 100%; border: 0; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--text);
  background: radial-gradient(circle at 50% 50%, rgba(255, 107, 26, .12), transparent 45%), url(../assets/img/camo.svg) 0 0 / 420px, #0e120a; }
.map-grid { position: absolute; inset: 0; background: linear-gradient(rgba(139, 212, 80, .14) 1px, transparent 1px) 0 0 / 100% 40px, linear-gradient(90deg, rgba(139, 212, 80, .14) 1px, transparent 1px) 0 0 / 40px 100%; }
.map-pin { position: relative; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--orange); box-shadow: 0 0 0 10px rgba(255, 107, 26, .12), 0 0 30px var(--orange-glow); }
.map-pin svg { width: 30px; height: 30px; color: var(--orange); }
.motion .map-pin::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--orange); animation: ping 2s ease-out infinite; }
@keyframes ping { to { transform: scale(2.4); opacity: 0; } }
.map-coords { position: relative; font-size: .8rem; color: var(--green); background: rgba(0, 0, 0, .6); padding: 4px 10px; }
.map-facade .btn { position: relative; }
.map-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.map-foot .address { margin: 0; font-family: var(--f-body); font-size: .95rem; align-items: flex-start; }
.map-foot .address b { color: var(--text); }
.cbtn small { display: block; font-size: .68rem; color: var(--muted); letter-spacing: .14em; }
.cbtn b { font: 400 clamp(1.15rem, 2.4vw, 1.5rem)/1.2 var(--f-display); letter-spacing: .03em; }
.socials { display: flex; align-items: center; gap: 10px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-strong); transition: color .2s, border-color .2s; }
.socials a:hover { color: var(--orange); border-color: var(--orange); }
.socials svg { width: 20px; height: 20px; }
.socials span { font-size: .78rem; color: var(--muted); margin-left: 6px; }
.address { display: flex; gap: 10px; align-items: center; margin-top: 18px; font-size: .84rem; color: var(--khaki); }
.address svg { width: 18px; height: 18px; color: var(--orange); }

/* Модал */
.modal, .lightbox { padding: 0; border: 0; background: transparent; color: var(--text); max-width: none; max-height: none; }
.modal::backdrop, .lightbox::backdrop { background: rgba(3, 4, 2, .82); }
.modal[open] { display: grid; place-items: center; width: 100%; height: 100%; }
.modal-box { position: relative; width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overflow: auto; padding: 30px clamp(18px, 4vw, 34px); background: var(--olive-950); border: 1px solid var(--line-strong); box-shadow: 0 30px 80px #000; }
.modal-box::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: var(--orange); }
.modal[open] .modal-box { animation: modalIn .35s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.98); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0); } }
.modal-kicker { font-size: .72rem; color: var(--orange); letter-spacing: .16em; margin-bottom: 6px; }
.modal-box h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-bottom: 14px; }
.q-service { font-size: .8rem; color: var(--muted); letter-spacing: .1em; margin-bottom: 10px; }
.q-service b { color: var(--orange); }
.q-lead { color: #c9c7b6; margin-bottom: 20px; }
.q-btns { display: grid; gap: 12px; }
.q-btns .cbtn { padding: 14px 18px; }
.q-btns .cbtn svg { width: 42px; height: 42px; }
.q-note { margin: 16px 0 0; font-size: .7rem; color: var(--olive-300); }
.modal-x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; background: rgba(0, 0, 0, .5); border: 1px solid var(--line-strong); font-size: 1rem; }
.modal-x:hover { border-color: var(--orange); color: var(--orange); }
.lightbox[open] { display: grid; place-items: center; width: 100%; height: 100%; }
.lightbox figure { margin: 0; display: grid; gap: 10px; justify-items: center; }
.lightbox img { max-width: calc(100vw - 120px); max-height: calc(100dvh - 90px); object-fit: contain; border: 1px solid var(--line-strong); }
.lightbox figcaption { font-size: .78rem; color: var(--khaki); }
.lb-nav { position: absolute; top: 50%; translate: 0 -50%; width: 48px; height: 64px; background: rgba(0, 0, 0, .55); border: 1px solid var(--line-strong); font-size: 2rem; line-height: 1; }
.lb-nav:hover { color: var(--orange); border-color: var(--orange); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 44px 0 40px; background: #060705; }
.footer-inner { display: flex; align-items: center; gap: 32px; }
.footer-logo { width: 190px; height: auto; }
.footer-cols { display: grid; gap: 8px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 8px; }
.footer-nav a { text-decoration: none; color: var(--muted); font-size: .9rem; }
.footer-nav a:hover { color: var(--orange); }
.footer p { margin: 0; font-size: .7rem; color: var(--muted); }
.footer-contacts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 4px; }
.footer-contacts a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--khaki); font-size: .9rem; }
.footer-contacts a:hover { color: var(--orange); }
.footer-contacts svg { width: 16px; height: 16px; color: var(--orange); }
.footer-socials { margin: 4px 0 8px; }

/* Мобилна лента */
.mobile-bar { display: none; }

/* Глич преход + зърно */
.glitch-veil { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0;
  background:
    linear-gradient(transparent 0 18%, rgba(255, 107, 26, .25) 18% 21%, transparent 21% 47%, rgba(111, 227, 255, .18) 47% 49%, transparent 49% 72%, rgba(255, 107, 26, .2) 72% 76%, transparent 76%),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .35) 0 2px, transparent 2px 4px); }
.glitch-veil.on { animation: veil .32s steps(4) 1; }
@keyframes veil { 0% { opacity: 1; transform: translateX(-12px); } 33% { transform: translateX(10px) scaleY(1.1); } 66% { opacity: .8; transform: translateX(-5px); } 100% { opacity: 0; transform: none; } }
.grain { position: fixed; inset: 0; z-index: 80; pointer-events: none; background: url(../assets/img/noise.png); opacity: .35; }

/* =================== Адаптивност =================== */
@media (max-width: 1180px) {
  .nav-links a small { display: none; }
  .nav-brand { display: none; }
}
@media (max-width: 1060px) {
  .dossiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .safety-grid { grid-template-columns: 1fr 1fr; }
  .safety-photo { display: none; }
  .route { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .waypoint:not(:nth-child(3n))::after { display: none; }
  .waypoint:nth-child(odd)::after { display: block; }
}
@media (max-width: 980px) {
  :root { --nav-h: 60px; }
  .burger { display: flex; }
  .nav-cta { display: none; }
  .nav-actions { margin-left: auto; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 0; flex-direction: column; gap: 0; margin: 0; padding: 18px 20px 120px;
    background: rgba(8, 10, 6, .98); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav-links.open { visibility: visible; opacity: 1; transform: none; }
  .nav-links a { font: 400 1.5rem/1 var(--f-display); padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--text); }
  .nav-links a small { display: inline; font-size: .7rem; vertical-align: middle; margin-right: 12px; }
  .nav-links a::after { display: none; }
  .nav-brand { display: flex; }
}
@media (max-width: 820px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .hero { min-height: auto; }
  .hero-inner { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: calc(var(--nav-h) + 22px) 16px 0; }
  .hero-logo { width: 170px; margin: 0 0 12px -4px; }
  .hero-title { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .hero-lead { font-size: 1rem; margin-bottom: 22px; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .hero-hint { margin: 18px 0 8px; }
  .lane { min-height: 0; height: 270px; margin: 0 -16px; }
  .hud-score { width: auto; left: 16px; right: 16px; top: 4px; display: grid; grid-template-columns: auto 1fr 1fr 1fr; gap: 4px 12px; align-items: center; padding: 8px 12px; font-size: .62rem; }
  .hud-title { display: none; }
  .score-main { border: 0; padding: 0; margin: 0; gap: 8px; }
  .score-main b { font-size: 1.2rem; }
  .score-row { display: grid; line-height: 1.3; }
  .streak { position: absolute; left: 12px; bottom: -22px; margin: 0; }
  .hud-radar { display: none; }
  .hud-next { position: relative; right: auto; bottom: auto; margin: 0 16px 20px; min-width: 0; z-index: 6; }
  .hud-frame i:nth-child(n+3) { display: none; }
  .hero-sil { display: none; }
  .hero-shade { background: linear-gradient(180deg, rgba(5, 6, 4, .55) 0, rgba(5, 6, 4, .25) 30%, rgba(5, 6, 4, .55) 62%, var(--bg) 100%); }
  .hero-media { inset: 0; }
  .hero-media img, .hero-media video { filter: saturate(.85) contrast(1.08) brightness(.78); }
  .hero-title, .hero-lead { text-shadow: 0 2px 14px rgba(0, 0, 0, .95), 0 0 2px #000; }
  .about-grid, .vouchers, .contact { grid-template-columns: 1fr; }
  .about-media { min-height: 0; padding-bottom: 40px; }
  .pf-1 { width: 100%; }
  .pf-2 { width: 40%; bottom: 0; right: -6px; }
  .intel { grid-template-columns: 1fr; }
  .countdown { grid-template-columns: 1fr; }
  .cd-clock div { min-width: 0; flex: 1; }
  .dossiers { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 14px; scrollbar-width: thin; scrollbar-color: var(--orange) transparent; }
  .dossier { flex: 0 0 84%; scroll-snap-align: center; }
  .dossier:hover { transform: none; }
  .dossier-body > p:not(.op-name) { font-size: .92rem; }
  .safety-grid { grid-template-columns: 1fr; }
  .route { grid-template-columns: 1fr; gap: 26px; padding-left: 18px; border-left: 2px dashed rgba(255, 107, 26, .5); }
  .waypoint::before { left: -28px; top: 26px; }
  .waypoint::after { display: none !important; }
  .clips-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 12px; scrollbar-width: thin; scrollbar-color: var(--orange) transparent; }
  .clip-card { flex: 0 0 66%; scroll-snap-align: center; }
  .footer-contacts { justify-content: center; }
  .footer-socials { justify-content: center; }
  .map-foot .btn { flex: 1; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 34vw; gap: 8px; }
  .g-item:last-child { grid-column: span 2; }
  .bg-sil { display: none; }
  .voucher-card { transform: none; padding: 22px 20px; }
  .faq details p { padding-left: 18px; }
  .lightbox img { max-width: calc(100vw - 16px); }
  .lb-nav { top: auto; bottom: 14px; translate: none; }
  .modal[open] { place-items: end center; }
  .modal-box { width: 100%; max-height: 92dvh; border-bottom: 0; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
  .grain { display: none; }
  .status { margin-left: 0; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.2fr; position: fixed; inset: auto 0 0; z-index: 60;
    padding-bottom: env(safe-area-inset-bottom); background: rgba(8, 10, 6, .97); border-top: 1px solid var(--line-strong);
  }
  .mobile-bar a, .mobile-bar button { display: flex; align-items: center; justify-content: center; gap: 8px; height: 60px; border: 0; background: transparent; text-decoration: none; font: 400 .82rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; }
  .mobile-bar a + a { border-left: 1px solid var(--line); }
  .mobile-bar svg { width: 20px; height: 20px; color: var(--orange); }
  .mobile-bar a:nth-child(2) svg { color: #8f80ff; }
  .mobile-bar button { background: var(--orange); color: #120800; }
}
@media (max-width: 400px) {
  .nav-logo img { width: 58px; }
  .nav-brand i { font-size: 1rem; }
  .sound-lbl { display: none; }
  .cd-clock { gap: 6px; }
  .cd-clock span { letter-spacing: .08em; }
}

/* Намалено движение – изключваме анимациите */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .mission-head { opacity: 1; }
  .scanbar, .glitch-veil { display: none; }
  .rec, .dot, .status i { animation: none !important; }
}

/* =========================================================
   ДОПЪЛНЕНИЯ – v2
   ========================================================= */

/* ---------- Операция „Достойният път“ ---------- */
.op-brief {
  position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0;
  background: linear-gradient(160deg, #1b2014, #0d100a); border: 1px solid rgba(255, 107, 26, .55);
  box-shadow: 0 0 0 1px rgba(255, 107, 26, .15), 0 30px 70px rgba(0, 0, 0, .55); margin-bottom: 30px;
}
.op-brief::before { content: 'ПРИОРИТЕТНА ОПЕРАЦИЯ'; position: absolute; top: -13px; left: 18px; z-index: 2; font: 700 .66rem/1 var(--f-mono); letter-spacing: .14em; background: var(--orange); color: #120800; padding: 7px 10px; }
.op-media { position: relative; min-height: 100%; overflow: hidden; border-right: 1px solid var(--line); }
.op-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.08) brightness(.8); }
.op-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(5, 6, 4, .85)), repeating-linear-gradient(0deg, rgba(0, 0, 0, .15) 0 1px, transparent 1px 3px); }
.op-date { position: absolute; z-index: 1; left: 18px; top: 26px; display: grid; justify-items: center; background: var(--orange); color: #120800; padding: 10px 14px 8px; font-family: var(--f-display); line-height: 1; }
.op-date b { font-size: 2.6rem; font-weight: 400; }
.op-date span { font-size: .85rem; letter-spacing: .12em; }
.op-date small { font: 700 .72rem/1 var(--f-mono); margin-top: 6px; border-top: 1px solid rgba(0, 0, 0, .35); padding-top: 5px; }
.op-stamp { position: absolute; z-index: 1; right: 18px; bottom: 22px; color: var(--green); background: rgba(0, 0, 0, .55); }
.op-body { padding: 30px 30px 10px; }
.op-kicker { font-size: .7rem; color: var(--orange); letter-spacing: .1em; display: flex; align-items: flex-start; gap: 8px; line-height: 1.6; }
.op-kicker .dot { margin-top: 5px; flex-shrink: 0; }
.op-body h3 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin: 6px 0 14px; }
.op-lead { color: #cfcdbb; }
.op-facts { display: grid; grid-template-columns: repeat(3, auto); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 18px 0 0; font-size: .74rem; }
.op-facts div { background: #0b0d08; padding: 10px 12px; }
.op-facts dt { color: var(--orange); letter-spacing: .14em; font-size: .62rem; margin-bottom: 3px; }
.op-facts dd { margin: 0; color: var(--text); }
.op-program { grid-column: 1 / -1; padding: 22px 30px 30px; border-top: 1px dashed var(--line-strong); }
.op-sub { font-size: .74rem; color: var(--olive-300); letter-spacing: .14em; margin-bottom: 16px; }
.op-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.op-steps li { display: flex; gap: 12px; padding: 16px; background: rgba(0, 0, 0, .3); border-left: 2px solid var(--olive-500); font-size: .92rem; color: #bdbba9; }
.op-steps li span { color: var(--orange); font-size: .74rem; padding-top: 2px; }
.op-steps li b { display: block; color: var(--text); font-weight: 700; margin-bottom: 4px; font-size: 1rem; }
.op-steps .op-final { border-left-color: var(--orange); background: rgba(255, 107, 26, .07); }
.op-closed { display: block; margin-top: 8px; font-style: normal; font-size: .66rem; color: var(--red); letter-spacing: .06em; }
.op-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* BattleBooking */
.booking { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 30px; padding: 24px 28px; background: var(--panel); border: 1px solid var(--line-strong); position: relative; }
.booking::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--green); box-shadow: 0 0 18px rgba(139, 212, 80, .5); }
.booking-kicker { font-size: .7rem; color: var(--green); letter-spacing: .14em; margin-bottom: 6px; }
.booking h3 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); margin-bottom: 8px; }
.booking p:last-child { color: var(--muted); margin: 0; max-width: 620px; }

/* ---------- Галерия: още снимки ---------- */
.g-wide { grid-column: span 2; }
.gallery .g-more { display: none; }
.gallery.show-all .g-more { display: block; }
.g-more-wrap { display: flex; justify-content: center; margin-top: 22px; }

/* ---------- Клипове: лента ---------- */
.clips-rail { position: relative; }
.clips-grid { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 16px; scrollbar-width: thin; scrollbar-color: var(--orange) transparent; }
.clip-card { flex: 0 0 auto; height: min(560px, 70vh); width: auto; aspect-ratio: 9 / 16; max-height: none; scroll-snap-align: start; }
.clip-wide { aspect-ratio: 16 / 9; }
.clip-wide .clip-title { right: auto; max-width: 70%; }
.rail-btn { position: absolute; z-index: 3; top: calc(50% - 8px); translate: 0 -50%; width: 48px; height: 64px; background: rgba(8, 10, 6, .85); border: 1px solid var(--line-strong); font-size: 2rem; line-height: 1; color: var(--text); transition: opacity .2s, border-color .2s, color .2s; }
.rail-btn:hover { border-color: var(--orange); color: var(--orange); }
.rail-btn:disabled { opacity: 0; pointer-events: none; }
.rail-prev { left: -12px; } .rail-next { right: -12px; }

/* ---------- ЧЗВ бутони + TikTok прозорец ---------- */
.faq details .faq-act { padding-top: 0; }
.tt-box { width: min(420px, calc(100% - 24px)); padding: 54px 16px 16px; display: grid; gap: 12px; justify-items: center; }
.tt-frame { width: 100%; aspect-ratio: 9 / 16; max-height: calc(100dvh - 160px); background: #000; border: 1px solid var(--line); }
.tt-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Бисквитки ---------- */
.cookie { position: fixed; z-index: 70; left: 16px; bottom: 16px; width: min(440px, calc(100% - 32px)); padding: 16px 18px; background: rgba(12, 14, 9, .97); border: 1px solid var(--line-strong); box-shadow: 0 20px 50px rgba(0, 0, 0, .6); display: grid; gap: 12px; font-size: .86rem; color: #c9c7b6; animation: modalIn .4s var(--ease); }
.cookie p { margin: 0; }
.cookie b { color: var(--orange); font-weight: 700; font-size: .72rem; margin-right: 6px; }
.cookie-btns { display: flex; gap: 10px; justify-content: flex-end; }

/* ---------- Граната ---------- */
.nade-fx { position: fixed; inset: 0; z-index: 95; pointer-events: none; display: none; }
.nade-fx.go { display: block; }
.nade { position: absolute; left: calc(50% - 30px); top: calc(50% - 40px); width: 60px; height: 80px; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .6)); }
.go .nade { animation: nadeFall .56s cubic-bezier(.55, 0, .9, .5) forwards, nadeGone .05s .55s forwards; }
@keyframes nadeFall {
  0% { transform: translate(-30vw, -70vh) rotate(-260deg) scale(1.4); opacity: 0; }
  10% { opacity: 1; }
  70% { transform: translate(0, 0) rotate(0) scale(1); }
  82% { transform: translate(6px, -22px) rotate(25deg); }
  100% { transform: translate(10px, 0) rotate(40deg); opacity: 1; }
}
@keyframes nadeGone { to { opacity: 0; } }
.go .nade-lever { transform-origin: 40px 22px; animation: lever .5s .08s ease-out forwards; }
@keyframes lever { to { transform: translate(60px, -90px) rotate(220deg); opacity: 0; } }
.go .nade-pin { animation: lever .4s ease-out forwards; }
.nade-flash { position: absolute; inset: 0; opacity: 0; background: radial-gradient(circle at 50% 52%, #fffbe8 0, #ffd27a 14%, #ff6b1a 34%, rgba(120, 30, 0, .9) 60%, #0a0b08 85%); }
.go .nade-flash { animation: flash .9s .56s ease-out forwards; }
@keyframes flash { 0% { opacity: 0; transform: scale(.2); } 8% { opacity: 1; transform: scale(1.2); } 45% { opacity: 1; } 100% { opacity: 0; transform: scale(1.6); } }
.nade-wave { position: absolute; left: 50%; top: 52%; width: 40px; height: 40px; margin: -20px; border-radius: 50%; border: 6px solid rgba(255, 230, 180, .9); opacity: 0; }
.go .nade-wave { animation: wave .7s .58s ease-out forwards; }
@keyframes wave { 0% { opacity: 1; transform: scale(.5); } 100% { opacity: 0; transform: scale(40); border-width: 1px; } }
.nade-smoke i { position: absolute; left: 50%; top: 52%; width: 220px; height: 220px; margin: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(70, 64, 52, .9), rgba(40, 38, 30, .6) 45%, transparent 70%); opacity: 0; }
.go .nade-smoke i { animation: smoke 1s .62s ease-out forwards; }
.nade-smoke i:nth-child(1) { --x: -38vw; --y: -18vh; } .nade-smoke i:nth-child(2) { --x: 36vw; --y: -24vh; } .nade-smoke i:nth-child(3) { --x: -26vw; --y: 26vh; }
.nade-smoke i:nth-child(4) { --x: 30vw; --y: 22vh; } .nade-smoke i:nth-child(5) { --x: 0px; --y: -36vh; } .nade-smoke i:nth-child(6) { --x: 4vw; --y: 34vh; }
@keyframes smoke { 0% { opacity: .95; transform: translate(0, 0) scale(.3); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(3.4); } }
.nade-sparks i { position: absolute; left: 50%; top: 52%; width: 4px; height: 26px; margin: -13px -2px; background: linear-gradient(#fff6d0, #ff8a3d); border-radius: 2px; opacity: 0; }
.go .nade-sparks i { animation: spark .55s .58s ease-out forwards; }
.nade-sparks i:nth-child(1) { --a: 10deg; } .nade-sparks i:nth-child(2) { --a: 46deg; } .nade-sparks i:nth-child(3) { --a: 80deg; } .nade-sparks i:nth-child(4) { --a: 118deg; } .nade-sparks i:nth-child(5) { --a: 150deg; }
.nade-sparks i:nth-child(6) { --a: 190deg; } .nade-sparks i:nth-child(7) { --a: 226deg; } .nade-sparks i:nth-child(8) { --a: 262deg; } .nade-sparks i:nth-child(9) { --a: 300deg; } .nade-sparks i:nth-child(10) { --a: 334deg; }
@keyframes spark { 0% { opacity: 1; transform: rotate(var(--a)) translateY(0); } 100% { opacity: 0; transform: rotate(var(--a)) translateY(-46vmin); } }
.quake main { animation: quake .4s steps(2) 1; }
@keyframes quake { 25% { transform: translate(-6px, 4px); } 50% { transform: translate(5px, -5px); } 75% { transform: translate(-3px, 2px); } }

/* ---------- Учебен полигон: разглобяване на АК ---------- */
.ak-scene { height: 260vh; padding: 0; overflow: visible; }
.ak-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding-top: var(--nav-h); overflow: hidden; }
.ak-scene .mission-head { margin-bottom: 18px; }
.ak-scene .mission-head h2 { font-size: clamp(1.8rem, 4.2vw, 3.2rem); }
.ak-stage { position: relative; border: 1px solid var(--line-strong); background: radial-gradient(ellipse at 50% 55%, rgba(90, 107, 53, .18), transparent 70%), #080a06; }
.ak-stage::before, .ak-stage::after { content: ''; position: absolute; width: 22px; height: 22px; border: 2px solid var(--orange); }
.ak-stage::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.ak-stage::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }
.ak-svg { width: 100%; height: auto; max-height: calc(100svh - var(--nav-h) - 260px); display: block; margin: 0 auto; }
.ak-labels text { fill: var(--khaki); font-size: 15px; letter-spacing: .1em; font-family: var(--f-mono); paint-order: stroke; stroke: #080a06; stroke-width: 4px; }
.ak-hud { position: relative; padding: 12px 14px 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; font-size: .74rem; letter-spacing: .12em; color: var(--muted); z-index: 1; }
.ak-mode { color: var(--orange); font-weight: 700; }
.ak-mode[data-state="ok"] { color: var(--green); }
.ak-timer { font-size: 1.5rem; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.ak-step { margin-left: auto; color: var(--khaki); }
.ak-progress { height: 3px; background: rgba(255, 255, 255, .06); }
.ak-progress i { display: block; height: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 10px var(--orange-glow); }
.ak-static { height: auto; }
.ak-static .ak-sticky { position: relative; height: auto; padding: clamp(80px, 11vw, 140px) 0; }

@media (max-width: 1060px) {
  .op-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .op-brief { grid-template-columns: 1fr; }
  .op-media { min-height: 0; aspect-ratio: 4 / 3; border-right: 0; border-bottom: 1px solid var(--line); }
  .op-body { padding: 22px 18px 6px; }
  .op-program { padding: 18px 18px 22px; }
  .op-steps { grid-template-columns: 1fr; }
  .op-facts { grid-template-columns: 1fr; }
  .op-btns .btn { flex: 1 1 auto; }
  .booking { padding: 20px 18px; }
  .booking .btn { width: 100%; }
  .clips-grid { margin: 0 -16px; padding: 4px 16px 14px; gap: 12px; }
  .clip-card { height: auto; width: 66vw; flex: 0 0 66vw; max-height: none; }
  .clip-wide { width: 88vw; flex-basis: 88vw; align-self: center; }
  .rail-btn { display: none; }
  .gallery .g-item:last-child { grid-column: auto; }
  .cookie { left: 10px; right: 10px; width: auto; bottom: calc(70px + env(safe-area-inset-bottom)); }
  .ak-scene { height: 230vh; }
  .ak-scene .mission-sub { display: none; }
  .ak-svg { max-height: none; }
  .ak-labels text { font-size: 19px; }
  .ak-hud { padding: 10px 12px 0; font-size: .64rem; }
  .ak-timer { font-size: 1.15rem; }
  .ak-step { margin-left: 0; width: 100%; }
  .nade-smoke i { width: 160px; height: 160px; margin: -80px; }
}
@media (prefers-reduced-motion: reduce) {
  .nade-fx { display: none !important; }
}

.menu-open .mobile-bar, .menu-open .cookie { display: none; }

/* ---------- v3: плакат на събитието, АК с бутон, фирма ---------- */
.op-brief { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); }
.op-media { grid-row: 1 / span 2; display: block; background: #050604; text-decoration: none; }
.op-media::after { display: none; }
.op-media img { position: static; width: 100%; height: auto; filter: none; transition: transform .5s var(--ease); }
.op-media:hover img { transform: scale(1.02); }
.op-zoom { position: absolute; right: 12px; bottom: 12px; font-size: .66rem; letter-spacing: .12em; color: var(--text); background: rgba(0, 0, 0, .7); border: 1px solid var(--line-strong); padding: 6px 9px; }
.op-media:hover .op-zoom { border-color: var(--orange); color: var(--orange); }
.op-program { grid-column: 2; border-top: 1px dashed var(--line-strong); }
.op-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.op-steps .op-final { grid-column: 1 / -1; }

.ak-scene { height: auto; padding: clamp(80px, 11vw, 140px) 0; overflow: hidden; }
.ak-sticky { position: static; height: auto; display: block; padding: 0; overflow: visible; }
.ak-svg { max-height: 560px; cursor: pointer; }
.ak-ctrl { display: flex; justify-content: center; margin-top: 22px; }
.ak-btn { min-width: 300px; }
.ak-btn:disabled { opacity: .75; }

.footer-legal { font-size: .78rem !important; line-height: 1.6; max-width: 760px; }
.footer-legal b { color: var(--khaki); font-weight: 500; }

@media (max-width: 1060px) {
  .op-brief { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
  .op-steps { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .op-brief { grid-template-columns: 1fr; }
  .op-media { grid-row: auto; aspect-ratio: auto; }
  .op-program { grid-column: 1; }
  .ak-scene { height: auto; }
  .ak-btn { min-width: 0; width: 100%; }
}
.op-media img { position: sticky; top: calc(var(--nav-h) + 12px); }
.op-zoom { top: 12px; bottom: auto; z-index: 1; }
@media (max-width: 820px) { .op-media img { position: static; } }
