/* ════════════════════════════════════════════════════════
   style.css — UXCode Landing
   Структура:
   1. CSS-переменные
   2. Reset
   3. Keyframes / анимации
   4. Scroll-reveal
   5. Утилиты
   6. Header
   7. Hero
   8. Hero Visual (правая колонка)
   9. Services
   10. Why
   11. Pricing
   12. B2B
   13. Contact / Form
   14. Footer
   15. Modals
   16. Cookie Banner
   17. Адаптивность
════════════════════════════════════════════════════════ */

/* ── 1. ПЕРЕМЕННЫЕ ─────────────────────────────────── */
:root {
  --bg:        #0d0d12;
  --bg2:       #11111a;
  --surface:   #16161f;
  --surface2:  #1c1c28;
  --border:    #262636;
  --border2:   #32324a;
  --text:      #ededf0;
  --muted:     #56566e;
  --muted2:    #8888aa;
  --accent:    #c8f560;
  --accent-dk: #aad840;
  --glow:      rgba(200,245,96,.14);

  --font-head: 'Syne', 'Arial Black', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-body: 'Inter', system-ui, sans-serif;

  --max-w: 1100px;
  --r:     8px;
  --r-sm:  4px;
}

/* ── 2. RESET ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(13.5px, 1.4vw, 15.5px);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; }
::placeholder { color: var(--muted); opacity: 1; }

/* ── 3. KEYFRAMES ──────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes blobDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  30%       { transform: translate(32px, -28px) scale(1.04); }
  65%       { transform: translate(-22px, 18px) scale(.97); }
}
@keyframes shimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}
@keyframes pulseRing {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,245,96,0); }
  50%       { box-shadow: 0 0 0 8px rgba(200,245,96,.06); }
}
@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: .5; }
  50%       { transform: scale(1.4); opacity: 1; }
}
@keyframes codeLine {
  0%   { width: 0; opacity: 0; }
  10%  { opacity: 1; }
  60%  { width: var(--w, 70%); }
  85%  { width: var(--w, 70%); opacity: 1; }
  100% { opacity: 0; }
}
@keyframes browserSlide {
  0%   { opacity: 0; transform: translateY(12px); }
  15%  { opacity: 1; transform: translateY(0); }
  80%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-8px); }
}
@keyframes previewFade {
  0%, 45%  { opacity: 0; transform: scale(.97); }
  55%      { opacity: 1; transform: scale(1); }
  85%      { opacity: 1; }
  100%     { opacity: 0; }
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@keyframes progressBar {
  0%   { width: 0%; }
  100% { width: 92%; }
}

/* ── 4. SCROLL REVEAL ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .75s cubic-bezier(.16,1,.3,1),
              transform  .75s cubic-bezier(.16,1,.3,1);
}
.reveal.on { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }

/* ── 5. УТИЛИТЫ ────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 52px);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(200,245,96,.28);
  padding: 4px 12px;
  border-radius: 20px;
}
.chip::before {
  content: '';
  display: block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: dotPulse 2s ease-in-out infinite;
}
.sec-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted2);
}
.divider { border: none; border-top: 1px solid var(--border); }
.pricing-title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-top: 12px;
}

/* ── 6. HEADER ─────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(13,13,18,.84);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  animation: fadeIn .4s ease both;
}
.h-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}
.logo {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -.01em;
  display: flex;
  align-items: center;
}
.logo-ux  { color: var(--text); }
.logo-code{ color: var(--accent); }
.logo-dot { color: var(--muted); }
nav { display: flex; gap: 26px; }
nav a {
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
  transition: color .2s;
}
nav a:hover { color: var(--text); }
.h-cta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .07em;
  font-weight: 500;
  padding: 8px 18px;
  background: var(--accent);
  color: #0d0d12;
  border: none;
  border-radius: var(--r-sm);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.h-cta:hover {
  background: var(--accent-dk);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px var(--glow);
}

/* ── 7. HERO ───────────────────────────────────────── */
.hero {
  padding-block: clamp(72px, 10vw, 130px) clamp(64px, 8vw, 110px);
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 70% 55% at 30% -5%, rgba(200,245,96,.055) 0%, transparent 68%);
}
/* сетка фона */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 90px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-blob.a {
  right: -120px; top: -80px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(200,245,96,.065) 0%, transparent 65%);
  animation: blobDrift 16s ease-in-out infinite;
}
.hero-blob.b {
  left: -200px; bottom: -180px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(130,90,255,.055) 0%, transparent 65%);
  animation: blobDrift 20s ease-in-out infinite reverse;
}
/* двухколоночная сетка */
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-left { animation: fadeUp .7s cubic-bezier(.16,1,.3,1) .05s both; }
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.eyebrow-sep {
  display: inline-block;
  width: 26px; height: 1px;
  background: var(--muted);
  opacity: .4;
}
.eyebrow-txt {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .1em;
}
h1.ht {
  font-family: var(--font-head);
  font-size: clamp(42px, 7.5vw, 90px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -.03em;
  animation: fadeUp .7s cubic-bezier(.16,1,.3,1) .12s both;
}
h1.ht em {
  font-style: normal;
  background: linear-gradient(110deg, #d4ff70 0%, var(--accent) 45%, #aaee30 85%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 5s linear infinite;
}
.hero-sub {
  margin-top: 20px;
  font-size: clamp(14px, 1.6vw, 17px);
  color: var(--muted2);
  line-height: 1.65;
  max-width: 480px;
  animation: fadeUp .7s cubic-bezier(.16,1,.3,1) .2s both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
  animation: fadeUp .7s cubic-bezier(.16,1,.3,1) .28s both;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #0d0d12;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .07em;
  padding: 13px 26px;
  border-radius: var(--r-sm);
  border: none;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-primary:hover {
  background: var(--accent-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--glow);
}
.btn-primary .arr {
  display: inline-block;
  transition: transform .2s;
}
.btn-primary:hover .arr { transform: translateX(5px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--muted2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .07em;
  padding: 12px 22px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border2);
  transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: var(--muted2); color: var(--text); }

/* stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 60px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  overflow: hidden;
  animation: fadeUp .7s cubic-bezier(.16,1,.3,1) .4s both;
}
.hstat {
  padding: 20px 18px;
  border-right: 1px solid var(--border);
  transition: background .3s;
  position: relative;
  overflow: hidden;
}
.hstat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.hstat:hover::before { transform: scaleX(1); }
.hstat:last-child { border-right: none; }
.hstat:hover { background: var(--surface2); }
.hstat-num {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 800;
  line-height: 1;
}
.hstat-num b { color: var(--accent); font-weight: inherit; }
.hstat-label {
  margin-top: 5px;
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: .02em;
}

/* ── 8. HERO VISUAL ────────────────────────────────── */
.hero-visual {
  position: relative;
  animation: fadeUp .7s cubic-bezier(.16,1,.3,1) .25s both;
}
.hv-wrap {
  position: relative;
  padding-bottom: 68%;
}
.hv-browser {
  position: absolute;
  inset: 0;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.04);
  animation: browserSlide 8s ease-in-out infinite;
}
.hv-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}
.hv-dot { width: 8px; height: 8px; border-radius: 50%; }
.hv-dot.r { background: #ff5f57; }
.hv-dot.y { background: #febc2e; }
.hv-dot.g { background: #28c840; }
.hv-url {
  flex: 1;
  margin-left: 8px;
  background: var(--border);
  border-radius: 4px;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted2);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hv-code {
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.code-line {
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--border2) 0%, var(--border) 100%);
  position: relative;
  overflow: hidden;
  animation: codeLine var(--dur, 8s) ease-in-out var(--del, 0s) infinite;
}
.code-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(200,245,96,.25), transparent);
  animation: shimmer 2s linear var(--del, 0s) infinite;
}
.code-line.kw     { background: linear-gradient(90deg, rgba(200,245,96,.25), rgba(200,245,96,.08)); }
.code-line.str    { background: linear-gradient(90deg, rgba(150,220,255,.2), rgba(150,220,255,.06)); }
.code-line.indent { margin-left: 16px; }

/* превью сайта */
.hv-preview {
  position: absolute;
  inset: 0;
  background: var(--bg2);
  display: flex;
  flex-direction: column;
  animation: previewFade 8s ease-in-out infinite;
  animation-delay: 4s;
}
.pv-header {
  height: 28px;
  background: var(--accent);
  display: flex;
  align-items: center;
  padding: 0 12px;
}
.pv-logo-bar { width: 48px; height: 7px; border-radius: 3px; background: rgba(0,0,0,.3); }
.pv-nav-dots { margin-left: auto; display: flex; gap: 5px; }
.pv-nav-dot  { width: 18px; height: 5px; border-radius: 2px; background: rgba(0,0,0,.2); }
.pv-body { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.pv-hero-block {
  background: var(--surface);
  border-radius: 4px;
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
}
.pv-title-line { width: 60%; height: 8px; border-radius: 3px; background: var(--border2); }
.pv-sub-line   { width: 40%; height: 5px; border-radius: 3px; background: var(--border); }
.pv-btn-mock   { width: 28%; height: 14px; border-radius: 3px; background: rgba(200,245,96,.35); }
.pv-cards { display: flex; gap: 6px; }
.pv-card { flex: 1; height: 40px; background: var(--surface); border-radius: 4px; border: 1px solid var(--border); }

/* плавающие бейджи */
.hv-badge {
  position: absolute;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  white-space: nowrap;
  animation: floatBadge 4s ease-in-out infinite;
}
.hv-badge.b1 {
  bottom: -18px;
  right: 10px;
  color: var(--accent);
}
.hv-badge.b2 {
  top: 30px;
  left: -28px;
  animation-delay: -2s;
  color: var(--muted2);
  font-size: 9px;
}
.hv-badge.b1 strong {
  font-size: 13px;
  display: block;
  line-height: 1.2;
  color: var(--accent);
}
.badge-bar {
  margin-top: 5px;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  width: 80px;
}
.badge-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--accent);
  animation: progressBar 3s ease-in-out infinite;
}

