/* ==========================================================================
   Штаб Продаж — стили лендинга
   Дизайн-система: деловой B2B, без мистики. Тёмно-синий "штабной" фон
   для акцентных экранов, тёплый светлый фон для читаемых текстовых блоков,
   один сигнальный акцент (янтарный) для CTA и "точек утечки денег",
   три равноправных цвета модулей (карточки/продажи/экономика) для симметрии.
   ========================================================================== */

:root {
  --ink: #0b1220;
  --ink-2: #121b2e;
  --ink-3: #1a2540;
  --paper: #f7f6f2;
  --paper-2: #edeae2;
  --text-on-dark: #e8eaf0;
  --muted-on-dark: #8d96a8;
  --text-on-light: #14181f;
  --muted-on-light: #5b6270;
  --line-on-dark: rgba(255, 255, 255, 0.10);
  --line-on-light: rgba(20, 24, 31, 0.10);

  --accent: #f2a73b;
  --accent-dark: #cf8720;
  --danger: #e0563f;

  --mod-cards: #5b8def;
  --mod-sales: #f2a73b;
  --mod-unit: #35b893;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-lg: 0 24px 60px -20px rgba(11, 18, 32, 0.45);
  --shadow-sm: 0 8px 24px -12px rgba(11, 18, 32, 0.35);

  --container: 1160px;
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text-on-light);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { position: relative; padding: 96px 0; }
section.tight { padding: 64px 0; }
.section-on-dark { background: var(--ink); color: var(--text-on-dark); }
.section-on-dark h2, .section-on-dark h3 { color: #fff; }
.section-alt { background: var(--paper-2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 14px;
}
.section-on-dark .eyebrow { color: var(--accent); }
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
  display: inline-block;
}

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-head p { font-size: 18px; color: var(--muted-on-light); }
.section-on-dark .section-head p { color: var(--muted-on-dark); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 15px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--accent);
  color: #1a1204;
  box-shadow: 0 10px 30px -10px rgba(242, 167, 59, 0.6);
}
.btn-primary:hover { transform: translateY(-1px); background: #f5b654; }
.btn-ghost {
  background: transparent;
  color: inherit;
  border: 1px solid var(--line-on-dark);
}
.section-on-light .btn-ghost, .btn-ghost.on-light { border-color: var(--line-on-light); }
.btn-ghost:hover { background: rgba(255,255,255,0.06); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-on-dark);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
}
.logo .mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.logo .mark .mark-icon { display: block; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--muted-on-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; align-items: center; }
.nav-toggle { display: none; }
@media (max-width: 860px) {
  .nav-links { display: none; }
}

/* ---------- 1. Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 15% -10%, rgba(91,141,239,0.20), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(242,167,59,0.16), transparent 55%),
    var(--ink);
  color: var(--text-on-dark);
  padding: 110px 0 90px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero h1 {
  font-size: clamp(32px, 4.6vw, 54px);
  color: #fff;
  max-width: 640px;
}
.hero h1 .hl { color: var(--accent); }
.hero .lede { font-size: 19px; color: var(--muted-on-dark); max-width: 560px; margin-bottom: 32px; }
.hero .cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 28px; }
.link-arrow {
  color: var(--text-on-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1px solid var(--line-on-dark);
  padding-bottom: 2px;
}
.link-arrow:hover { border-color: var(--accent); color: var(--accent); }
.section-on-light .link-arrow, .rop-block .link-arrow { color: var(--text-on-dark); }
.hero .trust-row {
  display: flex; gap: 22px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted-on-dark);
}
.hero .trust-row span { display: flex; align-items: center; gap: 6px; }
.hero .trust-row span::before { content: "✓"; color: var(--mod-unit); font-weight: 700; }

.hero-visual {
  background: var(--ink-2);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow-lg);
}
.hero-visual .head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 22px; font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--muted-on-dark);
}
/* Асимметричная схема "путь рубля": продажи — доминирующий узел */
.path-nodes { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.path-arrow { color: var(--muted-on-dark); font-size: 18px; flex: none; }
.path-node { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.path-node .node-dot {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700;
  color: #fff; border-radius: 50%;
  border: 2px solid var(--line-on-dark);
  background: var(--ink-3);
}
.path-node .node-note { font-size: 11px; color: var(--muted-on-dark); max-width: 90px; }
.path-node.small .node-dot { width: 74px; height: 74px; font-size: 12.5px; }
.path-node.big .node-dot {
  width: 122px; height: 122px; font-size: 17px;
  border-color: var(--mod-sales);
  background: var(--ink);
  box-shadow: 0 0 0 8px rgba(242,167,59,0.10), 0 16px 34px -12px rgba(242,167,59,0.55);
}
.path-node.big .node-note { color: var(--accent); font-weight: 600; max-width: 120px; }
.path-node[data-stage="cards"] .node-dot { border-color: var(--mod-cards); }
.path-node[data-stage="unit"] .node-dot { border-color: var(--mod-unit); }

/* Сжатая переходная полоса (бывший отдельный блок "Деньги утекают в трёх точках") */
.hero-leak-strip {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  padding-top: 32px;
  border-top: 1px solid var(--line-on-dark);
}
.hero-leak-strip .strip-main { font-size: 15.5px; color: var(--text-on-dark); }
.hero-leak-strip .strip-main b { color: var(--accent); }
.hero-leak-strip .strip-side { display: flex; flex-direction: column; gap: 12px; }
.hero-leak-strip .strip-line {
  font-size: 13.5px; color: var(--muted-on-dark); display: flex; align-items: flex-start; gap: 8px;
  flex-wrap: wrap;
}
.hero-leak-strip .strip-line .dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 5px; flex: none; }
.upsell-tag {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--accent);
  background: rgba(242,167,59,0.12);
  border: 1px solid rgba(242,167,59,0.3);
  padding: 2px 8px; border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-leak-strip { grid-template-columns: 1fr; }
}

