/* Caravan Leads — витрина баз. Палитра и шрифты — как в PDF-предложениях (carbase.sale_offer). */
:root {
  --navy: #0B1D36; --navy2: #14335B; --blue: #1E4C84; --accent: #FF6B2C; --accent2: #E8591B;
  --teal: #12B39B; --violet: #7B5CE0; --tg: #2AA3E0; --ink: #14213D; --muted: #5B6B82; --bg: #F3F6FA;
  --line: #DCE4EF; --soft: #C9D6E8; --r: 16px; --c: var(--blue);
  --shadow: 0 1px 2px rgba(11, 29, 54, .05), 0 10px 28px rgba(11, 29, 54, .08);
  --shadow2: 0 2px 4px rgba(11, 29, 54, .06), 0 22px 44px rgba(11, 29, 54, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif; color: var(--ink);
       background: #fff; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .num, .price, .brand { font-family: Montserrat, Inter, Arial, sans-serif; }
h3 { margin: 0; }
a { color: inherit; }
img, svg { display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.i { width: 1.15em; height: 1.15em; flex: none; display: inline-block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .9);
       backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px);
       border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; text-decoration: none;
         color: var(--navy); letter-spacing: -.01em; white-space: nowrap; }
.brand svg { width: 34px; height: 34px; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; }
.nav a:hover, .nav a.on { color: var(--ink); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px;
            width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px;
       padding: 13px 20px; font: 600 15px/1.1 Inter, system-ui, sans-serif; text-decoration: none; cursor: pointer;
       transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 18px rgba(255, 107, 44, .28); }
.btn-primary:hover { background: var(--accent2); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-line { background: #fff; color: var(--ink); border: 1px solid var(--soft); }
.btn-line:hover { border-color: var(--ink); }
.btn-wa { background: var(--teal); color: #fff; }
.btn-tg { background: var(--tg); color: #fff; }
.btn-mail { background: var(--violet); color: #fff; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-sm { padding: 10px 14px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; --hc: #1E4C84;
        background: linear-gradient(135deg, #0B1D36 0%, #14335B 58%, var(--hc) 100%); }
.hero::before { content: ""; position: absolute; inset: 0;
                background-image: radial-gradient(rgba(255, 255, 255, .14) 1.2px, transparent 1.4px);
                background-size: 22px 22px;
                -webkit-mask-image: linear-gradient(100deg, transparent 10%, #000 70%);
                mask-image: linear-gradient(100deg, transparent 10%, #000 70%); }
.hero .stripe, .hero .stripe2 { position: absolute; right: -140px; height: 70px; width: 560px; transform: rotate(-30deg); }
.hero .stripe { top: 10px; background: var(--accent); opacity: .92; }
.hero .stripe2 { top: 96px; background: var(--teal); opacity: .55; right: -210px; }
.hero > .wrap { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; gap: 56px; align-items: center;
                padding-top: 76px; padding-bottom: 84px; }
.hero.db > .wrap { grid-template-columns: 1.3fr .7fr; padding-bottom: 72px; }
.eyebrow { font: 700 12px/1.3 Montserrat, Arial, sans-serif; letter-spacing: .26em; text-transform: uppercase; color: #FFB48F; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.07; margin: 18px 0; font-weight: 800; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: 18px; color: #C9D6E8; max-width: 620px; margin: 0; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.crumb { font-size: 14px; color: #9FB3CF; margin-bottom: 18px; }
.crumb a { color: #C9D6E8; text-decoration: none; }
.crumb a:hover { color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 46px; padding-top: 26px;
         border-top: 1px solid rgba(255, 255, 255, .14); }
.stat .num { font-size: 30px; font-weight: 800; line-height: 1.1; }
.stat small { display: block; color: #9FB3CF; font-size: 13px; margin-top: 4px; line-height: 1.35; }

.badge { justify-self: end; width: 250px; height: 250px; border-radius: 50%; display: flex; flex-direction: column;
         align-items: center; justify-content: center; text-align: center;
         background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06));
         border: 1px solid rgba(255, 255, 255, .28); box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.badge .num { font-size: 52px; font-weight: 800; line-height: 1; }
.badge small { letter-spacing: .3em; font: 700 12px Montserrat, Arial; color: #FFB48F; margin-top: 8px; }
.badge .sub { font-size: 14px; color: #C9D6E8; margin-top: 10px; }

/* record card */
.rec-card { background: #fff; color: var(--ink); border-radius: 20px; overflow: hidden;
            box-shadow: 0 34px 70px rgba(0, 0, 0, .38); transform: rotate(1.4deg); max-width: 460px; justify-self: end; }
.rec-card .hd { background: linear-gradient(120deg, #0FA58F, #18C2A8 55%, #2BD0B6); color: #fff; padding: 18px 22px; }
.rec-card .hd .t { font: 800 17px/1.3 Montserrat, Arial; }
.rec-card .hd .loc { display: inline-flex; gap: 6px; align-items: center; margin-top: 8px; font-size: 13px;
                     background: rgba(255, 255, 255, .2); border-radius: 99px; padding: 3px 10px; }
.rec-card .row { display: grid; grid-template-columns: 104px 1fr; gap: 12px; padding: 10px 22px;
                 border-top: 1px solid var(--line); font-size: 14px; align-items: center; }
.rec-card .row:nth-child(even) { background: #FAFCFE; }
.rec-card .row > span:first-child { color: var(--muted); }
.rec-card .row > span:last-child { overflow-wrap: anywhere; }
.rec-card .cap { font-size: 12.5px; color: var(--muted); padding: 11px 22px 14px; background: #F6F9FC; border-top: 1px solid var(--line); }
.ok { display: inline-flex; align-items: center; gap: 4px; background: var(--teal); color: #fff; border-radius: 6px;
      padding: 1px 8px; font-size: 12.5px; font-weight: 600; }
.tag { display: inline-block; background: #FFF1EA; color: #C9480F; border-radius: 6px; padding: 1px 8px;
       font-size: 12.5px; margin: 2px 4px 2px 0; }

/* ---------- sections ---------- */
.s { padding: 88px 0; }
.s.alt { background: var(--bg); }
.s.tight { padding: 64px 0; }
.kicker { font: 700 12px/1 Montserrat, Arial; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.s h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.14; margin: 0 0 12px; letter-spacing: -.015em; font-weight: 800; }
.s .sub { color: var(--muted); font-size: 17px; margin: 0 0 38px; max-width: 760px; }
.head-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.head-row .sub { margin-bottom: 38px; }

/* database cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dbc { position: relative; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--c);
       border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; box-shadow: var(--shadow);
       transition: transform .18s, box-shadow .18s; text-decoration: none; color: var(--ink); }
.dbc:hover { transform: translateY(-3px); box-shadow: var(--shadow2); }
.ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none;
      background: color-mix(in srgb, var(--c) 13%, white); color: var(--c); }
.ic .i { width: 24px; height: 24px; }
.dbc h3 { font-size: 20px; margin: 18px 0 8px; line-height: 1.25; }
.dbc p { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.dbc .m { display: flex; gap: 22px; margin-bottom: 16px; }
.dbc .m b { display: block; font: 800 22px/1.1 Montserrat, Arial; color: var(--ink); }
.dbc .m small { color: var(--muted); font-size: 12.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.chip { font-size: 12.5px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; color: #33445E; }
.dbc .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px;
             padding-top: 16px; border-top: 1px dashed var(--line); }
.from { font-size: 13px; color: var(--muted); line-height: 1.35; }
.from b { color: var(--ink); font: 800 18px Montserrat, Arial; }
.go .i { color: var(--c); }
.go { color: var(--ink); font-weight: 600; font-size: 15px; display: inline-flex; gap: 6px; align-items: center; }
.dbc.custom { background: linear-gradient(150deg, #0B1D36, #1E4C84); color: #fff; border-color: #1E4C84;
              border-top-color: var(--accent); --c: var(--accent); }
.dbc.custom p { color: #C9D6E8; }
.dbc.custom .ic { background: rgba(255, 255, 255, .12); color: #FFB48F; }
.dbc.custom .foot { border-top-color: rgba(255, 255, 255, .2); }
.dbc.custom ul { margin: 0 0 20px; padding: 0; list-style: none; color: #DCE6F3; font-size: 14.5px; }
.dbc.custom li { display: flex; gap: 8px; align-items: flex-start; margin: 6px 0; }
.dbc.custom li .i { color: #2CCBB2; margin-top: 3px; }
/* 15 баз: отрасль на карточке, фильтр по отраслям, «своя ниша» — широкой полосой под сеткой */
.dbc[hidden] { display: none; }
.dbc .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dbc .sec { display: inline-flex; align-items: center; gap: 7px; font: 700 11px/1.25 Montserrat, Arial;
            letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: right; }
.dbc .sec::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--c); flex: none; }
.sec-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: -14px 0 28px; }
.sf { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line);
      border-radius: 99px; padding: 8px 15px; font: 600 14px/1.1 Inter, system-ui, sans-serif; color: var(--ink);
      cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.sf:hover { border-color: var(--ink); }
.sf i { width: 11px; height: 11px; border-radius: 3px; flex: none; }
.sf span { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.sf[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.sf[aria-pressed="true"] span { color: #C9D6E8; }
.dbc.custom { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 26px; padding: 26px 30px; }
.dbc.custom .body { flex: 1; min-width: 0; }
.dbc.custom h3 { margin: 0 0 6px; }
.dbc.custom p { margin: 0 0 12px; }
.dbc.custom ul { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; }
.dbc.custom li { margin: 0; }
.dbc.custom .foot { margin: 0; padding: 0 0 0 26px; border-top: 0; border-left: 1px dashed rgba(255, 255, 255, .2);
                    flex-direction: column; align-items: flex-start; gap: 14px; flex: none; }

.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--shadow); }
table { border-collapse: collapse; width: 100%; }

/* coverage: карточки регионов с полосками по базам */
.cov-legend { display: flex; flex-wrap: wrap; gap: 10px; margin: -12px 0 26px; }
.cov-legend .lg { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line);
                  border-radius: 99px; padding: 7px 14px; font-size: 14px; font-weight: 600; text-decoration: none;
                  color: var(--ink); transition: border-color .15s; }
.cov-legend .lg:hover { border-color: var(--ink); }
.cov-legend .lg i { width: 11px; height: 11px; border-radius: 3px; flex: none; }
.cov-legend .lg span { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.regions { columns: 3 320px; column-gap: 20px; }
.rcard { break-inside: avoid; display: inline-block; width: 100%; background: #fff; border: 1px solid var(--line);
         border-radius: var(--r); padding: 18px 18px 10px; margin: 0 0 20px; box-shadow: var(--shadow); }
.rcard .rh { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 8px;
             padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.rcard h3 { font-size: 16px; }
.rcard .rh span { font-size: 12.5px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.crow { display: grid; grid-template-columns: minmax(92px, 128px) 1fr 50px; gap: 12px; align-items: center;
        padding: 7px 8px; margin: 0 -8px; border-radius: 8px; font-size: 14.5px; cursor: default; }
.crow:hover, .crow:focus-visible { background: #F3F6FA; outline: none; }
.crow .cn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crow b { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.sbar { display: block; height: 10px; }
.sbar > span { display: flex; gap: 2px; height: 100%; min-width: 8px; }
.sbar i { display: block; height: 100%; min-width: 3px; }
.sbar i:first-child { border-radius: 4px 0 0 4px; }
.sbar i:last-child { border-radius: 0 4px 4px 0; }
.sbar i:only-child { border-radius: 4px; }
.cov-more { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 15px; margin-top: 6px; }
.cov-more > .i { color: var(--accent); }
.cov-tip { position: fixed; z-index: 80; pointer-events: none; background: #fff; border: 1px solid var(--line);
           box-shadow: var(--shadow2); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; min-width: 220px;
           opacity: 0; transition: opacity .12s; }
.cov-tip.show { opacity: 1; }
.cov-tip .t { display: flex; justify-content: space-between; gap: 18px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.cov-tip .r { display: grid; grid-template-columns: 10px 1fr auto; gap: 8px; align-items: center; margin: 4px 0; color: #33445E; }
.cov-tip .r i { width: 10px; height: 10px; border-radius: 3px; }
.cov-tip .r b { font-weight: 600; font-variant-numeric: tabular-nums; }

/* fields */
.fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.field { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.field h3 { font-size: 16px; margin-bottom: 4px; }
.field p { margin: 0; color: var(--muted); font-size: 14.5px; }
.field .ic { width: 42px; height: 42px; border-radius: 12px; }
.field .ic .i { width: 21px; height: 21px; }

/* compare */
.cmp { display: grid; grid-template-columns: .8fr 1fr 1.2fr; border: 1px solid var(--line); border-radius: var(--r);
       overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.cmp > div { padding: 15px 20px; border-bottom: 1px solid var(--line); font-size: 15px; display: flex; gap: 10px; align-items: flex-start; }
.cmp > div:nth-last-child(-n+3) { border-bottom: 0; }
.cmp .h { font: 700 13px Montserrat, Arial; letter-spacing: .08em; text-transform: uppercase; background: #F8FAFD; color: var(--muted); }
.cmp .h.us { background: var(--navy); color: #fff; }
.cmp .k { font-weight: 600; }
.cmp .them { color: var(--muted); }
.cmp .them .i { color: #C0CADA; margin-top: 3px; }
.cmp .us { background: #F1FBF8; }
.cmp .us .i { color: var(--teal); margin-top: 3px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: st; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; position: relative; }
.step .n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff;
           font: 800 17px Montserrat, Arial; background: var(--c); margin-bottom: 14px; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.steps.three { grid-template-columns: repeat(3, 1fr); }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; padding: 17px 28px 17px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font: 400 26px/1 Inter, Arial; color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }

/* ---------- database page ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -46px; position: relative; z-index: 2; }
.kpi { background: #fff; border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow2); border-top: 4px solid var(--c); }
.kpi .top { display: flex; align-items: center; gap: 10px; color: var(--c); }
.kpi .ic { width: 38px; height: 38px; border-radius: 11px; }
.kpi .ic .i { width: 19px; height: 19px; }
.kpi .num { font-size: 30px; font-weight: 800; color: var(--ink); }
.kpi .lbl { color: var(--muted); font-size: 14px; margin-top: 6px; line-height: 1.4; }
.kpi .lbl b { color: var(--ink); }

.builder { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.builder > *, .contact > * { min-width: 0; }
.ctable { font-size: 15px; }
.ctable th { text-align: left; font-size: 12.5px; color: var(--muted); font-weight: 700; padding: 12px 14px;
             background: #F8FAFD; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ctable td { padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ctable tbody tr { cursor: pointer; transition: background .12s; }
.ctable tbody tr:hover td { background: #FAFCFE; }
.ctable tbody tr.on td { background: color-mix(in srgb, var(--c) 8%, white); }
.ctable tbody tr:last-child td { border-bottom: 0; }
.ctable .r { text-align: right; }
.ctable input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--c); cursor: pointer; vertical-align: middle; }
.ctable .cn { font-weight: 600; }
.ctable .bar { width: 100%; min-width: 90px; height: 8px; border-radius: 99px; background: #E4EBF4; position: relative; overflow: hidden; }
.ctable .bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: var(--soft); }
.ctable .bar i + i { background: linear-gradient(90deg, #0FA58F, #2CCBB2); }
.ctable .pr { font: 700 15px Montserrat, Arial; }
.ctable .barcell { width: 32%; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin: 14px 2px 0; }
.legend i { display: inline-block; width: 12px; height: 8px; border-radius: 4px; margin-right: 6px; vertical-align: 1px; }

.sum { position: sticky; top: 90px; background: var(--navy); color: #fff; border-radius: 20px; padding: 26px;
       box-shadow: var(--shadow2); overflow: hidden; }
.sum::after { content: ""; position: absolute; right: -60px; top: -40px; width: 180px; height: 46px; background: var(--c);
              transform: rotate(-30deg); opacity: .75; }
.sum .t { font: 700 12px Montserrat, Arial; letter-spacing: .2em; text-transform: uppercase; color: #FFB48F; }
.sum .line { color: #C9D6E8; font-size: 14.5px; margin: 12px 0 4px; min-height: 44px; }
.sum .line b { color: #fff; }
.sum .price { font-size: 44px; font-weight: 800; line-height: 1.1; margin: 6px 0 4px; }
.sum .price.muted { font-size: 30px; color: #9FB3CF; }
.sum .note { color: #7FE3D0; font-size: 13.5px; min-height: 20px; }
.sum .acts { display: grid; gap: 10px; margin-top: 18px; }
.sum .full { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 13.5px; color: #C9D6E8; }
.sum .full button { background: none; border: 0; padding: 0; color: #fff; font: 600 13.5px Inter, Arial; text-decoration: underline; cursor: pointer; }
.sum .btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; position: relative; }
.plan h3 { font-size: 19px; }
.plan .price { font-size: 38px; font-weight: 800; margin: 12px 0 2px; }
.plan .what { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.plan ul { list-style: none; margin: 0 0 22px; padding: 0; font-size: 15px; }
.plan li { display: flex; gap: 8px; margin: 8px 0; }
.plan li .i { color: var(--teal); margin-top: 3px; }
.plan .btn { margin-top: auto; }
.plan.best { border: 2px solid var(--accent); box-shadow: 0 18px 40px rgba(255, 107, 44, .16); }
.ribbon { position: absolute; top: -13px; left: 26px; background: var(--accent); color: #fff; font: 700 12px Montserrat, Arial;
          letter-spacing: .1em; text-transform: uppercase; border-radius: 99px; padding: 5px 12px; }
.pill { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 16px; background: #fff;
        border: 1px dashed var(--soft); border-radius: 14px; padding: 16px 22px; font-size: 15px; color: var(--muted); }
.pill b { color: var(--ink); display: block; }
.pill .price { font-size: 20px; font-weight: 800; color: var(--ink); white-space: nowrap; }

.ptable { font-size: 13.5px; min-width: 1040px; }
.ptable th { text-align: left; background: var(--navy); color: #fff; font-weight: 600; padding: 11px 12px; white-space: nowrap; }
.ptable td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable tr:nth-child(even) td { background: #FAFCFE; }
.ptable td.co { font-weight: 600; max-width: 240px; min-width: 150px; }
.ptable td.ty { min-width: 140px; }
.ptable td.mask { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; color: #33445E; white-space: nowrap; }
.ptable td.kw { color: #C9480F; max-width: 220px; }
.ptable td.wa-y { color: #0B8F7B; font-weight: 600; white-space: nowrap; }
.mask-note { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 14px; margin-top: 14px; }
.mask-note .i { color: var(--accent); }

.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.tile { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.tile .ic { color: #fff; }
.tile h3 { font-size: 17px; margin-bottom: 4px; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; }

.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 26px; }
.why > div { background: var(--navy); color: #fff; border-radius: var(--r); padding: 22px; }
.why .i { width: 28px; height: 28px; color: #2CCBB2; margin-bottom: 12px; }
.why b { display: block; font: 700 17px Montserrat, Arial; margin-bottom: 4px; }
.why span { color: #C9D6E8; font-size: 15px; }

.segs { display: grid; gap: 10px; max-width: 760px; }
.seg { display: grid; grid-template-columns: 260px 1fr 70px; gap: 14px; align-items: center; font-size: 15px; }
.seg .bar { height: 10px; border-radius: 99px; background: #E4EBF4; overflow: hidden; }
.seg .bar i { display: block; height: 100%; background: var(--c); border-radius: 99px; }
.seg b { text-align: right; font-weight: 700; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1.35fr .65fr; gap: 26px; align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; box-shadow: var(--shadow); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.f-row.one { grid-template-columns: 1fr; }
label { display: block; font-size: 13px; font-weight: 600; color: #33445E; margin: 0 0 6px; }
label small { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; font-size: 15px; padding: 11px 13px; border: 1px solid var(--soft);
                          border-radius: 10px; background: #fff; color: var(--ink); }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(30, 76, 132, .14); border-color: var(--blue); }
.send { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; align-items: center; }
.send .hint { font-size: 13px; color: var(--muted); flex-basis: 100%; margin-top: 6px; }
.thanks { display: none; background: #F1FBF8; border: 1px solid #BDEBDF; color: #0B6B5C; border-radius: 12px; padding: 14px 16px; margin-top: 14px; }
.side { background: linear-gradient(160deg, #0B1D36, #14335B); color: #fff; border-radius: 20px; padding: 28px; }
.side h3 { font-size: 20px; margin-bottom: 8px; }
.side p { color: #C9D6E8; font-size: 15px; margin: 0 0 18px; }
.side a.ch { display: flex; gap: 12px; align-items: center; text-decoration: none; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.side a.ch .ic { width: 40px; height: 40px; border-radius: 12px; color: #fff; }
.side a.ch small { display: block; color: #9FB3CF; font-size: 12px; }
.side ul { list-style: none; padding: 0; margin: 18px 0 0; font-size: 14px; color: #C9D6E8; }
.side li { display: flex; gap: 8px; margin: 7px 0; }
.side li .i { color: #2CCBB2; margin-top: 3px; }

/* ---------- legal ---------- */
.legal-doc { max-width: 820px; }
.legal-doc h2 { font-size: 26px; margin: 46px 0 12px; }
.legal-doc h2:first-of-type { margin-top: 0; }
.legal-doc p, .legal-doc li { color: #33445E; font-size: 16px; }
.legal-doc ul { padding-left: 22px; }
.toc { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }

/* ---------- footer ---------- */
.ftr { background: var(--navy); color: #C9D6E8; padding: 56px 0 30px; font-size: 14.5px; }
.ftr .cols { display: grid; grid-template-columns: 1.3fr 1.5fr 1fr 1fr; gap: 32px; }
.ftr .dbl { columns: 2; column-gap: 20px; }
.ftr .dbl a { break-inside: avoid; }
.ftr .brand, .ftr a.brand { color: #fff; margin-bottom: 12px; display: flex; }
.ftr .brand svg { border-radius: 11px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); }
.ftr h4 { color: #fff; font: 700 13px Montserrat, Arial; letter-spacing: .14em; text-transform: uppercase; margin: 6px 0 12px; }
.ftr a { text-decoration: none; display: block; padding: 3px 0; color: #C9D6E8; }
.ftr a:hover { color: #fff; }
.ftr .bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 20px; display: flex;
               justify-content: space-between; gap: 20px; flex-wrap: wrap; color: #8FA3C0; font-size: 13px; }

.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); background: var(--navy); color: #fff;
         padding: 13px 20px; border-radius: 12px; box-shadow: var(--shadow2); opacity: 0; pointer-events: none;
         transition: opacity .2s, transform .2s; z-index: 90; font-size: 15px; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .ctable .barcell, .legend .lg-bar { display: none; }
}
@media (max-width: 1020px) {
  .hero > .wrap, .hero.db > .wrap { grid-template-columns: 1fr; gap: 40px; }
  .rec-card, .badge { justify-self: start; }
  .grid, .fields, .plans, .why { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .builder, .contact { grid-template-columns: 1fr; }
  .sum { position: static; }
  .ftr .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
         background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 16px; box-shadow: var(--shadow); }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-open .nav { display: flex; }
  .menu-btn { display: inline-flex; }
  .hdr .btn-primary { display: none; }
  .faq, .tiles { grid-template-columns: 1fr; }
  .dbc.custom { flex-direction: column; align-items: stretch; gap: 18px; padding: 26px; }
  .dbc.custom .foot { padding: 16px 0 0; border-left: 0; border-top: 1px dashed rgba(255, 255, 255, .2);
                      flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .s { padding: 64px 0; }
  .grid, .fields, .plans, .why, .steps, .steps.three, .kpis { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .cmp { grid-template-columns: 1fr; }
  .cmp .h:not(.us), .cmp .them { display: none; }
  .cmp .k { background: #F8FAFD; padding-bottom: 6px; border-bottom: 0; }
  .seg { grid-template-columns: 1fr 60px; }
  .seg .bar { grid-column: 1 / -1; grid-row: 2; }
  .badge { width: 200px; height: 200px; }
  .badge .num { font-size: 42px; }
  .pill { flex-direction: column; align-items: flex-start; }
  .ctable .barcell, .ctable .hide-sm { display: none; }
  .ctable th, .ctable td { padding: 12px 9px; }
  .ftr .cols { grid-template-columns: 1fr; }
  .hero .stripe, .hero .stripe2 { opacity: .35; }
  .sec-filter { flex-wrap: nowrap; overflow-x: auto; margin: -14px -18px 24px; padding: 2px 18px 6px;
                scrollbar-width: none; }
  .sec-filter::-webkit-scrollbar { display: none; }
  .sf { flex: none; }
}