/* ── 9. SERVICES ───────────────────────────────────── */
.services { padding-block: clamp(60px, 8vw, 96px); }
.sec-head { margin-bottom: 44px; }
.sec-head h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-top: 12px;
}
.srv-table { width: 100%; border-collapse: collapse; }
.srv-table tr {
  border-bottom: 1px solid var(--border);
  transition: background .2s;
}
.srv-table tr:first-child { border-top: 1px solid var(--border); }
.srv-table tr:hover { background: var(--surface); }
.srv-table td { padding: 19px 0; vertical-align: middle; }
.td-n {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .08em;
  width: 42px;
}
.td-name {
  font-family: var(--font-head);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 800;
  letter-spacing: -.01em;
}
.td-tag { text-align: center; padding-inline: 16px; }
.td-tag span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted2);
  border: 1px solid var(--border2);
  padding: 3px 8px;
  border-radius: 20px;
  transition: color .2s, border-color .2s;
}
tr:hover .td-tag span { color: var(--accent); border-color: rgba(200,245,96,.28); }
.td-price {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted2);
  white-space: nowrap;
}
.td-price b { color: var(--accent); font-weight: 500; }
.td-arr {
  text-align: right;
  width: 26px;
  color: var(--muted);
  font-size: 14px;
  transition: color .2s, transform .2s;
}
tr:hover .td-arr { color: var(--accent); transform: translateX(4px); }