/* ---------- 2. Портреты ---------- */
.portrait-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portrait-card {
  background: #fff;
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.portrait-card .tag {
  display: inline-block;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--accent-dark);
  background: rgba(242,167,59,0.12);
  padding: 5px 10px; border-radius: 999px;
  margin-bottom: 14px;
}
.portrait-card h3 { font-size: 19px; margin-bottom: 10px; }
.portrait-card p { color: var(--muted-on-light); font-size: 15px; margin-bottom: 12px; }
.portrait-card .pain { font-size: 14px; padding-top: 12px; border-top: 1px dashed var(--line-on-light); }
.portrait-card .pain b { color: var(--text-on-light); }
@media (max-width: 900px) { .portrait-grid { grid-template-columns: 1fr; } }

/* ---------- 3. Методология ---------- */
.method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.method-step {
  background: #fff;
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius);
  padding: 24px;
}
.method-step .num {
  font-family: var(--font-head); font-weight: 700; font-size: 26px;
  color: var(--accent-dark); margin-bottom: 12px;
}
.method-step h4 { font-size: 16px; margin-bottom: 8px; }
.method-step p { font-size: 14px; color: var(--muted-on-light); margin: 0; }
.method-contrast {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.method-contrast .card {
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  background: var(--paper-2);
  font-size: 14px;
  color: var(--muted-on-light);
}
.method-contrast .card b { display: block; color: var(--text-on-light); margin-bottom: 6px; font-size: 14.5px; }
@media (max-width: 900px) {
  .method-steps { grid-template-columns: repeat(2, 1fr); }
  .method-contrast { grid-template-columns: 1fr; }
}

/* ---------- 4. Виртуальный РОП — главный блок сайта ---------- */
.rop-section { padding: 128px 0; }
.rop-block { margin-top: 64px; }
.rop-block:first-of-type { margin-top: 48px; }
.rop-block-title {
  font-size: 22px; color: #fff; margin-bottom: 26px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line-on-dark);
}

.callout-bar {
  margin-top: 14px; font-size: 14px; padding: 12px 14px;
  background: var(--paper-2); border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent); color: var(--muted-on-light);
}
.callout-bar b { color: var(--text-on-light); }
.section-on-dark .callout-bar {
  background: var(--ink-2); color: var(--muted-on-dark);
}
.section-on-dark .callout-bar b { color: #fff; }

.rop-pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rop-pain-card {
  background: var(--ink-2); border: 1px solid var(--line-on-dark);
  border-radius: var(--radius); padding: 24px;
}
.rop-pain-card .tag {
  display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--accent); background: rgba(242,167,59,0.14);
  padding: 5px 10px; border-radius: 999px; margin-bottom: 14px;
}
.rop-pain-card h4 { font-size: 17px; color: #fff; margin-bottom: 10px; }
.rop-pain-card p { font-size: 14px; color: var(--muted-on-dark); margin-bottom: 0; }

.rop-included-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.rop-included-item {
  background: var(--ink-2); border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-sm); padding: 20px;
}
.rop-included-item .ic { font-size: 22px; display: block; margin-bottom: 10px; }
.rop-included-item h5 { font-size: 15px; color: #fff; margin-bottom: 8px; }
.rop-included-item h5 small { color: var(--muted-on-dark); font-weight: 500; font-size: 12px; }
.rop-included-item p { font-size: 13.5px; color: var(--muted-on-dark); margin: 0; }

.rop-weekly { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rop-week { border-left: 2px solid var(--line-on-dark); padding-left: 18px; }
.rop-week .when { font-family: var(--font-head); font-weight: 700; color: var(--accent); font-size: 13.5px; margin-bottom: 8px; }
.rop-week h5 { font-size: 15px; color: #fff; margin-bottom: 8px; }
.rop-week p { font-size: 13.5px; color: var(--muted-on-dark); margin: 0; }

.rop-tiers-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 20px; }
.rop-tier-chip {
  text-align: center; padding: 18px 12px;
  background: var(--ink-2); border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-sm);
}
.rop-tier-chip.featured { border-color: var(--accent); background: var(--ink-3); }
.rop-tier-chip b { display: block; font-family: var(--font-head); color: #fff; font-size: 15px; margin-bottom: 6px; }
.rop-tier-chip span { display: block; font-size: 12.5px; color: var(--muted-on-dark); margin-bottom: 6px; }
.rop-tier-chip small { display: block; font-size: 11.5px; color: var(--accent); }

/* Аккордеон (details/summary) — используется и в тёмном РОП-блоке, и в светлом апселл-блоке */
.acc {
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 10px;
  background: #fff;
}
.acc summary {
  cursor: pointer; font-weight: 600; font-size: 14.5px;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
}
.acc summary::after { content: "+"; font-size: 18px; color: var(--accent-dark); margin-left: 12px; }
.acc[open] summary::after { content: "−"; }
.acc summary::-webkit-details-marker { display: none; }
.acc-body { margin-top: 14px; font-size: 14px; color: var(--muted-on-light); }
.acc-body ul { padding-left: 18px; margin: 0; }
.acc-body ul li { margin-bottom: 6px; }
.acc-body.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.acc-body.cols h5 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted-on-light); margin-bottom: 8px; }
.section-on-dark .acc { background: var(--ink-2); border-color: var(--line-on-dark); }
.section-on-dark .acc summary { color: #fff; }
.section-on-dark .acc-body { color: var(--muted-on-dark); }
.rop-accordions { max-width: 900px; margin: 0 auto; }

@media (max-width: 900px) {
  .rop-pain-grid { grid-template-columns: 1fr; }
  .rop-weekly { grid-template-columns: repeat(2, 1fr); }
  .rop-tiers-strip { grid-template-columns: repeat(2, 1fr); }
  .acc-body.cols { grid-template-columns: 1fr; }
}

/* ---------- 5. Апселлы: карточки + юнит-экономика ---------- */
.upsell-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.upsell-card {
  background: #fff; border: 1px solid var(--line-on-light);
  border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm);
}
.upsell-icon { font-size: 26px; display: block; margin-bottom: 12px; }
.upsell-card h4 { font-size: 18px; margin-bottom: 8px; }
.upsell-card > p { font-size: 14.5px; color: var(--muted-on-light); margin-bottom: 0; }
.upsell-price {
  margin-top: 16px; font-family: var(--font-head); font-weight: 700; font-size: 18px;
  color: var(--accent-dark);
}
.upsell-price small { font-family: var(--font-body); font-weight: 500; font-size: 12.5px; color: var(--muted-on-light); }
.upsell-card .acc { margin-top: 16px; margin-bottom: 0; }
@media (max-width: 860px) { .upsell-grid { grid-template-columns: 1fr; } }

