/* ============================================================
   JARVIS·DEV — продающий сайт: сайты и ИИ-агенты для бизнеса
   Тёмная неоновая тема. Без фреймворков.
   ============================================================ */

:root {
  --bg: #070b14;
  --bg-2: #0a101d;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --text: #e8edf7;
  --muted: #9aa7bd;
  --dim: #64748b;
  --cyan: #22d3ee;
  --violet: #a78bfa;
  --lime: #a3e635;
  --amber: #fbbf24;
  --red: #fb7185;
  --grad: linear-gradient(92deg, #22d3ee 0%, #818cf8 55%, #c084fc 100%);
  --radius: 18px;
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: rgba(34, 211, 238, 0.35); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; }

section { scroll-margin-top: 84px; }

/* ---------- фоновые украшения ---------- */
.bg-decor { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  will-change: transform;
  animation: drift 22s ease-in-out infinite alternate;
}
.blob-1 { width: 560px; height: 560px; top: -180px; left: -120px; background: radial-gradient(circle, rgba(34,211,238,.28), transparent 65%); }
.blob-2 { width: 640px; height: 640px; top: 30%; right: -220px; background: radial-gradient(circle, rgba(167,139,250,.24), transparent 65%); animation-delay: -7s; }
.blob-3 { width: 520px; height: 520px; bottom: -200px; left: 28%; background: radial-gradient(circle, rgba(163,230,53,.13), transparent 65%); animation-delay: -13s; }

@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, -40px) scale(1.12); }
}

.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
}

/* ---------- типографика ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.18; }

h1 { font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -0.01em; }
h2 { font-size: clamp(24px, 3vw, 38px); }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.eyebrow.center { text-align: center; }

.center { text-align: center; }

.section { padding: 92px 0; }
.section-sub { color: var(--muted); max-width: 640px; margin: 16px auto 0; }

.link { color: var(--cyan); text-decoration: none; border-bottom: 1px dashed rgba(34,211,238,.5); }
.link:hover { color: #7dd3fc; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 14px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--grad);
  color: #071018;
  box-shadow: 0 8px 30px rgba(34, 211, 238, 0.35), 0 2px 10px rgba(129, 140, 248, 0.3);
}
.btn-primary:hover { box-shadow: 0 12px 40px rgba(34, 211, 238, 0.5), 0 4px 14px rgba(129, 140, 248, 0.4); }

.btn-ghost {
  background: var(--panel-2);
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: rgba(34, 211, 238, 0.55); background: rgba(34, 211, 238, 0.08); }

.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 11px; }
.btn-block { width: 100%; }

/* ---------- шапка ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 20, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.header.scrolled { border-bottom-color: var(--line); }

.header-in { display: flex; align-items: center; gap: 28px; height: 68px; }

.logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.logo span { color: var(--cyan); }

.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--cyan); }

.header-cta { margin-left: 4px; }
.header-lang { font-weight: 700; letter-spacing: .04em; }
@media (max-width: 1020px) { .header-lang { margin-left: auto; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 84px 0 72px; }

.hero-in {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-sub { color: var(--muted); font-size: 18px; margin-top: 22px; max-width: 560px; }
.hero-sub b { color: var(--text); }

.hero-ctas { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

.hero-badges {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  list-style: none;
  flex-wrap: wrap;
}
.hero-badges li {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 15px;
}

.hero-scroll {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.hero-scroll span {
  width: 4px; height: 9px;
  background: var(--cyan);
  border-radius: 2px;
  animation: scrolldot 1.6s ease-in-out infinite;
}
@keyframes scrolldot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- чат ---------- */
.chat-shell {
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(34, 211, 238, 0.09), inset 0 1px 0 rgba(255,255,255,0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 560px;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.chat-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,0.16), rgba(167,139,250,0.08));
  border: 1px solid rgba(34,211,238,0.35);
  display: grid; place-items: center;
  animation: pulse-soft 3s ease-in-out infinite;
}
@keyframes pulse-soft {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,211,238,0.25); }
  50% { box-shadow: 0 0 0 7px rgba(34,211,238,0); }
}
.chat-title { display: flex; flex-direction: column; line-height: 1.25; }
.chat-title b { font-size: 15px; }
.chat-title span { font-size: 11.5px; color: var(--muted); }
.chat-status {
  margin-left: auto;
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; color: #4ade80;
}
.chat-status i {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.8);
  animation: blink-dot 2.2s ease-in-out infinite;
}
@keyframes blink-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
}
.chat-body::-webkit-scrollbar { width: 5px; }
.chat-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }

.msg { max-width: 86%; animation: msg-in 0.28s ease; }
@keyframes msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.msg-bot {
  align-self: flex-start;
  background: rgba(167, 139, 250, 0.09);
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 4px 16px 16px 16px;
  padding: 11px 14px;
  font-size: 14.5px;
  line-height: 1.55;
  white-space: pre-wrap;
}
.msg-user {
  align-self: flex-end;
  background: linear-gradient(92deg, rgba(34,211,238,0.25), rgba(129,140,248,0.25));
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: 16px 4px 16px 16px;
  padding: 10px 14px;
  font-size: 14.5px;
}