/* ── 10. WHY ───────────────────────────────────────── */
.why {
  padding-block: clamp(60px, 8vw, 96px);
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.why::after {
  content: '';
  position: absolute;
  right: -150px; top: 50%;
  transform: translateY(-50%);
  width: 440px; height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,245,96,.035) 0%, transparent 70%);
  pointer-events: none;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  margin-top: 40px;
}
.why-cell {
  background: var(--bg2);
  padding: 32px 28px;
  transition: background .25s;
  position: relative;
}
.why-cell::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--accent), transparent);
  transition: width .45s ease;
}
.why-cell:hover { background: var(--surface); }
.why-cell:hover::after { width: 100%; }
.why-n {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
  letter-spacing: .14em;
  margin-bottom: 12px;
}
.why-cell h3 {
  font-family: var(--font-head);
  font-size: clamp(15px, 1.8vw, 19px);
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.2;
}
.why-cell p { font-size: 13px; color: var(--muted2); line-height: 1.65; }

/* ── 11. PRICING ───────────────────────────────────── */
.pricing { padding-block: clamp(60px, 8vw, 96px); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(252px, 1fr));
  gap: 14px;
  margin-top: 40px;
}
.price-card {
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 24px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  position: relative;
}
.price-card:hover {
  border-color: var(--border2);
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(0,0,0,.42);
}
.price-card.featured {
  border-color: rgba(200,245,96,.38);
  background: linear-gradient(145deg, #131d02, #16161f);
  animation: pulseRing 4s ease-in-out infinite;
}
.price-card.featured::before {
  content: 'Популярный';
  position: absolute;
  top: -1px; right: 16px;
  background: var(--accent);
  color: #0d0d12;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .1em;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 0 0 6px 6px;
}
.price-card h3 { font-family: var(--font-head); font-size: 18px; font-weight: 800; margin-bottom: 5px; }
.p-desc { font-size: 12px; color: var(--muted); margin-bottom: 18px; line-height: 1.5; }
.p-amount {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1;
}
.p-amount span { font-family: var(--font-body); font-size: 12px; font-weight: 400; color: var(--muted); }
.p-features { margin-block: 18px 20px; flex: 1; }
.p-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  padding-block: 8px;
  border-bottom: 1px solid var(--border);
  color: var(--muted2);
  line-height: 1.5;
}
.p-features li:first-child { border-top: 1px solid var(--border); }
.ck { color: var(--accent); flex-shrink: 0; }
.p-cta {
  width: 100%;
  padding: 11px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .07em;
  border-radius: var(--r-sm);
  border: 1px solid var(--border2);
  background: transparent;
  color: var(--text);
  transition: all .2s;
}
.p-cta:hover { border-color: var(--text); }
.price-card.featured .p-cta {
  background: var(--accent);
  border-color: var(--accent);
  color: #0d0d12;
  font-weight: 500;
}
.price-card.featured .p-cta:hover {
  background: var(--accent-dk);
  border-color: var(--accent-dk);
}