/* ---------- 6. Тарифы ---------- */
.pricing-intro { font-weight: 600; color: var(--text-on-light); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.price-card {
  background: #fff;
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius);
  padding: 22px 18px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.price-card.featured {
  border: 2px solid var(--accent);
  transform: translateY(-8px);
  box-shadow: 0 20px 44px -18px rgba(242,167,59,0.45);
}
.price-card .badge {
  align-self: flex-start;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  background: var(--accent); color: #1a1204;
  padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}
.price-card h3 { font-size: 17px; margin-bottom: 6px; }
.price-card .scope { font-size: 12.5px; font-weight: 600; color: var(--accent-dark); margin-bottom: 10px; }
.price-card .price { font-family: var(--font-head); font-size: 23px; font-weight: 700; margin-bottom: 10px; }
.price-card .price small { font-size: 12.5px; font-weight: 500; color: var(--muted-on-light); }
.price-card .desc { font-size: 13px; color: var(--muted-on-light); margin-bottom: 18px; flex: 1; }
@media (max-width: 1100px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } .price-card.featured { transform: none; } }
@media (max-width: 700px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .pricing-grid { grid-template-columns: 1fr; } }

.enterprise-note {
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: 22px 28px;
  margin-bottom: 40px;
}
.enterprise-note h4 { font-size: 15px; margin-bottom: 12px; }
.enterprise-note ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--muted-on-light); columns: 2; column-gap: 32px; }
.enterprise-note ul li { margin-bottom: 8px; break-inside: avoid; }
@media (max-width: 700px) { .enterprise-note ul { columns: 1; } }

