/* =========================================================
   Argonavtis — основной сайт
   Цвета и шрифты меняются в :root
   ========================================================= */
:root {
  --bg: #0a0908;
  --bg-2: #100e0c;
  --card: #161311;
  --card-2: #1c1815;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f6f1ea;
  --muted: #aaa198;
  --dim: #766e66;
  --tg: #ffb547;
  --ds: #ff7a1a;
  --bot: #ff9a3c;
  --violet: #e5450f;
  --grad: linear-gradient(120deg, #ffc061 0%, #ff7a1a 50%, #e5450f 100%);
  --radius: 24px;
  --head: "Unbounded", "Manrope", system-ui, sans-serif;
  --body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } body { overflow-x: clip; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
::selection { background: rgba(255, 122, 26, .45); }

/* ---------- Фон ---------- */
.bg-fx { position: absolute; inset: 0 0 auto; height: 1100px; overflow: hidden; pointer-events: none; z-index: 0; }
.bg-fx .orb { position: absolute; border-radius: 50%; filter: blur(120px); opacity: .5; animation: float 18s ease-in-out infinite; }
.bg-fx .o1 { width: 640px; height: 640px; background: #ff7a1a; top: -300px; left: -200px; }
.bg-fx .o2 { width: 560px; height: 560px; background: #b8320a; top: -160px; right: -240px; opacity: .42; animation-delay: -6s; }
.bg-fx .o3 { width: 420px; height: 420px; background: #ff9d3d; top: 420px; left: 40%; opacity: .22; animation-delay: -12s; }
.bg-fx .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 0%, transparent 75%);
}
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(40px, 30px); } }
header, main, footer { position: relative; z-index: 1; }

/* ---------- Шапка ---------- */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, border-color .25s, backdrop-filter .25s; border-bottom: 1px solid transparent; }
.topbar.scrolled { background: rgba(10, 9, 8, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 11px; font: 700 18px/1 var(--head); letter-spacing: .01em; }
.logo-mark svg { display: block; width: 100%; height: 100%; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px; overflow: hidden; flex: none;
  display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(255, 122, 26, .35), 0 8px 26px rgba(255, 122, 26, .3);
}
.nav-links { display: flex; gap: 30px; color: var(--muted); font-size: 15px; font-weight: 600; }
.nav-links a { position: relative; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.burger span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; inset: 72px 0 auto; z-index: 49; padding: 12px 20px 22px;
  background: rgba(10, 9, 8, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.mobile-menu a { display: block; padding: 14px 4px; font-size: 18px; font-weight: 700; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 16px; width: 100%; }
.menu-open .mobile-menu { display: block; }

/* ---------- Кнопки ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 15px; font-weight: 800; font-size: 15.5px; white-space: nowrap;
  transition: transform .18s, box-shadow .18s, background .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-main { background: var(--grad); background-size: 160% 100%; color: #fff; box-shadow: 0 12px 34px rgba(255, 122, 26, .42); animation: shift 6s ease infinite; }
.btn-main:hover { box-shadow: 0 16px 44px rgba(255, 122, 26, .6); }
.btn-ghost { background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-sm { padding: 10px 18px; font-size: 14.5px; border-radius: 13px; }
@keyframes shift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ---------- Первый экран ---------- */
.hero { padding-top: 140px; padding-bottom: 70px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); color: #e0d6cb; font-size: 14px; font-weight: 600;
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--bot); box-shadow: 0 0 0 0 rgba(255, 154, 60, .6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 154, 60, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(255, 154, 60, 0); } }
.hero h1 {
  margin-top: 24px; font: 800 clamp(32px, 4.6vw, 58px)/1.1 var(--head); letter-spacing: -.02em;
}
.hero h1 .rotator { display: inline-block; position: relative; }
.hero .lead { margin-top: 22px; max-width: 560px; color: var(--muted); font-size: clamp(16px, 1.9vw, 18.5px); }
.hero-cta { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }
.trust { margin-top: 38px; display: flex; gap: 26px; flex-wrap: wrap; color: var(--muted); font-size: 14px; font-weight: 600; }
.trust span { display: flex; align-items: center; gap: 9px; }
.trust svg { width: 20px; height: 20px; }

/* Живой чат на первом экране */
.stage { position: relative; height: 600px; text-align: left; }
.chat {
  position: absolute; left: 50%; top: 10px; width: 340px; margin-left: -170px; height: 560px;
  border-radius: 40px; padding: 10px; background: #04060c;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55), inset 0 0 0 1.5px rgba(255, 255, 255, .13), 0 0 0 7px rgba(255, 255, 255, .03);
}
.chat-screen { position: relative; height: 100%; border-radius: 31px; overflow: hidden; background: #0e1621; display: flex; flex-direction: column; }
.chat-head { display: flex; align-items: center; gap: 11px; padding: 16px 16px 12px; background: #17212b; }
.chat-ava { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #7b8a76, #56644f); font-size: 19px; flex: none; }
.chat-title b { display: block; font-size: 15px; }
.chat-title span { display: block; font-size: 12.5px; color: #7f91a4; }
.chat-title .typing-ind { color: #5eb5f7; }
.chat-body {
  flex: 1; padding: 14px 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; overflow: hidden;
  background: radial-gradient(circle at 20% 20%, rgba(255, 150, 50, .08), transparent 40%), #0e1621;
}
.msg { max-width: 86%; padding: 9px 12px 7px; border-radius: 16px; font-size: 13.5px; line-height: 1.42; animation: pop .35s ease-out both; }
.msg small { display: block; text-align: right; margin-top: 2px; font-size: 10.5px; opacity: .55; }
.msg.in { align-self: flex-start; background: #182533; border-bottom-left-radius: 5px; }
.msg.out { align-self: flex-end; background: #2b5278; border-bottom-right-radius: 5px; }
.msg.order { border-left: 3px solid var(--bot); }
.msg b { font-weight: 800; }
.kb { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 6px; }
.kb span { padding: 7px 4px; border-radius: 9px; text-align: center; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .09); transition: background .2s, transform .2s; }
.kb span.full { grid-column: 1 / -1; }
.kb span.tap { background: rgba(94, 181, 247, .35); transform: scale(.96); }
.status-tag { display: inline-block; margin-top: 6px; padding: 3px 9px; border-radius: 7px; background: rgba(34, 197, 94, .18); color: #4ade80; font-size: 12px; font-weight: 800; }
.chat-input { display: flex; align-items: center; gap: 8px; padding: 10px 12px 14px; background: #17212b; }
.chat-input div { flex: 1; height: 34px; border-radius: 17px; background: #0e1621; color: #5f7183; font-size: 13px; display: flex; align-items: center; padding: 0 14px; }
.chat-input i { width: 34px; height: 34px; border-radius: 50%; background: #2aabee; display: grid; place-items: center; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }

.float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 11px 15px; border-radius: 16px;
  background: rgba(22, 19, 17, .82); border: 1px solid var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .4); font-size: 13.5px; font-weight: 700; white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}
.float small { display: block; color: var(--muted); font-weight: 600; font-size: 12px; }
.float .ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-size: 17px; flex: none; }
.f1 { left: -34px; top: 150px; }
.f1 .ic { background: rgba(255, 150, 50, .2); }
.f2 { right: -40px; top: 300px; animation-delay: -2s; }
.f2 .ic { background: rgba(255, 122, 26, .25); }
.f3 { left: -24px; bottom: 30px; animation-delay: -4s; }
.f3 .ic { background: rgba(229, 69, 15, .25); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Бегущая строка ---------- */
.marquee { position: relative; padding: 22px 0; border-block: 1px solid var(--line); background: rgba(255, 255, 255, .015); overflow: hidden; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.marquee-track { display: flex; width: max-content; animation: scroll 38s linear infinite; will-change: transform; }
.marquee-track span { display: flex; align-items: center; gap: 46px; padding-right: 46px; font: 600 clamp(17px, 2.2vw, 22px)/1 var(--head); color: #d9cfc4; white-space: nowrap; }
.marquee-track span::after { content: "✦"; color: #ff7a1a; font-size: .8em; }
@keyframes scroll { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Разделы ---------- */
section { padding: 96px 0; position: relative; }
.sec-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; color: #ffa24d; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .14em;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.sec-head h2 { margin-top: 14px; font: 800 clamp(28px, 4vw, 46px)/1.12 var(--head); letter-spacing: -.02em; }
.sec-head p { margin-top: 16px; color: var(--muted); font-size: 17.5px; }

/* Карточки с подсветкой за курсором */
.glow-card { position: relative; isolation: isolate; }
.glow-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 140, 50, .16), transparent 45%);
}
.glow-card:hover::after { opacity: 1; }

/* ---------- Услуги ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc {
  padding: 32px 28px; border-radius: var(--radius); background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line);
  transition: transform .25s, border-color .25s;
}
.svc:hover { transform: translateY(-6px); border-color: var(--line-2); }
.svc-icon {
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: var(--c);
  background: color-mix(in srgb, var(--c) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 30%, transparent);
}
.svc-icon svg { width: 29px; height: 29px; }
.svc h3 { margin-top: 22px; font: 700 21px/1.25 var(--head); }
.svc > p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.svc ul { margin: 22px 0 0; padding: 22px 0 0; list-style: none; display: grid; gap: 12px; border-top: 1px solid var(--line); }
.svc li { display: flex; gap: 11px; font-size: 15px; color: #e2d9cf; }
.svc li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 7px;
  background: color-mix(in srgb, var(--c) 24%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' stroke='white' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.svc-tg { --c: var(--tg); }
.svc-ds { --c: var(--ds); }
.svc-bot { --c: var(--bot); }

/* ---------- Витрина оформления ---------- */
.tabs { display: flex; justify-content: center; gap: 8px; margin: 0 auto 34px; padding: 6px; width: max-content; max-width: 100%; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.tab { padding: 11px 20px; border-radius: 13px; font-weight: 800; font-size: 15px; color: var(--muted); display: flex; align-items: center; gap: 8px; transition: background .2s, color .2s; }
.tab svg { width: 18px; height: 18px; }
.tab.active { background: var(--card-2); color: var(--text); box-shadow: 0 6px 18px rgba(0, 0, 0, .3), inset 0 0 0 1px var(--line-2); }
.panel { display: none; }
.panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; animation: pop .45s ease-out; }
.panel-text h3 { font: 800 clamp(24px, 3vw, 34px)/1.15 var(--head); letter-spacing: -.02em; }
.panel-text > p { margin-top: 14px; color: var(--muted); font-size: 16.5px; }
.checks { margin-top: 24px; display: grid; gap: 14px; }
.checks div { display: flex; gap: 14px; }
.checks i { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-style: normal; font-size: 18px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.checks b { display: block; font-size: 15.5px; }
.checks span { display: block; color: var(--muted); font-size: 14.5px; }
.before-after { margin-top: 26px; display: inline-flex; gap: 8px; padding: 5px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.before-after button { padding: 9px 16px; border-radius: 10px; font-weight: 800; font-size: 14px; color: var(--muted); }
.before-after button.on { background: var(--grad); color: #fff; }

/* Макет Telegram-канала */
.tg-mock { max-width: 400px; margin: 0 auto; border-radius: 28px; overflow: hidden; background: #0e1621; border: 1px solid var(--line-2); box-shadow: 0 40px 80px rgba(0, 0, 0, .5); }
.tg-cover { position: relative; height: 150px; background: #2b3540; transition: background .5s; }
.tg-cover::after { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .5s;
  background-image: radial-gradient(circle at 15% 30%, rgba(255, 255, 255, .25) 0 2px, transparent 3px), radial-gradient(circle at 70% 60%, rgba(255, 255, 255, .2) 0 2px, transparent 3px), radial-gradient(circle at 40% 80%, rgba(255, 255, 255, .25) 0 2px, transparent 3px), radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .3) 0 2px, transparent 3px);
  background-size: 90px 90px; }
.tg-ava {
  position: absolute; left: 50%; bottom: -44px; width: 92px; height: 92px; margin-left: -46px; border-radius: 50%;
  display: grid; place-items: center; font-size: 40px; background: #3a4654; border: 4px solid #0e1621; transition: background .5s;
}
.tg-info { padding: 56px 20px 18px; text-align: center; }
.tg-name { font-size: 20px; font-weight: 800; display: inline-flex; align-items: center; gap: 6px; }
.tg-name .emoji-status { opacity: 0; transform: scale(.4); transition: all .4s; }
.tg-sub { color: #7f91a4; font-size: 14px; margin-top: 3px; }
.tg-desc { margin-top: 12px; font-size: 14px; color: #c5d0dc; line-height: 1.5; min-height: 42px; }
.tg-boost { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; background: rgba(255, 255, 255, .06); color: #7f91a4; transition: all .4s; }
.tg-post { margin: 0 14px 16px; padding: 12px 14px; border-radius: 16px; background: #182533; font-size: 13.5px; color: #d6dee8; }
.tg-reacts { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.tg-reacts span { padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .07); font-size: 12.5px; font-weight: 700; }
.tg-mock:not(.pro) .tg-cover { background: #222b35; }
.tg-mock:not(.pro) .tg-ava { font: 700 36px var(--body); color: #c3ccd6; background: #5b6672; }
.tg-mock:not(.pro) .tg-desc { color: #7f91a4; }
.tg-mock:not(.pro) .tg-post { display: none; }
.tg-mock.pro .tg-cover { background: linear-gradient(135deg, #ffc061, #ff7a1a 55%, #e5450f); }
.tg-mock.pro .tg-cover::after { opacity: 1; }
.tg-mock.pro .tg-ava { background: linear-gradient(135deg, #ffd36e, #ff7a59); }
.tg-mock.pro .tg-name .emoji-status { opacity: 1; transform: none; }
.tg-mock.pro .tg-boost { background: linear-gradient(120deg, rgba(255, 150, 50, .25), rgba(229, 69, 15, .25)); color: #fff; }
.tg-mock.pro .tg-reacts span { background: rgba(255, 122, 26, .22); }

/* Макет Discord-сервера */
.ds-mock { display: grid; grid-template-columns: 64px 1fr; max-width: 460px; margin: 0 auto; border-radius: 22px; overflow: hidden; background: #1e1f22; border: 1px solid var(--line-2); box-shadow: 0 40px 80px rgba(0, 0, 0, .5); font-size: 14px; }
.ds-rail { padding: 12px 0; display: flex; flex-direction: column; align-items: center; gap: 10px; background: #1e1f22; }
.ds-rail i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 18px; background: #313338; }
.ds-rail i.on { border-radius: 15px; background: var(--ds); }
.ds-side { background: #2b2d31; }
.ds-banner { position: relative; height: 112px; background: linear-gradient(135deg, #5865f2 0%, #a855f7 60%, #f472b6 100%); }
.ds-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(43, 45, 49, .95)); }
.ds-banner b { position: absolute; left: 14px; bottom: 10px; z-index: 1; font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 6px; }
.ds-level { margin: 10px 12px 4px; padding: 10px 12px; border-radius: 12px; background: rgba(244, 114, 182, .12); }
.ds-level div { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 800; color: #f9a8d4; }
.ds-level .bar { height: 6px; margin-top: 8px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.ds-level .bar span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #f472b6, #a855f7); border-radius: 6px; transform-origin: left; animation: grow 1.8s ease-out both; }
@keyframes grow { from { transform: scaleX(0); } }
.ds-cat { padding: 12px 14px 4px; font-size: 11.5px; font-weight: 800; color: #949ba4; text-transform: uppercase; letter-spacing: .04em; }
.ds-ch { margin: 1px 8px; padding: 6px 8px; border-radius: 6px; color: #949ba4; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.ds-ch.on { background: #404249; color: #fff; }
.ds-roles { padding: 6px 14px 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.ds-roles span { padding: 3px 9px; border-radius: 6px; font-size: 12px; font-weight: 800; background: rgba(255, 255, 255, .06); }

/* Макет сообщения бота для сотрудников */
.bot-mock { max-width: 400px; margin: 0 auto; padding: 18px; border-radius: 26px; background: #0e1621; border: 1px solid var(--line-2); box-shadow: 0 40px 80px rgba(0, 0, 0, .5); }
.bot-mock .group { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.bot-mock .group .chat-ava { background: linear-gradient(135deg, #22c55e, #0ea5e9); }
.bot-mock .msg { max-width: 100%; animation: none; }
.bot-mock .kb span { cursor: pointer; }
.bot-mock .kb span:hover { background: rgba(255, 255, 255, .16); }

/* ---------- Портфолио ---------- */
.cases { display: grid; gap: 28px; }
.case {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; overflow: hidden;
  padding: 48px; border-radius: 34px; background: linear-gradient(155deg, #1c1714, #110e0c 70%); border: 1px solid var(--line);
}
.case.alt { grid-template-columns: 1fr 1fr; }
.case.alt .case-text { order: 2; }
.case-tag { display: inline-flex; gap: 8px; align-items: center; padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 800; background: var(--tagbg); color: var(--tagc); }
.case h3 { margin-top: 18px; font: 800 clamp(24px, 3.1vw, 36px)/1.14 var(--head); letter-spacing: -.02em; }
.case-text > p { margin-top: 14px; color: var(--muted); font-size: 16.5px; }
.features { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feat { padding: 15px 16px; border-radius: 16px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); }
.feat b { display: block; font-size: 15px; }
.feat span { display: block; margin-top: 4px; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.stack { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.stack span { padding: 6px 12px; border-radius: 9px; background: rgba(255, 255, 255, .06); color: #d9cfc4; font-size: 13px; font-weight: 700; }

.phones { position: relative; height: 560px; }
.phone {
  position: absolute; width: 228px; border-radius: 36px; padding: 9px; background: #04060c;
  box-shadow: 0 34px 70px rgba(0, 0, 0, .55), inset 0 0 0 1.5px rgba(255, 255, 255, .13);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.phone::before { content: ""; position: absolute; top: 17px; left: 50%; width: 70px; height: 20px; margin-left: -35px; border-radius: 12px; background: #04060c; z-index: 2; }
.phone img { width: 100%; border-radius: 28px; aspect-ratio: 540 / 1107; object-fit: cover; object-position: top; }
.phone-1 { left: 2%; top: 64px; transform: rotate(-8deg); }
.phone-2 { left: 50%; top: 0; margin-left: -114px; z-index: 2; }
.phone-3 { right: 2%; top: 64px; transform: rotate(8deg); }
.case:hover .phone-1 { transform: rotate(-11deg) translateX(-10px); }
.case:hover .phone-3 { transform: rotate(11deg) translateX(10px); }
.case:hover .phone-2 { transform: translateY(-8px); }

.case-anji { --tagbg: rgba(102, 117, 98, .28); --tagc: #c3d4bd; }
.case-wiki { --tagbg: rgba(229, 69, 15, .2); --tagc: #ffc58a; }
.case-cbm { --tagbg: rgba(236, 72, 153, .18); --tagc: #f9a8d4; background: radial-gradient(120% 90% at 100% 0%, rgba(120, 20, 40, .35), transparent 60%), linear-gradient(155deg, #1c1714, #110e0c 70%); }

/* Скриншоты Discord: коллаж из окон */
.shots { position: relative; width: 100%; aspect-ratio: 530 / 560; }
.shot {
  position: absolute; overflow: hidden; border-radius: 18px; background: #1a1114;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .1);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.shot img { display: block; width: 100%; height: auto; }
.shot-side { left: 0; top: 0; width: 41%; height: 100%; }
.shot-side img { height: 100%; object-fit: cover; object-position: top; }
.shot-stick { right: 0; top: 2%; width: 62%; z-index: 2; transform: rotate(2.5deg); }
.shot-roles { left: 30%; top: 52%; width: 33%; z-index: 3; transform: rotate(-4deg); }
.shot-tag { right: 1%; bottom: 0; width: 38%; z-index: 4; transform: rotate(3deg); }
.case:hover .shot-stick { transform: rotate(1deg) translateY(-6px); }
.case:hover .shot-roles { transform: rotate(-6deg) translateX(-8px); }
.case:hover .shot-tag { transform: rotate(4.5deg) translate(6px, 4px); }

/* Живой блок Discord под кейсом */
.ds-live { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; gap: 20px; }
.ds-live.has-frame { grid-template-columns: 1fr 350px; }
.ds-card { overflow: hidden; border-radius: 22px; background: #14110f; border: 1px solid var(--line); display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; }
.has-frame .ds-card { grid-template-columns: 1fr; align-content: start; }
.live-banner { position: relative; overflow: hidden; aspect-ratio: 1400 / 781; background: #0e0c0a; }
.live-banner img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.ds-card:hover .live-banner img { transform: scale(1.03); }
.ds-card-body { padding: 30px 30px 30px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.has-frame .ds-card-body { padding: 22px 26px 26px; }
.ds-card-title { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ds-card-title b { font: 800 22px/1.2 var(--head); }
.ds-online { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; background: rgba(35, 165, 90, .14); color: #6ee7a0; font-size: 13px; font-weight: 800; }
.ds-online i { width: 8px; height: 8px; border-radius: 50%; background: #23a55a; box-shadow: 0 0 0 0 rgba(35, 165, 90, .6); animation: pulse 2s infinite; }
.ds-online em { font-style: normal; }
.ds-live [hidden] { display: none !important; }
.ds-card-body p { color: var(--muted); font-size: 15px; }
.btn-ds { align-self: flex-start; margin-top: 6px; background: var(--grad); color: #fff; box-shadow: 0 12px 30px rgba(255, 122, 26, .4); }
.btn-ds:hover { filter: brightness(1.08); }
.ds-frame { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #14110f; }
.ds-frame iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(35, 165, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(35, 165, 90, 0); } }
@media (max-width: 820px) { .ds-live.has-frame { grid-template-columns: 1fr; } .ds-card { grid-template-columns: 1fr; } .ds-frame iframe { height: 420px; } }
@media (max-width: 560px) { .ds-card-body, .has-frame .ds-card-body { padding: 18px 18px 20px; } .btn-ds { align-self: stretch; } }

/* ---------- Этапы ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps::before { content: ""; position: absolute; top: 33px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, transparent, rgba(255, 122, 26, .5), transparent); }
.step { position: relative; padding: 0 6px; text-align: center; }
.step-num {
  position: relative; z-index: 1; width: 66px; height: 66px; margin: 0 auto; border-radius: 20px; display: grid; place-items: center;
  font: 800 20px/1 var(--head); background: var(--card-2); border: 1px solid var(--line-2); box-shadow: 0 0 0 8px var(--bg);
}
.step:nth-child(1) .step-num { color: var(--tg); }
.step:nth-child(2) .step-num { color: #ff9a3c; }
.step:nth-child(3) .step-num { color: var(--violet); }
.step:nth-child(4) .step-num { color: var(--bot); }
.step h3 { margin-top: 22px; font: 700 18px/1.3 var(--head); }
.step p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- Цифры ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 30px 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.stat b { display: block; font: 800 clamp(26px, 2.6vw, 34px)/1.1 var(--head); letter-spacing: -.02em; white-space: nowrap; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- Вопросы ---------- */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
details { border-radius: 20px; background: var(--card); border: 1px solid var(--line); padding: 0 24px; transition: border-color .2s, background .2s; }
details[open] { border-color: var(--line-2); background: var(--card-2); }
summary {
  list-style: none; cursor: pointer; padding: 21px 0; font-weight: 800; font-size: 16.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 10px; transition: transform .25s;
  background: rgba(255, 255, 255, .06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4v12M4 10h12' stroke='%23c3cadf' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 22px; color: var(--muted); font-size: 15.5px; }

/* ---------- Призыв ---------- */
.cta {
  position: relative; overflow: hidden; text-align: center; padding: 76px 28px; border-radius: 36px;
  background: radial-gradient(circle at 15% 0%, rgba(255, 150, 50, .35), transparent 50%),
              radial-gradient(circle at 90% 100%, rgba(229, 69, 15, .38), transparent 55%), #1a120c;
}
.cta::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--a, 0deg), #ffc061, #ff7a1a, #e5450f, #ffc061);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 6s linear infinite;
}
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --a: 360deg; } }
.cta h2 { position: relative; font: 800 clamp(28px, 4.4vw, 50px)/1.1 var(--head); letter-spacing: -.02em; }
.cta p { position: relative; margin: 16px auto 0; max-width: 540px; color: #e0d6cb; font-size: 17.5px; }
.cta .hero-cta { position: relative; justify-content: center; }

/* ---------- Подвал ---------- */
footer { padding: 50px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
.foot { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot p { margin-top: 12px; max-width: 320px; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; font-weight: 600; }
.foot nav a:hover { color: var(--text); }
.copy { margin-top: 34px; color: var(--dim); font-size: 13.5px; }

/* ---------- Появление ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.reveal.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .trust { justify-content: center; }
  .stage { max-width: 520px; width: 100%; margin: 10px auto 0; }
  .services { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .panel.active { grid-template-columns: 1fr; }
  .panel-text { text-align: center; }
  .checks { text-align: left; max-width: 520px; margin-left: auto; margin-right: auto; }
  .case, .case.alt { grid-template-columns: 1fr; padding: 34px 24px; }
  .case.alt .case-text { order: 0; }
  .phones, .shots { width: 100%; max-width: 560px; margin: 0 auto; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-links, .nav-right .btn { display: none; }
  .burger { display: block; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before, .steps-line { display: none; }
}
@media (max-width: 560px) {
  .hero { padding-top: 104px; padding-bottom: 40px; }
  section { padding: 72px 0; }
  .stage { height: 540px; margin-top: 24px; }
  .chat { top: 20px; }
  .chat { width: 290px; margin-left: -145px; height: 500px; border-radius: 36px; }
  .chat-screen { border-radius: 28px; }
  .float { font-size: 12.5px; padding: 9px 12px; }
  .float .ic { width: 30px; height: 30px; font-size: 15px; }
  .f1 { left: 0; top: -6px; }
  .f2 { display: none; }
  .f3 { right: 0; left: auto; bottom: -4px; }
  .hero-cta .btn { width: 100%; }
  .trust { gap: 14px 20px; }
  .tabs { width: 100%; }
  .tab { flex: 1; justify-content: center; padding: 11px 8px; font-size: 13.5px; }
  .tab svg { display: none; }
  .features { grid-template-columns: 1fr; }
  .phones { height: 400px; }
  .phone { width: 160px; border-radius: 26px; padding: 6px; }
  .phone::before { top: 12px; width: 50px; height: 14px; margin-left: -25px; }
  .phone img { border-radius: 21px; }
  .phone-2 { margin-left: -80px; }
  .phone-1, .phone-3 { top: 48px; }
  .phone-1 { left: -2%; }
  .phone-3 { right: -2%; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .ds-mock { grid-template-columns: 52px 1fr; }
  .ds-rail i { width: 38px; height: 38px; }
  .cta { padding: 56px 20px; border-radius: 28px; }
  .cta .btn { width: 100%; }
}

/* =====================================================================
   v3: эффекты в духе Obys — прелоадер, большое имя, фигура, курсор
   ===================================================================== */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

/* Прелоадер: показывается только при включённых анимациях */
.loader { display: none; }
.fx .loader {
  position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 20px 34px; background: #070605; color: var(--text);
  animation: loaderSafety .01s 16s forwards; touch-action: none; /* если скрипты не загрузились */
}
.loader-word { font: 800 13.4vw/.86 var(--head); letter-spacing: -.04em; white-space: nowrap; overflow: hidden; }
.loader-word .ch { display: inline-block; }
.loader-foot { display: flex; justify-content: space-between; margin-top: 22px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.loader-foot b { color: var(--text); font-variant-numeric: tabular-nums; }
.loader-bar { height: 2px; margin-top: 14px; background: rgba(255, 255, 255, .08); }
.loader-bar i { display: block; height: 100%; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; }
@keyframes loaderSafety { to { visibility: hidden; opacity: 0; } }

/* Буквы, которые выезжают из-под маски */
[data-letters] { display: flex; justify-content: space-between; overflow: hidden; }
[data-letters] .ch { display: inline-block; }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word > span { display: inline-block; }
.grad-text .split-word > span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Большое имя после бегущей строки */
.mega { padding: 70px 0 30px; overflow: hidden; }
.mega-word { font: 800 12.4vw/.84 var(--head); letter-spacing: -.045em; white-space: nowrap; color: #f6f1ea; }
.mega-word .ch { background: linear-gradient(180deg, #fff 35%, rgba(255, 255, 255, .3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mega-meta { display: flex; justify-content: space-between; gap: 14px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line-2); color: var(--muted); font-size: 14px; font-weight: 700; }

/* Сцена с фигурой */
.scene { padding: 40px 0 60px; }
.scene-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.scene-item { min-height: 52vh; display: flex; flex-direction: column; justify-content: center; max-width: 480px; transition: opacity .5s; }
.fx .scene-item { opacity: .22; }
.fx .scene-item.on { opacity: 1; }
.scene-num { font-weight: 800; font-size: 13px; letter-spacing: .14em; color: var(--dim); }
.scene-item h3 { margin-top: 0; font: 800 clamp(30px, 4vw, 52px)/1.06 var(--head); letter-spacing: -.03em; }
.scene-item p { margin-top: 18px; color: var(--muted); font-size: 18px; }
.mini-shape { display: none; }
.scene-sticky { position: sticky; top: calc(50vh - 250px); height: 500px; display: grid; place-items: center; }
.ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ring text { font: 700 17px var(--head); letter-spacing: .12em; fill: rgba(246, 241, 234, .55); }
.shape { position: relative; width: 300px; height: 300px; clip-path: circle(50% at 50% 50%); }
.sf { position: absolute; inset: 0; opacity: 0; transition: opacity .7s; }
.sf.on { opacity: 1; }
.sf-0 { background: radial-gradient(circle at 30% 25%, #ffe0b0, #ffb547 45%, #c2410c); }
.sf-1 { background: radial-gradient(circle at 30% 25%, #ffc28a, #ff7a1a 45%, #9a2d06); }
.sf-2 { background: radial-gradient(circle at 30% 25%, #ffe1b8, #e5450f 45%, #5a1a04 120%); }
.sh-ic { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; opacity: 0; transform: scale(.6) rotate(-20deg); transition: opacity .5s, transform .7s cubic-bezier(.2, .8, .2, 1); }
.sh-ic.on { opacity: 1; transform: none; }
.sh-ic svg { width: 96px; height: 96px; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .3)); }
.scene-label { position: absolute; bottom: -46px; display: flex; gap: 6px; font: 600 16px var(--body); color: var(--muted); }
.scene-label b { color: var(--text); font-weight: 700; }

/* Линия прогресса в этапах */
.steps-line { position: absolute; top: 33px; left: 8%; right: 8%; height: 2px; background: var(--grad); transform-origin: left; transform: scaleX(0); z-index: 0; }
html:not(.fx) .steps-line { transform: none; opacity: .6; }

/* Призыв: «тык, тык, готово.» */
.cta-click { position: relative; margin-bottom: 14px; font: 700 clamp(18px, 2.4vw, 26px) var(--head); letter-spacing: -.01em; }
.cta-click span:nth-child(1) { color: var(--text); }
.cta-click span:nth-child(2) { color: var(--dim); }
.cta-click span:nth-child(3) { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Огромное имя в подвале */
.foot-mega-wrap { overflow: hidden; margin-top: 30px; }
.foot-mega {
  font: 800 12.4vw/.8 var(--head); letter-spacing: -.045em; white-space: nowrap; padding-bottom: 2vw;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.foot-mega.is-split { background: none; }

/* Свой курсор (только мышь) */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .fx .cursor { display: block; position: fixed; inset: 0; z-index: 150; pointer-events: none; }
  .cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; opacity: 0; transition: opacity .3s; }
  .cursor.on .cursor-dot, .cursor.on .cursor-ring { opacity: 1; }
  .cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
  .cursor-ring {
    width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid rgba(255, 255, 255, .45);
    display: grid; place-items: center; transition: opacity .3s, width .35s cubic-bezier(.2, .8, .2, 1), height .35s cubic-bezier(.2, .8, .2, 1), margin .35s cubic-bezier(.2, .8, .2, 1), background .35s, border-color .35s;
  }
  .cursor.hover .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255, 122, 26, .16); border-color: rgba(255, 170, 90, .8); }
  .cursor.label .cursor-ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: rgba(255, 255, 255, .95); border-color: transparent; }
  .cursor-label { font: 800 12px var(--body); color: #0a0908; letter-spacing: .04em; opacity: 0; transition: opacity .2s; }
  .cursor.label .cursor-label { opacity: 1; }
}

/* Когда анимации ведёт GSAP, CSS-ховеры телефонов не мешают */
.gsap-on .case:hover .phone-1, .gsap-on .case:hover .phone-3, .gsap-on .case:hover .phone-2 { transform: none; }

@media (max-width: 820px) {
  .scene-grid { grid-template-columns: 1fr; gap: 0; }
  .scene-stage { display: none; }
  .scene-item { min-height: 0; padding: 34px 0; border-top: 1px solid var(--line); max-width: none; }
  .fx .scene-item { opacity: 1; }
  .mini-shape { display: grid; place-items: center; width: 84px; height: 84px; margin-top: 18px; color: #fff; }
  .mini-shape svg { width: 38px; height: 38px; }
  .s-tg { border-radius: 50%; background: radial-gradient(circle at 30% 25%, #ffe0b0, #ffb547 45%, #c2410c); }
  .s-ds { border-radius: 26px; background: radial-gradient(circle at 30% 25%, #ffc28a, #ff7a1a 45%, #9a2d06); }
  .s-bot { clip-path: polygon(50% 0, 100% 92%, 0 92%); background: radial-gradient(circle at 50% 60%, #ffe1b8, #e5450f 50%, #5a1a04 130%); padding-top: 22px; }
  .s-bot svg { width: 30px; height: 30px; }
  .mega { padding: 48px 0 10px; }
  .mega-meta { flex-direction: column; gap: 6px; font-size: 13px; }
}

.gsap-on .panel.active { animation: none; }
.gsap-on .services { perspective: 1400px; }
.gsap-on .svc:hover { transform: none; translate: 0 -6px; }
.gsap-on .svc { transition: translate .25s, border-color .25s; }

/* =====================  Фонарик  ===================== */
.torch-secrets, .torch-hint { display: none; }
.fx .torch { position: relative; --tx: -999px; --ty: -999px; }
.fx .torch::after {
  content: ""; position: absolute; inset: -2px; z-index: 6; pointer-events: none;
  background: radial-gradient(circle 240px at var(--tx) var(--ty), rgba(10, 9, 8, 0) 0%, rgba(10, 9, 8, .25) 45%, rgba(10, 9, 8, .955) 100%);
}
.fx .mega.torch { padding: 120px 0 110px; }
.fx .torch-secrets { display: block; position: absolute; inset: 0; pointer-events: none; }
.torch-secrets span {
  position: absolute; font: 700 clamp(13px, 1.3vw, 17px) var(--head); letter-spacing: .06em; text-transform: uppercase;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap;
}
.fx .torch-hint {
  display: flex; align-items: center; gap: 10px; position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 7;
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); white-space: nowrap;
}
.torch-hint i { width: 10px; height: 10px; border-radius: 50%; background: #ffe9a8; box-shadow: 0 0 14px 4px rgba(255, 220, 140, .6); animation: pulseTorch 1.6s ease-in-out infinite; }
@keyframes pulseTorch { 50% { opacity: .35; } }
.th-touch { display: none; }
@media (hover: none) { .th-touch { display: inline; } .th-mouse { display: none; } }
.fx .stats.torch { border-radius: 26px; }
.fx .stats.torch::after { inset: -30px; }

@media (hover: hover) and (pointer: fine) {
  .fx .cursor-ring {
    width: 520px; height: 520px; margin: -260px 0 0 -260px; border: 0; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 236, 190, .11) 0%, rgba(255, 170, 90, .06) 30%, transparent 62%);
    mix-blend-mode: screen; transition: opacity .3s, background .3s;
  }
  .fx .cursor.hover .cursor-ring, .fx .cursor.label .cursor-ring { width: 520px; height: 520px; margin: -260px 0 0 -260px; background: radial-gradient(circle, rgba(255, 236, 190, .2) 0%, rgba(255, 170, 90, .09) 30%, transparent 62%); border: 0; }
  .fx .cursor.dark .cursor-ring { opacity: 0; }
  .fx .cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: #fff3cf; box-shadow: 0 0 12px 3px rgba(255, 225, 150, .55); transition: opacity .3s, scale .25s; }
  .fx .cursor.hover .cursor-dot { scale: 2.2; }
  .fx .torch, .fx .torch * { cursor: none; }
}

.ts1 { left: 6%; top: 13%; } .ts2 { left: 42%; top: 7%; } .ts3 { right: 6%; top: 15%; }
.ts4 { left: 12%; bottom: 22%; } .ts5 { left: 41%; bottom: 20%; } .ts6 { right: 9%; bottom: 23%; }
@media (max-width: 820px) {
  .fx .mega.torch { padding: 96px 0 92px; }
  .torch-secrets span { font-size: 11px; letter-spacing: .04em; }
  .ts2, .ts5 { display: none; }
  .ts1 { left: 5%; top: 10%; } .ts3 { right: 5%; top: 24%; }
  .ts4 { left: 5%; top: auto; bottom: 27%; } .ts6 { right: 5%; bottom: 27%; }
  .fx .torch-hint { bottom: 18px; font-size: 11px; }
}

.scene { padding: 0 0 20px; }
.s-ds, .s-bot { border-radius: 50%; clip-path: none; padding-top: 0; }
.s-bot svg { width: 38px; height: 38px; }
.mini-shape { margin: 0 0 18px; }
/* На телефонах и планшетах фонарика нет: всё видно сразу */
@media (hover: none), (pointer: coarse) {
  .fx .torch::after, .fx .torch-secrets { display: none; }
  .fx .mega.torch { padding: 48px 0 10px; }
}

/* Телефоны: убираем тяжёлое — размытие под шапкой и плавающие пятна фона */
@media (hover: none), (pointer: coarse), (max-width: 820px) {
  .bg-fx .orb { display: none; }
  .bg-fx { background: radial-gradient(90% 50% at 0% 0%, rgba(255, 122, 26, .35), transparent 70%), radial-gradient(80% 45% at 100% 5%, rgba(184, 50, 10, .3), transparent 70%); }
  .topbar.scrolled, .mobile-menu { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(10, 9, 8, .97); }
  .float { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(22, 19, 17, .96); }
  .glow-card::after { display: none; }
}
@media (hover: none), (pointer: coarse), (max-width: 820px) {
  .cta::before, .btn-main, .marquee-track span::after { animation: none; }
  .marquee-track { will-change: auto; }
}

html.is-loading, html.is-loading body { overflow: hidden; }

/* =========================================================
   Только компьютер (класс .fxd ставит js/fx-desktop.js)
   ========================================================= */
.fxd-progress { position: fixed; left: 0; top: 0; z-index: 60; width: 100%; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 14px rgba(255, 122, 26, .7); pointer-events: none; }
.fxd .hero { position: relative; }
.fxd .hero-grid { position: relative; z-index: 1; }
.fxd-sky { position: absolute; top: -140px; bottom: -40px; left: 50%; width: 100vw; height: calc(100% + 180px); margin-left: -50vw; z-index: 0; pointer-events: none; }
.fxd .stage .chat { transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; }
.fxd .stage .float { translate: var(--px, 0px) var(--py, 0px); }
.fxd .stage .f2 { translate: calc(var(--px, 0px) * 1.7) calc(var(--py, 0px) * 1.7); }
.fxd .stage .f3 { translate: calc(var(--px, 0px) * -.8) calc(var(--py, 0px) * 1.3); }
.fxd .hero-grid > div:first-child { translate: var(--px, 0px) var(--py, 0px); }
.fxd .hero h1 .split-word > span { display: inline-block; }
.fxd-glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 5; opacity: 0; transition: opacity .35s;
  background: radial-gradient(520px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 190, 120, .13), transparent 50%); mix-blend-mode: screen; }
.fxd .fxd-tilting:hover > .fxd-glare { opacity: 1; }
.fxd .fxd-tilting { transition-property: opacity, border-color, background, box-shadow !important; will-change: transform; }
.fxd .faq details { position: relative; }
.fxd .stat, .fxd .ds-card { position: relative; }
.fxd .step-num { transition: border-color .5s, box-shadow .5s, background .5s; }
.fxd .step.lit .step-num { border-color: rgba(255, 140, 50, .7); background: radial-gradient(circle at 50% 30%, rgba(255, 140, 50, .25), transparent 70%), var(--card-2);
  box-shadow: 0 0 0 8px var(--bg), 0 0 34px rgba(255, 122, 26, .45); }
.fxd .step h3, .fxd .step p { transition: opacity .6s, transform .6s; }
.fxd .step:not(.lit) h3, .fxd .step:not(.lit) p { opacity: .35; transform: translateY(8px); }
.fxd-spark { position: fixed; left: 0; top: 0; z-index: 200; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; pointer-events: none;
  background: #ffb547; box-shadow: 0 0 10px 2px rgba(255, 122, 26, .8); }
.fxd .nav-links a { display: inline-block; }
.fxd .logo-mark { will-change: transform; }
/* Древнегреческая роспись (только компьютер) */
.fxd .has-myth > .wrap { position: relative; z-index: 1; }
.fxd footer.has-myth { position: relative; }
.myth-band { position: absolute; left: 0; right: 0; top: 0; height: 28px; z-index: 0; pointer-events: none; opacity: .22;
  background: url(/img/myth/meander.svg) repeat-x 0 0 / 28px 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
footer > .myth-band { top: -14px; }

/* Кнопка «Обсудить …» внизу карточек услуг */
.svc { display: flex; flex-direction: column; }
.svc-go {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 16px; border-radius: 13px; border: 1px solid var(--line-2, rgba(255,255,255,.14));
  background: rgba(255, 255, 255, .04); color: var(--c, #ff9a3c); font-weight: 800; font-size: 14.5px;
  transition: background .18s, border-color .18s, transform .18s;
}
.svc > ul { margin-bottom: 26px; }
.svc-go:hover { background: rgba(255, 255, 255, .08); border-color: var(--c, #ff9a3c); transform: translateY(-2px); }
.svc-go span { transition: transform .18s; }
.svc-go:hover span { transform: translateX(3px); }