/* ── 12. B2B ───────────────────────────────────────── */
.b2b { padding-block: clamp(60px, 8vw, 96px); border-top: 1px solid var(--border); }
.b2b-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.b2b-text h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-block: 12px 11px;
  line-height: 1.15;
}
.b2b-text p { font-size: 13px; color: var(--muted2); max-width: 380px; line-height: 1.7; }
.b2b-list { margin-top: 22px; display: flex; flex-direction: column; gap: 9px; }
.b2b-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--muted2); }
.b2b-doc {
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px;
  background: var(--surface);
}
.doc-head {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .13em;
  color: var(--muted);
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2px;
}
.doc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 9px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.doc-row:last-child { border-bottom: none; }
.doc-row .dk { color: var(--muted); }
.doc-row .vl { font-family: var(--font-mono); font-size: 11px; color: var(--text); }
.doc-row .vl.ac { color: var(--accent); }

/* ── 13. CONTACT / FORM ────────────────────────────── */
.contact {
  padding-block: clamp(64px, 10vw, 120px);
  border-top: 1px solid var(--border);
  background: radial-gradient(ellipse 55% 45% at 50% 100%, rgba(200,245,96,.045) 0%, transparent 70%);
}
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-left h2 {
  font-family: var(--font-head);
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-block: 12px 11px;
}
.contact-left h2 em { font-style: normal; color: var(--accent); }
.contact-left p { font-size: 13px; color: var(--muted2); max-width: 320px; line-height: 1.7; }
.c-links { margin-top: 28px; display: flex; flex-direction: column; gap: 8px; }
.c-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  transition: color .2s;
}
.c-link:hover { color: var(--text); }
.c-ico {
  width: 29px; height: 29px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 12px;
  transition: border-color .2s;
}
.c-link:hover .c-ico { border-color: var(--muted2); }

/* форма */
.form { display: flex; flex-direction: column; gap: 11px; }
.fg { display: flex; flex-direction: column; gap: 5px; }
.fg label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--muted);
}
.fg input, .fg select, .fg textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 11px 13px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
  -webkit-appearance: none;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,245,96,.07);
}
.fg textarea { resize: vertical; min-height: 84px; }
.fg select { cursor: pointer; }
.fg select option { background: var(--surface); }

/* чекбокс */
.fg-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.fg-check input[type="checkbox"] {
  flex-shrink: 0;
  width: 17px; height: 17px;
  margin-top: 2px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  display: grid;
  place-items: center;
}
.fg-check input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.fg-check input[type="checkbox"]:checked::after {
  content: '✓';
  font-size: 11px;
  color: #0d0d12;
  line-height: 1;
  font-weight: 700;
}
.fg-check input[type="checkbox"]:focus { box-shadow: 0 0 0 3px rgba(200,245,96,.1); }
.check-label { font-size: 12px; color: var(--muted2); line-height: 1.55; }
.check-label a { color: var(--muted2); text-decoration: underline; text-decoration-color: var(--border2); }
.check-label a:hover { color: var(--accent); }