/* Апселл-надбавки по SKU */
.addon-section { position: relative; }
.addon-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #1a1204; font-weight: 700; font-size: 13.5px;
  padding: 10px 20px; border-radius: 999px;
  margin-bottom: 20px;
  box-shadow: 0 10px 24px -10px rgba(242,167,59,0.6);
}
.addon-badge::before { content: "⚡"; }
.addon-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.addon-card {
  background: #fff; border: 1px solid var(--line-on-light);
  border-radius: var(--radius); padding: 22px 24px;
}
.addon-card h4 { font-size: 15.5px; display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.addon-check {
  width: 18px; height: 18px; flex: none; border-radius: 4px;
  border: 2px solid var(--accent-dark);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent-dark); font-size: 12px; font-weight: 900;
}
.addon-check::after { content: "✓"; }
.addon-sub { font-size: 12.5px; color: var(--muted-on-light); margin-bottom: 14px; }
.addon-tiers { list-style: none; margin: 0; padding: 0; }
.addon-tiers li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px dashed var(--line-on-light);
  font-size: 13.5px;
}
.addon-tiers li:last-child { border-bottom: none; }
.addon-tiers li b { font-family: var(--font-head); }
@media (max-width: 700px) { .addon-grid { grid-template-columns: 1fr; } }

/* ---------- 8. Форма диагностики ---------- */
.diag-wrap {
  background: var(--ink);
  color: var(--text-on-dark);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow-lg);
}
.door-tab {
  cursor: pointer;
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  background: var(--ink-2);
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.door-tab .icon { font-size: 22px; margin-bottom: 8px; display: block; }
.door-tab .title { font-weight: 700; font-family: var(--font-head); font-size: 15px; margin-bottom: 4px; color: #fff; }
.door-tab .sub { font-size: 12.5px; color: var(--muted-on-dark); }
.door-tab.active { border-color: var(--dc, var(--accent)); background: var(--ink-3); }
.door-tab[data-door="cards"] { --dc: var(--mod-cards); }
.door-tab[data-door="sales"] { --dc: var(--mod-sales); }
.door-tab[data-door="unit_economics"] { --dc: var(--mod-unit); }

/* Основная дверь входа — "Разберите мой отдел продаж" — доминирует визуально */
.door-tabs-primary { margin-bottom: 16px; }
.door-tabs-primary .door-tab { padding: 24px 22px; }
.door-tabs-primary .door-tab .icon { font-size: 28px; }
.door-tabs-primary .door-tab .title { font-size: 17px; }
.door-secondary-label { font-size: 12.5px; color: var(--muted-on-dark); margin: 0 0 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.door-tabs-secondary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 32px; }
.door-tab-sm { padding: 12px 14px; opacity: 0.82; }
.door-tab-sm .icon { font-size: 17px; margin-bottom: 4px; }
.door-tab-sm .title { font-size: 13px; }
.door-tab-sm .sub { font-size: 11.5px; }
.door-tab-sm.active { opacity: 1; }
@media (max-width: 800px) { .door-tabs-secondary { grid-template-columns: 1fr; } }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; color: var(--muted-on-dark); }
.form-field input, .form-field select, .form-field textarea {
  background: var(--ink-2);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 14.5px;
}
.form-field textarea { min-height: 90px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent);
}
.door-specific-hint {
  font-size: 13px; color: var(--muted-on-dark);
  background: var(--ink-2); border-left: 3px solid var(--accent);
  padding: 10px 14px; border-radius: 6px; margin-bottom: 18px;
}
.pii-note {
  font-size: 12.5px; color: var(--muted-on-dark);
  margin-top: -8px; margin-bottom: 18px;
}
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 6px; flex-wrap: wrap; }
.form-note { font-size: 12.5px; color: var(--muted-on-dark); max-width: 420px; }
#form-result { margin-top: 20px; font-size: 14.5px; padding: 14px 16px; border-radius: var(--radius-sm); display: none; }
#form-result.ok { display: block; background: rgba(53,184,147,0.14); border: 1px solid rgba(53,184,147,0.4); }
#form-result.err { display: block; background: rgba(224,86,63,0.14); border: 1px solid rgba(224,86,63,0.4); }
@media (max-width: 800px) {
  .form-grid { grid-template-columns: 1fr; }
  .diag-wrap { padding: 28px 20px; }
}

