/* ============================================================
   RealtyCloud — B2B лендинг для риелторов и агентств
   Компоненты поверх main.css (оригинальный CSS сайта rc-risk.ru)
   ============================================================ */

:root {
  --blue: #2475ff;
  --blue-dark: #0056d6;
  --blue-ink: #0b3fa8;
  --ink: #0b1220;
  --text: #1f2937;
  --muted: #6b7280;
  --muted-2: #94a3b8;
  --line: #e5e7eb;
  --line-soft: #eef2f7;
  --bg: #ffffff;
  --bg-soft: #f6f9fe;
  --bg-blue: #eff6ff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .12);
}

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 88px; }
[hidden] { display: none !important; }
body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.hero-grid > *, .about-grid > *, .report-grid > *, .b2b-grid > *,
.pricing-grid > *, .scanner-grid > *, .stat-cards > *, .stats-inner > *,
.footer-grid > *, .header-inner > * { min-width: 0; }
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--soft { background: linear-gradient(180deg, #f8fafc 0%, #eff5ff 100%); }
.section--blue { background: var(--blue); color: #fff; }

/* ---------- типографика ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--bg-blue); color: var(--blue-ink);
  font-size: 13px; font-weight: 600; letter-spacing: .01em;
  border: 1px solid rgba(36, 117, 255, .14);
}
.h2 {
  font-size: clamp(28px, 3.4vw, 40px); line-height: 1.14;
  letter-spacing: -.025em; font-weight: 800; color: var(--ink);
  margin: 16px 0 0;
}
.h2--light { color: #fff; }
.lead {
  margin: 16px 0 0; font-size: 18px; line-height: 1.55; color: var(--muted);
  max-width: 720px;
}
.lead--light { color: rgba(255, 255, 255, .86); }
.section-head { max-width: 800px; }
.section-head--center { margin: 0 auto; text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border-radius: 10px; padding: 14px 26px; font-size: 16px; font-weight: 600;
  cursor: pointer; border: 0; text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn svg { flex: none; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(36, 117, 255, .28); }
.btn--primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(36, 117, 255, .34); }
.btn--white { background: #fff; color: var(--blue-dark); }
.btn--white:hover { background: #f1f6ff; transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: #cbd5e1; transform: translateY(-1px); }
.btn--lg { padding: 17px 32px; font-size: 17px; }
.btn--sm { padding: 10px 18px; font-size: 15px; border-radius: 9px; }
.btn--outline { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .55); }
.btn--outline:hover { background: rgba(255, 255, 255, .12); border-color: #fff; transform: translateY(-1px); }
.btn--block { width: 100%; }

/* ---------- шапка ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  padding: 18px 0; background: transparent;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, .08);
  padding: 11px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 40px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  color: #374151; font-size: 15px; font-weight: 500; text-decoration: none;
  transition: color .2s ease;
}
.nav a:hover { color: var(--blue); }
.nav .btn { margin-left: 6px; }
.burger {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; color: var(--ink);
}
.mobile-menu {
  position: fixed; inset: 0; z-index: 55; background: #fff;
  padding: 96px 24px 32px; transform: translateX(100%);
  transition: transform .32s ease; display: flex; flex-direction: column; gap: 10px;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu a {
  font-size: 19px; font-weight: 600; color: var(--ink); text-decoration: none;
  padding: 14px 4px; border-bottom: 1px solid var(--line-soft);
}
.mobile-menu .btn { margin-top: 18px; }
.mobile-menu .promo {
  display: flex; align-items: center; gap: 10px; margin-top: 16px;
  background: var(--bg-blue); color: var(--blue-ink); border-radius: 10px;
  padding: 12px 14px; font-size: 14px; font-weight: 500;
}

/* ---------- первый экран ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 148px 0 92px;
  background:
    radial-gradient(900px 500px at 78% 18%, rgba(36, 117, 255, .10), transparent 62%),
    radial-gradient(700px 460px at 10% 8%, rgba(147, 197, 253, .22), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 58%, #eef4ff 100%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(36, 117, 255, .18), transparent);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.14fr .86fr; gap: 26px; align-items: center; }
.hero-title {
  margin: 20px 0 0; font-size: clamp(30px, 3.15vw, 42px); line-height: 1.12; max-width: 600px;
  letter-spacing: -.032em; font-weight: 800; color: var(--ink);
  text-wrap: balance;
}
.hero-title .accent { color: var(--blue); }
.nowrap { white-space: nowrap; }
.hero-sub {
  margin: 18px 0 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5;
  color: #475569; max-width: 560px;
}
.hero-list {
  margin: 26px 0 0; padding: 20px 22px; list-style: none;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow);
  border: 1px solid rgba(226, 232, 240, .9); max-width: 560px;
}
.hero-list li { display: flex; align-items: flex-start; gap: 11px; padding: 7px 0; font-size: 15.5px; color: #334155; }
.hero-list svg { flex: none; margin-top: 3px; color: var(--blue); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.hero-note { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }

/* ---------- иллюстрация первого экрана (перенесена со старого сайта) ---------- */
.hero-visual { position: relative; width: 100%; max-width: 560px; margin: 0 auto; }
.hero-visual > div { width: 100%; }
/* декоративное вращающееся кольцо 120% вылезает за карточку на узких экранах */
.hero-visual .-z-10 { display: none; }
@media (max-width: 560px) {
  .hero-visual .hv-card { padding: 12px; }
  .hero-visual .hv-stage { height: 296px !important; }
  .hero-visual .hv-badge { padding: 8px 10px !important; }
  .hero-visual .hv-badge .text-sm { font-size: 11.5px !important; }
  .hero-visual .hv-badge--tl { top: -6px !important; left: 0 !important; }
  .hero-visual .hv-badge--br { bottom: -6px !important; right: 0 !important; }
  /* центр и узлы уменьшаем, иначе круг съедает сцену */
  .hero-visual .hv-core { width: 126px !important; height: 126px !important; }
  .hero-visual .hv-core .p-4 { padding: 9px !important; }
  .hero-visual .hv-core svg { width: 22px !important; height: 22px !important; }
  .hero-visual .hv-core span { font-size: 10.5px !important; }
  .hero-visual .hv-core .mb-2 { margin-bottom: 4px !important; }
  .hero-visual .hv-node { padding: 8px !important; }
  .hero-visual .hv-node svg { width: 22px !important; height: 22px !important; }
  .hero-visual .hv-node span { font-size: 10px !important; bottom: -18px !important; }
}

/* ---------- логотипы ---------- */
.logos { padding: 40px 0 8px; background: #fff; }
.logos-label {
  text-align: center; font-size: 12.5px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted-2);
}
.logos-row {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 24px 64px; margin-top: 26px;
}
.logos-row img {
  width: 168px; height: 56px; object-fit: contain; filter: grayscale(1); opacity: .58;
  transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}
.logos-row img:hover { filter: none; opacity: 1; transform: translateY(-2px); }
.logos-row img.tall { width: 118px; height: 56px; }
.logos-caption { margin: 22px 0 0; text-align: center; font-size: 14.5px; color: var(--muted); }
.logos-caption b { color: var(--text); }

/* ---------- полоса цифр ---------- */
.stats { padding: 0 0 8px; background: #fff; }
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line-soft); border: 1px solid var(--line-soft);
  border-radius: 16px; overflow: hidden;
}
.stat { background: #fff; padding: 24px 20px; text-align: center; }
.stat-value { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.02em; color: var(--blue); }
.stat-label { margin-top: 5px; font-size: 13.5px; color: var(--muted); }

/* ---------- блок «что проверяем» ---------- */
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 26px; margin-top: 30px; }
.check-item { display: flex; align-items: flex-start; gap: 11px; font-size: 15.5px; color: #334155; }
.check-item svg { flex: none; margin-top: 2px; color: var(--blue); }
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }

.side-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.side-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px;
  background: linear-gradient(90deg, var(--blue), #7fb0ff);
}
.side-card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; color: var(--ink); }
.side-card p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px;
  background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: 999px;
  font-size: 12.5px; font-weight: 500; color: #475569;
}
.side-list { list-style: none; margin: 16px 0 0; padding: 0; }
.side-list li {
  display: flex; align-items: flex-start; gap: 10px; padding: 9px 0;
  border-bottom: 1px solid var(--line-soft); font-size: 14px; color: #334155;
}
.side-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.side-list svg { flex: none; margin-top: 2px; color: var(--blue); }