.form-submit {
  width: 100%;
  padding: 13px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .09em;
  background: var(--accent);
  color: #0d0d12;
  border: none;
  border-radius: var(--r-sm);
  transition: background .2s, transform .15s, box-shadow .2s;
  margin-top: 2px;
}
.form-submit:hover {
  background: var(--accent-dk);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px var(--glow);
}
.form-submit:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.form-success {
  padding: 24px;
  background: linear-gradient(135deg, #131d02, #141414);
  border: 1px solid rgba(200,245,96,.28);
  border-radius: var(--r);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  text-align: center;
  line-height: 1.7;
}

/* ── 14. FOOTER ────────────────────────────────────── */
footer { border-top: 1px solid var(--border); padding-block: 24px; }
.foot-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.foot-copy { font-size: 11.5px; color: var(--muted); }
.foot-links { display: flex; gap: 20px; }
.foot-links a {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: .05em;
  transition: color .2s;
}
.foot-links a:hover { color: var(--text); }

/* ── 15. MODALS ────────────────────────────────────── */
.m-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.m-overlay.open { opacity: 1; visibility: visible; }
.m-box {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 12px;
  width: 100%;
  max-width: 640px;
  max-height: 84vh;
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.m-overlay.open .m-box { transform: translateY(0); }
.m-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.m-head h3 { font-family: var(--font-head); font-size: 18px; font-weight: 800; }
.m-close {
  width: 30px; height: 30px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s, color .2s;
}
.m-close:hover { border-color: var(--muted2); color: var(--text); }
.m-body {
  padding: 20px 24px;
  overflow-y: auto;
  font-size: 13px;
  color: var(--muted2);
  line-height: 1.75;
  flex: 1;
}
.m-body h4 {
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text);
  margin-block: 16px 6px;
}
.m-body h4:first-child { margin-top: 0; }
.m-body p { margin-bottom: 8px; }
.m-body ul {
  padding-left: 14px;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 8px;
}
.m-body a { color: var(--accent); }
.m-footer {
  padding: 14px 24px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
}
.m-accept {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .07em;
  padding: 9px 22px;
  background: var(--accent);
  color: #0d0d12;
  border: none;
  border-radius: var(--r-sm);
  transition: background .2s;
}
.m-accept:hover { background: var(--accent-dk); }

/* ── 16. COOKIE BANNER ─────────────────────────────── */
.cookie {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  width: calc(100% - 40px);
  max-width: 620px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--r);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  box-shadow: 0 12px 52px rgba(0,0,0,.6);

  /* По умолчанию скрыт. Показывается через JS классом .show */
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease, transform .4s ease;
}
/* Появление — добавляется через JS */
.cookie.show {
  opacity: 1;
  pointer-events: auto;
}
/* Скрытие после нажатия кнопки */
.cookie.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(16px);
}
.cookie-text { flex: 1 1 200px; font-size: 12px; color: var(--muted2); line-height: 1.5; }
.cookie-text a { color: var(--muted2); text-decoration: underline; text-decoration-color: var(--border2); }
.cookie-text a:hover { color: var(--text); }
.cookie-btns { display: flex; gap: 8px; flex-shrink: 0; }
.c-ok {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .07em;
  padding: 8px 16px;
  background: var(--accent);
  color: #0d0d12;
  border: none;
  border-radius: var(--r-sm);
  transition: background .2s, transform .1s;
}
.c-ok:hover { background: var(--accent-dk); transform: translateY(-1px); }
.c-no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .07em;
  padding: 8px 13px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition: all .2s;
}
.c-no:hover { border-color: var(--muted2); color: var(--muted2); }

/* ── 17. АДАПТИВНОСТЬ ──────────────────────────────── */
@media (max-width: 900px) {
  nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; } /* скрываем анимацию — hero-stats занимает место */
  .hero-stats { margin-top: 44px; }
  .b2b-inner { grid-template-columns: 1fr; gap: 36px; }
  .contact-inner { grid-template-columns: 1fr; gap: 44px; }
  .why-grid { grid-template-columns: 1fr; }
  .td-tag { display: none; }
}
@media (max-width: 700px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hstat:nth-child(2) { border-right: none; }
  .hstat:nth-child(3) { border-top: 1px solid var(--border); }
}
@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; }
  .hstat { border-right: none; border-bottom: 1px solid var(--border); }
  .hstat:last-child { border-bottom: none; }
  .td-price { display: none; }
  .cookie { bottom: 12px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .m-box { max-height: 90vh; }
}
.form-success {
    text-align: center;
    padding: 20px;
    color: #fff;
}