/* ---------- 9. Гарантия ---------- */
.guarantee-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.guarantee-item {
  display: flex; gap: 16px;
  background: #fff; border: 1px solid var(--line-on-light);
  border-radius: var(--radius); padding: 22px;
}
.guarantee-item .n {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: var(--ink); color: var(--accent);
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.guarantee-item p { margin: 0; font-size: 14.5px; color: var(--muted-on-light); }
.guarantee-item b { color: var(--text-on-light); }
@media (max-width: 800px) { .guarantee-list { grid-template-columns: 1fr; } }

/* ---------- 10. Roadmap ---------- */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.roadmap-item { position: relative; padding-left: 24px; border-left: 2px solid var(--line-on-light); }
.roadmap-item .when { font-family: var(--font-head); font-weight: 700; color: var(--accent-dark); font-size: 14px; margin-bottom: 8px; }
.roadmap-item h4 { font-size: 16px; margin-bottom: 8px; }
.roadmap-item p { font-size: 14px; color: var(--muted-on-light); margin: 0; }
@media (max-width: 860px) { .roadmap { grid-template-columns: 1fr; } }

/* ---------- 10. Артефакты ---------- */
.artifact-primary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 36px; }
.artifact-secondary-label {
  font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--muted-on-dark); margin-bottom: 16px;
}
.artifact-secondary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.artifact-card {
  background: var(--ink); color: var(--text-on-dark);
  border-radius: var(--radius); padding: 24px; border: 1px solid var(--ink-3);
}
.artifact-primary .artifact-card { border-color: var(--mod-sales); }
.artifact-card.compact { padding: 16px 18px; opacity: 0.9; }
.artifact-card .kind { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-on-dark); margin-bottom: 10px; }
.artifact-card h4 { color: #fff; font-size: 15.5px; margin-bottom: 12px; }
.artifact-card.compact h4 { font-size: 14px; margin-bottom: 8px; }
.artifact-mini-table { width: 100%; font-size: 12.5px; border-collapse: collapse; margin-bottom: 10px; }
.artifact-mini-table td { padding: 5px 0; border-bottom: 1px solid var(--line-on-dark); color: var(--muted-on-dark); }
.artifact-mini-table td:last-child { text-align: right; font-weight: 700; color: #fff; }
.artifact-card .foot-note { font-size: 12px; color: var(--muted-on-dark); margin: 0; }
@media (max-width: 900px) { .artifact-primary, .artifact-secondary { grid-template-columns: 1fr; } }

/* ---------- 12. Команда ---------- */
.team-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.team-card { background: #fff; border: 1px solid var(--line-on-light); border-radius: var(--radius); padding: 22px; text-align: center; }
.team-card .avatar { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 14px; background: var(--mc); display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-head); font-weight: 700; }
.team-card h4 { font-size: 15.5px; margin-bottom: 4px; }
.team-card p { font-size: 13.5px; color: var(--muted-on-light); margin: 0; }
.team-note { text-align: center; font-size: 14.5px; color: var(--muted-on-light); max-width: 560px; margin: 0 auto; }

/* ---------- 13. FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line-on-light); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 0; font-family: var(--font-body); font-size: 16px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; color: var(--text-on-light);
}
.faq-q::after { content: "+"; font-size: 20px; color: var(--accent-dark); transition: transform 0.15s ease; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.2s ease; font-size: 14.5px; color: var(--muted-on-light); }
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 20px; }

/* ---------- 14. Финальный CTA ---------- */
.final-cta {
  background: linear-gradient(135deg, var(--ink) 0%, #1c2c4f 100%);
  color: var(--text-on-dark);
  text-align: center;
  padding: 96px 0;
}
.final-cta h2 { color: #fff; font-size: clamp(26px, 3.6vw, 38px); max-width: 700px; margin: 0 auto 16px; }
.final-cta p { color: var(--muted-on-dark); max-width: 560px; margin: 0 auto 32px; font-size: 17px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--muted-on-dark);
  padding: 48px 0 28px;
  font-size: 13px;
}
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--muted-on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Утилиты ---------- */
.center { text-align: center; }
.mt-32 { margin-top: 32px; }