/* ---------- синий блок с примером отчёта ---------- */
.report { background: var(--blue); color: #fff; position: relative; overflow: hidden; }
.report::before {
  content: ""; position: absolute; width: 720px; height: 720px; right: -220px; top: -320px;
  background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 62%); pointer-events: none;
}
.report::after {
  content: ""; position: absolute; width: 560px; height: 560px; left: -200px; bottom: -280px;
  background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 64%); pointer-events: none;
}
.report .wrap { position: relative; z-index: 1; }
.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; margin-top: 44px; }
.glass {
  background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius); padding: 24px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.glass h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; color: #fff; }
.glass p { margin: 0; font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .84); }
.glass--solid { background: rgba(255, 255, 255, .07); }
.glass-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.glass-head h3 { margin: 0; }
.price-now { font-size: 13px; color: rgba(255, 255, 255, .7); }
.price-value { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.price-range { margin-top: 10px; font-size: 13.5px; color: rgba(255, 255, 255, .78); display: flex; justify-content: space-between; }

.chart { margin-top: 14px; }
.chart svg { width: 100%; height: auto; display: block; }
.chart-legend { display: flex; justify-content: space-between; font-size: 11.5px; color: rgba(255, 255, 255, .62); margin-top: 6px; }

/* вкладки */
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: rgba(255, 255, 255, .14); border-radius: 10px; margin-bottom: 14px; }
.tab {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 8px;
  border: 0; background: transparent; color: rgba(255, 255, 255, .88);
  font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s ease, color .2s ease;
}
.tab:hover { background: rgba(255, 255, 255, .12); }
.tab.is-active { background: #fff; color: var(--blue-dark); }
.report-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(9, 30, 66, .22); color: #1f2937; }
.report-card-head { display: flex; align-items: center; gap: 10px; padding: 15px 20px; background: #f8fafc; border-bottom: 1px solid var(--line); }
.report-card-head svg { color: var(--blue); }
.report-card-head h3 { margin: 0; font-size: 16px; font-weight: 600; color: #111827; }
.report-card-body { padding: 20px; }
.kv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.kv-label { font-size: 12.5px; color: var(--muted); }
.kv-value { font-size: 14.5px; font-weight: 600; color: #111827; margin-top: 2px; }
.subhead { display: flex; align-items: center; gap: 8px; margin: 20px 0 10px; font-size: 14px; font-weight: 600; color: #374151; }
.subhead svg { color: var(--blue); }
.owner-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid #f1f5f9; }
.owner-row:last-child { border-bottom: 0; }
.owner-left { display: flex; align-items: center; gap: 10px; }
.owner-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-blue); display: grid; place-items: center; color: var(--blue); flex: none; }
.owner-name { font-size: 14px; font-weight: 600; color: #1f2937; }
.owner-date { font-size: 12px; color: var(--muted); }
.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: #f1f5f9; color: #334155; white-space: nowrap; }
.badge--green { background: #dcfce7; color: #166534; }
.badge--red { background: #fee2e2; color: #991b1b; }
.badge--amber { background: #fef3c7; color: #92400e; }
.risk-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid #f1f5f9; }
.risk-row:last-child { border-bottom: 0; }
.risk-title { font-size: 14px; font-weight: 600; color: #1f2937; }
.risk-desc { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.report-card-foot { margin-top: 16px; }

/* ---------- B2B преимущества ---------- */
.b2b-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 34px; }
.b2b-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.b2b-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d7e5ff; }
.b2b-icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--bg-blue);
  display: grid; place-items: center; color: var(--blue); margin-bottom: 14px;
}
.b2b-card h3 { margin: 0 0 7px; font-size: 18px; font-weight: 700; color: var(--ink); }
.b2b-card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.b2b-card em { font-style: normal; font-weight: 600; color: var(--text); }

/* ---------- таблица сравнения ---------- */
.cmp-hint { display: none; margin: 18px 0 0; text-align: center; font-size: 12.5px; color: var(--muted-2); }
.cmp-wrap {
  margin-top: 30px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm);
}
.cmp { width: 100%; min-width: 780px; border-collapse: collapse; font-size: 14.5px; }
.cmp th, .cmp td { padding: 15px 18px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line-soft); }
.cmp thead th { font-size: 12.5px; font-weight: 600; color: var(--muted); background: #f8fafc; border-bottom: 1px solid var(--line); }
.cmp thead th.is-us { background: #eaf2ff; color: var(--blue-ink); }
.cmp tbody th { font-weight: 500; color: #334155; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp td.is-us { background: #f6faff; font-weight: 600; color: #0f172a; }
.cmp tbody tr:hover td, .cmp tbody tr:hover th { background: #fbfdff; }
.cmp tbody tr:hover td.is-us { background: #eef6ff; }
.cmp .yes { display: inline-flex; align-items: center; gap: 6px; color: #15803d; font-weight: 600; }
.cmp .muted { color: var(--muted-2); }
.cmp td b { font-weight: 700; color: var(--blue-ink); }
@media (max-width: 820px) {
  .cmp-wrap { border: 0; box-shadow: none; background: transparent; overflow: visible; }
  .cmp { min-width: 0; display: block; font-size: 14px; }
  .cmp thead { display: none; }
  .cmp tbody { display: block; }
  .cmp tbody tr {
    display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px;
    margin-bottom: 12px; padding: 6px 4px; box-shadow: var(--shadow-sm);
  }
  .cmp tbody th, .cmp tbody td {
    display: block; border: 0; padding: 9px 14px; background: transparent !important;
  }
  .cmp tbody th {
    font-weight: 600; color: var(--ink); font-size: 14.5px; padding-bottom: 4px;
    border-bottom: 1px solid var(--line-soft); margin-bottom: 4px;
  }
  .cmp tbody td::before {
    content: attr(data-label); display: block; margin-bottom: 3px;
    font-size: 10.5px; font-weight: 600; letter-spacing: .04em;
    text-transform: uppercase; color: var(--muted-2);
  }
  .cmp tbody td.is-us { background: #f2f8ff !important; border-radius: 10px; margin: 4px 10px; }
  .cmp td b { font-size: 15px; }
}

/* ---------- тарифы ---------- */
.pricing-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 40px; }
.price-card { flex: 1 1 calc((100% - 36px) / 3); min-width: 262px; max-width: 380px; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.price-card--accent { border-top: 4px solid var(--blue); }
.price-head { padding: 24px 22px 18px; text-align: center; background: linear-gradient(180deg, #eff6ff 0%, #fff 100%); border-bottom: 1px solid var(--line-soft); }
.price-sum { font-size: 27px; font-weight: 800; color: var(--blue-ink); letter-spacing: -.02em; }
.price-term { margin-top: 4px; font-size: 13px; color: var(--muted); }
.price-body { padding: 16px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f1f5f9; font-size: 14px; color: #374151; }
.price-row:last-of-type { border-bottom: 0; }
.price-row b { color: #15803d; font-size: 15px; font-weight: 700; }
.price-row .hint { display: inline-flex; color: var(--muted-2); margin-left: 5px; cursor: help; position: relative; }
.price-row .hint:hover::after {
  content: attr(data-tip); position: absolute; left: 50%; bottom: 135%; transform: translateX(-50%);
  width: 230px; background: #0f172a; color: #fff; font-size: 11.5px; line-height: 1.45;
  padding: 8px 10px; border-radius: 8px; z-index: 5; box-shadow: var(--shadow);
}
.price-body .btn { margin-top: auto; }
.price-body .btn--primary { margin-top: 18px; }
.pricing-more { text-align: center; margin-top: 28px; }
.pricing-note { margin: 18px auto 0; max-width: 720px; text-align: center; font-size: 13.5px; color: var(--muted); }
.promo-strip {
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  margin: 26px auto 0; padding: 12px 18px; width: fit-content;
  background: var(--bg-blue); border-radius: 999px; color: var(--blue-ink); font-size: 14px; font-weight: 500;
}

/* ---------- сканер ---------- */
.scanner-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 22px; margin-top: 38px; align-items: stretch; }
.scan-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.scan-panel h3 { margin: 0 0 4px; font-size: 17px; font-weight: 700; color: var(--ink); }
.scan-sources { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 22px; }
.scan-sources .chip-pill { background: #fff; }
.demo-object {
  border: 1px dashed #c7dbff; background: #f6faff; border-radius: 12px;
  padding: 14px 16px; margin-bottom: 22px;
}
.demo-object-label { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.demo-object-title { margin-top: 5px; font-size: 14.5px; font-weight: 600; color: #1f2937; }
.demo-object-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.demo-object-meta span {
  font-size: 11.5px; color: #475569; background: #fff; border: 1px solid var(--line-soft);
  border-radius: 999px; padding: 3px 9px;
}
.progress-wrap { margin-top: auto; }
.progress-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.progress-label { font-size: 13.5px; color: var(--muted); }
.progress-value { font-size: 22px; font-weight: 800; color: var(--blue); letter-spacing: -.02em; }
.progress-track { height: 10px; border-radius: 999px; background: #eef2f7; overflow: hidden; }
.progress-bar { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #5b9bff, var(--blue)); transition: width .35s ease; }
.scan-panel .btn { margin-top: 20px; }
.scan-log {
  background: #0b1220; border-radius: var(--radius); padding: 20px; color: #cbd5e1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.8px; line-height: 1.75;
  box-shadow: var(--shadow); display: flex; flex-direction: column; min-height: 340px;
}
.scan-log-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid rgba(148, 163, 184, .18); }
.scan-log-title { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #64748b; }
.dots { display: flex; gap: 5px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #334155; display: block; }
.scan-log-body { flex: 1; overflow: hidden; }
.log-line { opacity: 0; transform: translateY(4px); transition: opacity .25s ease, transform .25s ease; }
.log-line.show { opacity: 1; transform: none; }
.log-ok { color: #4ade80; }
.log-warn { color: #fbbf24; }
.log-blue { color: #60a5fa; }
.log-dim { color: #64748b; }
.scan-result {
  margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: rgba(36, 117, 255, .12);
  border: 1px solid rgba(96, 165, 250, .35); color: #dbeafe; font-size: 13px; line-height: 1.6;
  opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease;
}
.scan-result.show { opacity: 1; transform: none; }
.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.stat-card { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; box-shadow: var(--shadow-sm); }
.stat-card svg { flex: none; color: var(--blue); margin-top: 2px; }
.stat-card h4 { margin: 0 0 3px; font-size: 15px; font-weight: 700; color: var(--ink); }
.stat-card p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ---------- СМИ ---------- */
.media-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.media-item {
  display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  font-size: 14.5px; font-weight: 600; color: #334155; text-decoration: none;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, border-color .2s ease, color .2s ease;
}
.media-item:hover { transform: translateY(-2px); border-color: #c7dbff; color: var(--blue-dark); }

/* ---------- финальный CTA ---------- */
.final {
  background: linear-gradient(135deg, #0b3fa8 0%, #1560e0 55%, #2475ff 100%);
  color: #fff; position: relative; overflow: hidden;
}
.final::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(560px 320px at 18% 0%, rgba(255, 255, 255, .16), transparent 70%),
    radial-gradient(520px 300px at 88% 100%, rgba(255, 255, 255, .12), transparent 70%);
}
.final .wrap { position: relative; z-index: 1; text-align: center; }
.final h2 { margin: 0; font-size: clamp(27px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.025em; }
.final p { margin: 14px auto 0; max-width: 620px; font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, .88); }
.final .hero-cta { justify-content: center; }
.final .hero-note { justify-content: center; color: rgba(255, 255, 255, .75); }

/* ---------- подвал ---------- */
.site-footer { background: #0f172a; color: #94a3b8; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 38px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p { margin: 0 0 18px; font-size: 14px; line-height: 1.6; max-width: 340px; }
.socials { display: flex; gap: 9px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%; background: #1e293b; color: #cbd5e1;
  display: grid; place-items: center; transition: background .2s ease, color .2s ease;
}
.socials a:hover { background: var(--blue); color: #fff; }
.footer-badges { display: flex; align-items: center; gap: 10px; margin: 20px 0 14px; }
.footer-badges a { display: inline-flex; align-items: center; justify-content: center; }
.footer-badges img { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: .85; }
.footer-badges .sk { height: 30px; }
.footer-note { font-size: 12.5px; line-height: 1.6; color: #64748b; margin: 0 0 6px; }
.site-footer h4 { margin: 0 0 14px; color: #fff; font-size: 15px; font-weight: 700; }
.footer-list { list-style: none; margin: 0; padding: 0; font-size: 13.5px; line-height: 1.7; }
.footer-list li { margin-bottom: 7px; }
.footer-list a { color: #94a3b8; text-decoration: none; }
.footer-list a:hover { color: #fff; }
.footer-tariffs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 14px; }
.footer-tariff { background: #1e293b; border-radius: 9px; padding: 10px 12px; transition: background .2s ease; }
.footer-tariff:hover { background: #243449; }
.footer-tariff b { display: block; color: #60a5fa; font-size: 14px; font-weight: 700; }
.footer-tariff span { font-size: 11.5px; color: #94a3b8; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid #1e293b; font-size: 12.5px; color: #64748b;
}

/* ---------- модальное окно ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center;
  padding: 20px; background: rgba(15, 23, 42, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.modal.is-open { display: flex; animation: fadeIn .2s ease; }
.modal-dialog {
  position: relative; width: 100%; max-width: 440px; background: #fff; border-radius: 16px;
  padding: 28px; box-shadow: 0 30px 80px rgba(2, 6, 23, .35); animation: popIn .24s ease;
  max-height: calc(100vh - 40px); overflow-y: auto;
}
@keyframes popIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border: 0; background: transparent;
  color: #64748b; cursor: pointer; border-radius: 8px; display: grid; place-items: center;
}
.modal-close:hover { background: #f1f5f9; color: #0f172a; }
.modal h2 { margin: 0; font-size: 21px; font-weight: 700; text-align: center; color: var(--ink); }
.modal-sub { margin: 7px 0 0; text-align: center; font-size: 13.5px; color: var(--muted); }
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 10px; margin: 22px 0 20px; }
.step { display: flex; flex-direction: column; align-items: center; gap: 7px; width: 104px; text-align: center; }
.step-dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #f1f5f9; color: #64748b; }
.step.is-current .step-dot { background: var(--bg-blue); color: var(--blue); }
.step-label { font-size: 11px; color: #475569; line-height: 1.3; white-space: nowrap; }
.step-sep { width: 18px; height: 2px; background: var(--line); border-radius: 2px; margin-top: 19px; flex: none; }
.field { margin-bottom: 14px; }
.field label { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.field label svg { color: var(--blue); }
.field input {
  width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 9px; padding: 0 13px;
  font-size: 15px; color: var(--ink); background: #fff; transition: border-color .2s ease, box-shadow .2s ease;
  font-family: inherit;
}
.field input::placeholder { color: #94a3b8; }
.field input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36, 117, 255, .15); }
.field input.is-error { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239, 68, 68, .12); }
.field-error { display: none; margin-top: 5px; font-size: 12px; color: #dc2626; }
.select-wrap { position: relative; }
.select-wrap select {
  width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 9px;
  padding: 0 38px 0 13px; font-size: 15px; color: var(--ink); background: #fff;
  -webkit-appearance: none; appearance: none; font-family: inherit; cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.select-wrap select:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36, 117, 255, .15); }
.select-wrap select.is-error { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239, 68, 68, .12); }
.select-wrap select:invalid { color: #94a3b8; }
.select-chevron { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); color: #94a3b8; pointer-events: none; }
.form-hint {
  display: flex; align-items: flex-start; gap: 8px; margin: 2px 0 14px;
  font-size: 11.5px; line-height: 1.5; color: var(--muted);
}
.form-hint svg { color: var(--blue); flex: none; margin-top: 1px; }

/* порядок полей: пример — имя, почта, телефон, роль; кабинет — имя, телефон, почта */
#leadForm { display: flex; flex-direction: column; }
#leadForm .field--name { order: 1; }
#leadForm .field--email { order: 2; }
#leadForm .field--phone { order: 3; }
#leadForm .field--role { order: 4; }
#leadForm .form-hint { order: 10; }
#leadForm .btn[type="submit"] { order: 20; }
#leadForm .modal-error { order: 25; }
#leadForm .consent { order: 30; }
.modal-dialog.mode-cabinet #leadForm .field--email { order: 3; }
.modal-dialog.mode-cabinet #leadForm .field--phone { order: 2; }
.modal-dialog.mode-cabinet .field--role { display: none; }
.modal-dialog.mode-cabinet .form-hint { display: none; }
.field-error.show { display: block; }
.modal .btn { margin-top: 6px; }
.consent { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; font-size: 11.5px; line-height: 1.5; color: #94a3b8; }
.consent svg { flex: none; margin-top: 1px; color: var(--blue); }
.modal-success { display: none; text-align: center; padding: 12px 0 4px; }
.modal-success.show { display: block; }
.success-icon { width: 60px; height: 60px; border-radius: 50%; background: #dcfce7; color: #16a34a; display: grid; place-items: center; margin: 0 auto 16px; }
.modal-success h3 { margin: 0 0 8px; font-size: 19px; color: var(--ink); }
.modal-success p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; }
.modal-error { display: none; margin-top: 12px; padding: 10px 12px; border-radius: 9px; background: #fef2f2; color: #b91c1c; font-size: 12.5px; line-height: 1.5; }
.modal-error.show { display: block; }

/* ---------- анимация появления ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- как работает ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.step-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.step-num {
  width: 34px; height: 34px; border-radius: 10px; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 15px; margin-bottom: 14px;
  box-shadow: 0 6px 14px rgba(36, 117, 255, .3);
}
.step-card h3 { margin: 0 0 6px; font-size: 16.5px; font-weight: 700; color: var(--ink); }
.step-card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ---------- гарантия ---------- */
.guarantee {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 22px; align-items: center;
  background: linear-gradient(120deg, #f2f8ff, #eaf3ff);
  border: 1px solid #d8e6fb; border-radius: 18px; padding: 28px 30px;
}
.guarantee-icon {
  width: 64px; height: 64px; border-radius: 16px; background: #fff;
  display: grid; place-items: center; color: var(--blue); box-shadow: 0 10px 24px rgba(36, 117, 255, .14);
}
.guarantee-text h2 { margin: 0 0 6px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.guarantee-text p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #475569; max-width: 640px; }

/* ---------- проверка по адресу ---------- */
.quiz {
  max-width: 820px; margin: 34px auto 0; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 26px; box-shadow: var(--shadow);
}
.quiz-form { display: flex; gap: 12px; }
.quiz-input-wrap { position: relative; flex: 1; }
.quiz-input-wrap svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted-2); }
.quiz-input-wrap input {
  width: 100%; height: 52px; border: 1px solid var(--line); border-radius: 11px;
  padding: 0 16px 0 42px; font-size: 15px; font-family: inherit; color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.quiz-input-wrap input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36, 117, 255, .15); }
.quiz-form .btn { height: 52px; }
.quiz-hint { margin: 12px 0 0; font-size: 12.5px; color: var(--muted-2); }
.quiz-result { margin-top: 20px; border-top: 1px solid var(--line-soft); padding-top: 20px; }
.quiz-result-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.quiz-result-label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.quiz-result-address { font-size: 16px; font-weight: 600; color: var(--ink); margin-top: 4px; }
.quiz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.quiz-item {
  display: flex; gap: 10px; align-items: flex-start; background: var(--bg-soft);
  border: 1px solid var(--line-soft); border-radius: 12px; padding: 12px 14px;
}
.quiz-item b { font-size: 14px; color: var(--ink); display: block; }
.quiz-item p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.quiz-dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 6px; flex: none; }
.quiz-dot--red { background: #ef4444; }
.quiz-dot--amber { background: #f59e0b; }
.quiz-dot--green { background: #22c55e; }

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px; margin: 32px auto 0; border: 1px solid var(--line); border-radius: 16px;
  background: #fff; overflow: hidden; box-shadow: var(--shadow-sm);
}
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-size: 15.5px; font-weight: 600;
  color: var(--ink); display: flex; justify-content: space-between; gap: 14px; align-items: center;
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--blue); font-weight: 400; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item[open] summary { color: var(--blue-dark); }
.faq-body { padding: 0 22px 18px; font-size: 14.5px; line-height: 1.62; color: #475569; }
.faq-item:hover summary { color: var(--blue); }

/* ---------- адаптив ---------- */
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .guarantee { grid-template-columns: 56px 1fr; }
  .guarantee .btn { grid-column: 1 / -1; justify-self: start; }
  .guarantee-icon { width: 56px; height: 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-grid { grid-template-columns: 1fr; gap: 26px; }
  .report-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .price-card { flex: 1 1 calc((100% - 18px) / 2); }
  .scanner-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 999px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 768px) {
  .section { padding: 58px 0; }
  .hero { padding: 104px 0 62px; }
  .site-header .logo img { height: 34px; }
  .hero-list { padding: 16px 18px; }
  .check-grid { grid-template-columns: 1fr; gap: 10px; }
  .b2b-grid { grid-template-columns: 1fr; }
  .price-card { flex: 1 1 100%; max-width: none; }
  .stat-cards { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .guarantee { grid-template-columns: 1fr; padding: 22px; text-align: left; gap: 16px; }
  .guarantee-text h2 { font-size: 19px; }
  .quiz-form { flex-direction: column; }
  .quiz-form .btn { width: 100%; }
  .quiz-grid { grid-template-columns: 1fr; }
  .quiz { padding: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .logos-row { gap: 18px 34px; }
  .logos-row img { width: 118px; height: 40px; }
  .logos-row img.tall { width: 84px; height: 40px; }
  .hero-cta .btn { width: 100%; }
  .kv-grid { grid-template-columns: 1fr; }
  .modal-dialog { padding: 22px; }
  .steps { gap: 6px; }
  .step { width: 78px; }
  .step-sep { width: 12px; }
}
@media (max-width: 420px) {
  .tabs { display: flex; width: 100%; padding: 3px; }
  .tab { flex: 1 1 0; padding: 8px 4px; font-size: 12.5px; justify-content: center; }
  .tab svg { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
