:root {
  --ink: #17212b; --muted: #54636f; --line: #dfe4ea; --bg: #f4f6f8; --paper: #fff;
  --brand: #1f5f8b; --brand-dark: #174a6d; --ok: #1e7f4f; --tint: #eaf2f8;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--ink); background: var(--paper); line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; line-height: 1.2; }
a { color: var(--brand); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 11px 18px; border-radius: 10px; background: var(--brand); color: #fff; border: 1.5px solid var(--brand); font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn.ghost { background: transparent; color: var(--brand); }
.btn.ghost:hover { background: var(--tint); }
.btn.small { padding: 8px 14px; font-size: .92rem; }
.btn.big { padding: 14px 24px; font-size: 1.05rem; }
.btn.light { background: #fff; color: var(--brand); border-color: #fff; }
.btn.light:hover { background: var(--tint); }
a:focus-visible, summary:focus-visible { outline: 3px solid #7fb2d6; outline-offset: 2px; border-radius: 6px; }

.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 20px; height: 62px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--brand); text-decoration: none; font-size: 1.05rem; white-space: nowrap; }
.menu { display: none; gap: 22px; margin-left: auto; }
.menu a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.menu a:hover { color: var(--brand); }
.top .btn { margin-left: auto; flex-shrink: 0; }
/* Узкий экран: название может сжаться с многоточием, кнопка входа остаётся целиком и короче («Войти»). */
.logo { min-width: 0; }
.logo svg { flex-shrink: 0; }
.logo span { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) {
  .top .wide { display: none; }
  /* Название в шапке переносится на вторую строку («Дистанционный» / «осмотр»), только когда не помещается в одну. */
  .top .logo span { white-space: normal; line-height: 1.12; overflow: visible; }
}
@media (min-width: 940px) { .menu { display: flex; } .top .btn { margin-left: 0; } }
@media (max-width: 420px) { .logo span { font-size: .92rem; } .top-in { gap: 10px; } }

.hero { background: linear-gradient(180deg, var(--tint), #fff); }
.hero-in { display: grid; gap: 36px; padding-top: 44px; padding-bottom: 44px; align-items: center; }
.eyebrow { color: var(--brand); font-weight: 600; font-size: .92rem; letter-spacing: .02em; margin-bottom: 12px; }
h1 { font-size: clamp(2rem, 6vw, 3.2rem); letter-spacing: -.02em; }
.lead { font-size: 1.12rem; color: var(--muted); margin-top: 16px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .95rem; }
.ticks li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 7px; }
.hero-art { max-width: 456px; margin: 0 auto; width: 100%; }
.hero-art svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 30px rgba(23, 33, 43, .14)); font-family: inherit; }
@media (min-width: 900px) { .hero-in { grid-template-columns: 1.15fr .85fr; padding-top: 72px; padding-bottom: 72px; } }

.facts { border-block: 1px solid var(--line); background: #fff; }
.facts-in { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding-top: 24px; padding-bottom: 24px; }
.facts b { display: block; font-size: 1.45rem; color: var(--brand); line-height: 1.2; }
.facts span { color: var(--muted); font-size: .92rem; }
@media (min-width: 760px) { .facts-in { grid-template-columns: repeat(4, 1fr); } }

.sec { padding: 60px 0; }
.sec.alt { background: var(--bg); }
h2 { font-size: clamp(1.55rem, 4vw, 2.1rem); letter-spacing: -.01em; }
.sub { color: var(--muted); font-size: 1.05rem; margin-top: 10px; max-width: 46em; }
.center .sub { margin-inline: auto; }
h3 { font-size: 1.08rem; }

.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.steps .n { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; align-items: center; justify-content: center; margin-bottom: 12px; }
.steps p, .card p { color: var(--muted); margin-top: 6px; font-size: .97rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.grid { display: grid; gap: 16px; margin-top: 32px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; border-top: 3px solid var(--brand); }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }

.two { display: grid; gap: 28px; align-items: start; }
.proof { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.proof li { position: relative; padding-left: 34px; color: var(--muted); }
.proof li b { color: var(--ink); }
.proof li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--ok); color: #fff; font-size: .8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.std { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 14px; padding: 22px; }
.std p { color: var(--muted); margin-top: 10px; font-size: .97rem; }
.std .note { font-size: .88rem; }
@media (min-width: 940px) { .two { grid-template-columns: 1.35fr .65fr; gap: 44px; } .std { margin-top: 8px; } }

details { border-bottom: 1px solid var(--line); }
details:first-of-type { margin-top: 24px; border-top: 1px solid var(--line); }
summary { cursor: pointer; padding: 16px 30px 16px 0; font-weight: 600; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.4rem; font-weight: 400; color: var(--brand); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); padding: 0 0 18px; }

.final { background: var(--brand); color: #fff; }
.final .sub { color: #d6e6f2; }
.final .btn { margin-top: 24px; }
.final .contacts { margin-top: 18px; font-size: 1.1rem; }
.final .contacts a { color: #fff; font-weight: 600; white-space: nowrap; }

.foot { background: #17212b; color: #b8c4cf; padding: 32px 0; font-size: .9rem; }
.foot-in { display: grid; gap: 18px; }
.foot .logo { color: #fff; }
.foot .copy { max-width: 46em; }
@media (min-width: 760px) { .foot-in { grid-template-columns: auto 1fr; gap: 48px; } .foot .copy { justify-self: end; text-align: right; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

.cookie { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 30px rgba(23, 33, 43, .18); padding: 14px 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: .92rem; color: var(--muted); }
.cookie[hidden] { display: none; }
.cookie p { flex: 1 1 260px; }
.cookie-btns { display: flex; gap: 8px; }
button.btn { font: inherit; font-weight: 600; cursor: pointer; }

.foot .docnav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; }
.foot .docnav a { color: #b8c4cf; }
.cookie a { color: var(--brand); }