/* строка «внутрянки» — вызов инструмента перед ответом */
.trace {
  align-self: flex-start;
  font-family: "Cascadia Code", "JetBrains Mono", Consolas, monospace;
  font-size: 11.5px;
  color: rgba(34, 211, 238, 0.85);
  background: rgba(34, 211, 238, 0.06);
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 8px;
  padding: 5px 10px;
  animation: msg-in 0.3s ease;
}
.trace .tr-cursor { display: inline-block; width: 7px; background: var(--cyan); animation: blink-caret 0.7s steps(1) infinite; }
@keyframes blink-caret { 50% { opacity: 0; } }

.typing { align-self: flex-start; display: inline-flex; gap: 5px; padding: 13px 15px; background: rgba(167,139,250,0.09); border: 1px solid rgba(167,139,250,0.22); border-radius: 4px 16px 16px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--violet); animation: tb 1.2s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes tb { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-5px); opacity: 1; } }

.chat-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 14px 10px;
}
.chip {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  animation: msg-in 0.3s ease;
}
.chip:hover { background: rgba(34, 211, 238, 0.18); transform: translateY(-1px); }
.chip.chip-tg { color: #7dd3fc; border-color: rgba(125, 211, 252, 0.35); }

.chat-input {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.chat-input input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.15s ease;
}
.chat-input input:focus { border-color: rgba(34, 211, 238, 0.55); }
.chat-input input::placeholder { color: var(--muted); }
.chat-input button {
  width: 44px;
  border-radius: 12px;
  border: none;
  background: var(--grad);
  color: #071018;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.chat-input button:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(34,211,238,0.4); }

.chat-note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 12px; }
.chat-note em { color: var(--cyan); font-style: normal; }

/* ---------- карточки-боли ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.cards-2x2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; }

.pain-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.pain-card:hover { transform: translateY(-4px); border-color: rgba(251, 113, 133, 0.4); }
.pain-ico { font-size: 34px; margin-bottom: 14px; }
.pain-card h3 { font-size: 19px; margin-bottom: 10px; }
.pain-card p { color: var(--muted); font-size: 15px; }
.pain-fix { margin-top: 14px; color: #4ade80 !important; font-weight: 700; font-size: 14.5px !important; }

/* ---------- услуги ---------- */
.srv-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease;
}
.srv-card:hover { transform: translateY(-4px); }
.srv-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--ac, var(--cyan));
  opacity: 0.9;
}
.srv-cyan   { --ac: linear-gradient(90deg, #22d3ee, #67e8f9); }
.srv-violet { --ac: linear-gradient(90deg, #a78bfa, #c084fc); }
.srv-lime   { --ac: linear-gradient(90deg, #a3e635, #bef264); }
.srv-amber  { --ac: linear-gradient(90deg, #fbbf24, #fcd34d); }
.srv-ico { font-size: 34px; margin-bottom: 14px; }
.srv-card h3 { font-size: 20px; margin-bottom: 10px; }
.srv-card p { color: var(--muted); font-size: 15px; }
.srv-price {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--cyan);
}

/* ---------- внутрянка ---------- */
.inside-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 52px; align-items: center; }
.inside-text > p { color: var(--muted); margin-top: 16px; }
.inside-list { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 16px; }
.inside-list li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: 12px;
  padding: 15px 18px;
  font-size: 15px;
  color: var(--muted);
}
.inside-list b { color: var(--text); }

.term {
  background: #05080f;
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(34, 211, 238, 0.07);
  overflow: hidden;
}
.term-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.d-r { background: #fb7185; } .d-y { background: #fbbf24; } .d-g { background: #4ade80; }
.term-title { margin-left: 10px; font-family: "Cascadia Code", Consolas, monospace; font-size: 12px; color: var(--muted); }

.term-body { padding: 18px 16px 20px; display: flex; flex-direction: column; gap: 9px; }
.tl {
  font-family: "Cascadia Code", "JetBrains Mono", Consolas, monospace;
  font-size: 12.3px;
  line-height: 1.5;
  color: #b7c3d9;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.tl .t { color: #55647f; }
.k {
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 6px;
  font-size: 11.3px;
  white-space: nowrap;
}
.k-in    { color: #67e8f9; background: rgba(34,211,238,0.1); }
.k-route { color: #c4b5fd; background: rgba(167,139,250,0.12); }
.k-tool  { color: #a3e635; background: rgba(163,230,53,0.1); }
.k-brain { color: #fcd34d; background: rgba(251,191,36,0.1); }
.k-out   { color: #86efac; background: rgba(74,222,128,0.1); }
.k-push  { color: #fb7185; background: rgba(251,113,133,0.1); }

.term-note { margin-top: 16px; color: var(--muted); font-size: 14.5px; text-align: center; }

/* ---------- цены ---------- */
.pricing-cards { align-items: stretch; }
.price-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.price-card:hover { transform: translateY(-5px); }
.price-card h3 { font-size: 20px; color: var(--muted); font-weight: 500; }
.price-tag {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 30px;
  margin-top: 10px;
}
.price-mo {
  display: block;
  font-size: 14px;
  color: var(--amber);
  font-weight: 700;
  margin-top: 6px;
  white-space: nowrap;
}
.price-name { color: var(--cyan); font-weight: 800; font-size: 14px; margin-top: 4px; letter-spacing: 0.03em; }
.price-card ul { list-style: none; margin: 22px 0 26px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.price-card li {
  font-size: 14.5px;
  color: var(--muted);
  padding-left: 26px;
  position: relative;
}
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--lime);
  font-weight: 900;
}
.price-card.hot {
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.09), rgba(129, 140, 248, 0.05));
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 20px 60px rgba(34, 211, 238, 0.13);
  transform: scale(1.04);
}
.price-card.hot:hover { transform: scale(1.04) translateY(-5px); }
.hot-badge {
  position: absolute;
  top: -13px;
  right: 24px;
  background: var(--grad);
  color: #071018;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(34, 211, 238, 0.45);
}
.pricing-note { margin-top: 36px; color: var(--muted); font-size: 14.5px; }

/* ---------- процесс ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
  transition: transform 0.2s ease;
}
.step:hover { transform: translateY(-4px); }
.step-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 30px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }

/* ---------- кейсы ---------- */
.case-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.case-card:hover { transform: translateY(-4px); border-color: rgba(167, 139, 250, 0.4); }
.case-ico { font-size: 34px; margin-bottom: 12px; }
.case-card h3 { font-size: 19px; }
.case-sub { color: var(--cyan); font-size: 12.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; margin: 6px 0 12px; }
.case-card p { color: var(--muted); font-size: 14.5px; }
.case-card b { color: var(--text); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.tags span {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  padding: 5px 11px;
  border-radius: 999px;
}

/* ---------- почему я ---------- */
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 52px; align-items: start; }
.why-lead { color: var(--muted); margin-top: 16px; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.why-list li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--violet);
  border-radius: 12px;
  padding: 17px 20px;
  font-size: 15px;
  color: var(--muted);
}
.why-list b { color: var(--text); }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; }
.faq-list details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-list details[open] { border-color: rgba(34, 211, 238, 0.4); }
.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 16px;
  padding: 18px 22px;
  list-style: none;
  position: relative;
  padding-right: 52px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--cyan);
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* ---------- форма ---------- */
.lead-form {
  margin-top: 40px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 800; color: var(--muted); }
.field .opt { color: var(--dim, #64748b); font-weight: 600; }
.field input, .field select, .field textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 15px;
  outline: none;
  transition: border-color 0.15s ease;
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(34, 211, 238, 0.55); }
.field input::placeholder, .field textarea::placeholder { color: #5c6b85; }
.field select option { background: var(--bg-2); color: var(--text); }
.form-note { font-size: 12.5px; color: #5c6b85; text-align: center; }
.form-ok {
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: #86efac;
  font-weight: 700;
  border-radius: 12px;
  padding: 14px 18px;
  text-align: center;
}

/* ---------- футер ---------- */
.footer { border-top: 1px solid var(--line); padding: 44px 0 30px; background: rgba(255,255,255,0.015); }
.footer-in { display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap; }
.footer-sub { color: var(--muted); font-size: 13.5px; margin-top: 8px; }
.footer-links { margin-left: auto; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14.5px; transition: color 0.15s ease; }
.footer-links a:hover { color: var(--cyan); }
.footer-copy { color: #5c6b85; font-size: 12.5px; margin-top: 6px; flex-basis: 100%; }

/* ---------- плавающая кнопка ---------- */
.fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--grad);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.45);
  z-index: 60;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.fab.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.fab:hover { transform: scale(1.07); }
.fab::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(34, 211, 238, 0.5);
  animation: fab-ring 2s ease-out infinite;
}
@keyframes fab-ring {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ---------- появление при скролле ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- адаптив ---------- */
@media (max-width: 1020px) {
  .hero-in { grid-template-columns: 1fr; gap: 44px; }
  .hero-text { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-badges { justify-content: center; }
  .inside-grid, .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: 1fr; }
  .cards-2x2 { grid-template-columns: 1fr; }
  .nav { display: none; }
  .price-card.hot { transform: none; }
  .price-card.hot:hover { transform: translateY(-5px); }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
  .blob { display: none; }  /* телефонам не нужен тяжёлый blur */
  .chat-shell { height: 500px; }
  .header-cta { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .lead-form { padding: 24px 20px; }
  .footer-links { margin-left: 0; }
  .fab { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* honeypot от спам-ботов (визуально скрыт, но не display:none) */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}