/* Эйво Радар — лендинг eivoradar.ru.
   Светлая, «клиническая» палитра: чернильный текст, рабочий бирюзовый акцент,
   коралл только там, где в кабинете подсвечивается режим правки. */
:root {
  --ink: #0F1D2B;
  --ink-2: #35495A;
  --muted: #6B7C8C;
  --line: #DAE3E9;
  --line-soft: #E8EEF2;
  --ground: #F4F7F8;
  --surface: #FFFFFF;
  --teal: #0E8C81;
  --teal-deep: #0A6B63;
  --teal-soft: #E3F5F2;
  --signal: #19D3B5;
  --coral: #E2574C;
  --coral-soft: #FDECEA;
  --display: 'Onest', 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Golos Text', 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 30px 70px -30px rgba(15, 29, 43, .28);
  --shadow-sm: 0 10px 30px -14px rgba(15, 29, 43, .22);
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(38px, 4.6vw, 58px); font-weight: 800; line-height: 1.02; letter-spacing: -.025em; }
h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; }
h3 { font-size: 22px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
@media (max-width: 720px) { .wrap { width: min(var(--wrap), 100% - 32px); } }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

.eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.hero__lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 34em; }
.sec { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec__lead { margin-top: 16px; font-size: 18px; color: var(--ink-2); max-width: 36em; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15.5px; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), background .18s, color .18s, border-color .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn--lg { padding: 16px 26px; font-size: 17px; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--teal-deep); transform: translateY(-1px); box-shadow: 0 12px 24px -12px rgba(10, 107, 99, .6); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--teal-soft); }

/* Шапка */
.top { position: sticky; top: 0; z-index: 50; background: rgba(244, 247, 248, .72); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.top.is-scrolled { border-bottom-color: var(--line-soft); background: rgba(244, 247, 248, .88); }
.top__in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.logo b { font-weight: 800; }
.logo__mark { width: 34px; height: 34px; display: grid; place-items: center; }
.logo__mark svg { width: 34px; height: 34px; }
.top__nav { display: flex; gap: 22px; margin-left: 12px; }
.top__nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); padding: 6px 0; }
.top__nav a:hover { color: var(--ink); }
.top__cta { margin-left: auto; display: flex; gap: 10px; }
.top__burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; cursor: pointer; }
.top__burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; display: block; }
.mnav { border-top: 1px solid var(--line-soft); background: var(--ground); padding: 8px 20px 18px; display: grid; gap: 4px; }
.mnav a { text-decoration: none; padding: 12px 6px; font-weight: 500; border-bottom: 1px solid var(--line-soft); }
.mnav .btn { margin-top: 10px; border-bottom: 0; }
@media (max-width: 900px) {
  .top__nav, .top__cta { display: none; }
  .top__burger { display: flex; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 96px) clamp(48px, 7vw, 96px); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(55% 60% at 88% 8%, rgba(25, 211, 181, .22) 0%, rgba(25, 211, 181, 0) 60%),
    radial-gradient(40% 45% at 10% 100%, rgba(226, 87, 76, .10) 0%, rgba(226, 87, 76, 0) 60%);
}
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 14.5px; color: var(--ink-2); }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(25, 211, 181, .18); }
@media (max-width: 1024px) { .hero__in { grid-template-columns: 1fr; } .hero__copy { max-width: 640px; } }

/* Живая демонстрация: кабинет над сайтом, между ними «труба» */
.hero__demo { max-width: 640px; justify-self: end; width: 100%; }
.demo { --pad: 18px; display: grid; gap: 0; position: relative; }
.demo__cab, .demo__site { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); border: 1px solid var(--line-soft); overflow: hidden; position: relative; }
.demo__cabhead { display: flex; align-items: center; gap: 10px; padding: 12px var(--pad); border-bottom: 1px solid var(--line-soft); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.demo__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px rgba(25, 211, 181, .2); }
.demo__tabs { margin-left: auto; display: flex; gap: 4px; }
.demo__tab { padding: 4px 11px; border-radius: 999px; font-weight: 500; color: var(--muted); background: transparent; transition: background .2s, color .2s; }
.demo__tab.is-on { background: var(--teal-soft); color: var(--teal-deep); }
.demo__pane { padding: var(--pad) var(--pad) 6px; }
.demo__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.demo__fields label { display: grid; gap: 4px; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .02em; min-width: 0; }
.demo__wide { grid-column: 1 / -1; }
.demo__field {
  display: block; min-height: 40px; padding: 9px 12px; border-radius: 10px; border: 1.5px solid var(--line);
  font-size: 14.5px; font-weight: 500; color: var(--ink); background: #fff; position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: border-color .2s, box-shadow .2s;
}
.demo__field.is-typing, .demo__field.is-edit { border-color: var(--coral); box-shadow: 0 0 0 4px var(--coral-soft); }
.demo__field.is-typing::after { content: ""; display: inline-block; width: 1.5px; height: 1.05em; background: var(--ink); vertical-align: -3px; margin-left: 1px; animation: caret 1s steps(2) infinite; }
.demo__field--num { font-variant-numeric: tabular-nums; }
.demo__field--photo { display: flex; align-items: center; gap: 10px; border-style: dashed; color: var(--muted); font-weight: 500; }
.demo__field--photo i { width: 26px; height: 26px; border-radius: 50%; background: var(--line-soft); color: transparent; font-style: normal; font-size: 11px; font-weight: 700; display: grid; place-items: center; transition: background .3s, color .3s; }
.demo__field--photo.is-loaded { border-style: solid; color: var(--ink); }
.demo__field--photo.is-loaded i { background: var(--coral-soft); color: var(--coral); }
.demo__rows { display: grid; gap: 8px; }
.demo__row { display: grid; grid-template-columns: minmax(0, 1fr) 120px; align-items: center; gap: 12px; font-size: 14px; line-height: 1.25; color: var(--ink-2); }
.demo__row .demo__field { text-align: right; min-height: 38px; padding: 8px 10px; }
.demo__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px var(--pad) var(--pad); }
.demo__status { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.demo__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background .3s; }
.demo__status.is-dirty::before { background: var(--coral); }
.demo__status.is-live::before { background: var(--signal); box-shadow: 0 0 0 3px rgba(25, 211, 181, .2); }
.demo__btn {
  padding: 11px 18px; border-radius: 10px; border: 0; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; cursor: default;
  transition: transform .15s, background .2s; min-width: 150px;
}
.demo__btn.is-press { transform: scale(.97); }
.demo__btn.is-busy { background: var(--teal); }
.demo__btn.is-done { background: var(--teal-deep); }

/* Труба: правка улетает вниз, на сайт */
.demo__pipe { position: relative; height: 34px; display: grid; place-items: center; }
.demo__pipe::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 0; margin-left: -1px; border-left: 2px dashed var(--line); }
.demo__pipe.is-done::before { border-color: var(--signal); border-style: solid; }
.demo__pipe i { position: absolute; left: 50%; top: -6px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(25, 211, 181, .25), 0 0 18px rgba(25, 211, 181, .8); opacity: 0; }
.demo__pipe.is-run i { animation: beam .45s var(--ease) both; }
.demo__pipe em { position: absolute; left: calc(50% + 14px); top: 50%; transform: translateY(-50%); font-style: normal; font-size: 12px; font-weight: 600; color: var(--teal-deep); opacity: 0; transition: opacity .25s; }
.demo__pipe.is-run em, .demo__pipe.is-done em { opacity: 1; }

.demo__chrome { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line-soft); background: #FAFCFC; }
.demo__chrome span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.demo__chrome em { margin-left: 8px; font-style: normal; font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--line-soft); border-radius: 6px; padding: 3px 10px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo__stamp {
  margin-left: 6px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px; transform: translateY(-4px); opacity: 0; transition: opacity .25s, transform .25s var(--ease);
}
.demo__stamp::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.demo__stamp.is-in { opacity: 1; transform: none; }
.demo__site.is-flash { animation: siteflash 1s var(--ease); }
.demo__page { padding: 0 var(--pad) var(--pad); }
.demo__nav { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.demo__nav b { font-family: var(--display); font-size: 14px; color: var(--ink); margin-right: 6px; }
.demo__nav span { padding-bottom: 2px; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.demo__nav span.is-on { color: var(--ink); border-bottom-color: var(--teal); }
.demo__nav i { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 600; color: #fff; background: var(--teal); padding: 5px 11px; border-radius: 999px; }
.demo__screen { display: none; }
.demo__screen.is-on { display: block; animation: rvin .35s var(--ease) both; }
.demo__sitehead { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.demo__sitehead b { font-family: var(--display); font-size: 17px; color: var(--ink); }
.demo__doctors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.demo__doc { display: grid; gap: 4px; padding: 10px; border-radius: 12px; background: var(--ground); border: 1.5px solid transparent; min-height: 104px; align-content: start; }
.demo__doc b { font-size: 12.5px; line-height: 1.2; }
.demo__doc small { font-size: 11px; color: var(--muted); line-height: 1.25; }
.demo__ava { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-deep); font-weight: 700; font-size: 11.5px; margin-bottom: 4px; }
.demo__doc--new { border-style: dashed; border-color: var(--line); background: transparent; }
.demo__doc--new:not(.is-in) .demo__ava { background: var(--line-soft); color: transparent; }
.demo__doc--new.is-in { animation: docin .7s var(--ease) both, ring 1.6s var(--ease) both; border-color: var(--signal); border-style: solid; background: var(--surface); }
.demo__doc--new .demo__ava { background: var(--coral-soft); color: var(--coral); }
.demo__pricelist { display: grid; gap: 8px; }
.demo__pricelist li { display: flex; align-items: baseline; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.demo__pricelist li::after { content: ""; order: 2; flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.demo__pricelist li span { order: 1; }
.demo__pricelist li strong { order: 3; color: var(--ink); font-variant-numeric: tabular-nums; padding: 2px 6px; border-radius: 6px; transition: background .3s, color .3s; }
.demo__pricelist li strong.is-flash { animation: flash 1.8s var(--ease) forwards; }
.demo__promos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.demo__promo { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; background: var(--teal-soft); border: 1.5px solid transparent; min-height: 96px; align-content: start; }
.demo__promo small { font-size: 11px; color: var(--teal-deep); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.demo__promo b { font-size: 13px; line-height: 1.25; }
.demo__promo strong { font-family: var(--display); font-size: 18px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.demo__promo--new { background: transparent; border-style: dashed; border-color: var(--line); }
.demo__promo--new.is-in { animation: docin .7s var(--ease) both, ring 1.6s var(--ease) both; border-color: var(--signal); border-style: solid; background: var(--coral-soft); }
.demo__promo--new.is-in strong { color: var(--coral); }
.demo__caption { margin-top: 14px; font-size: 13.5px; color: var(--muted); text-align: center; }
@media (max-width: 1024px) { .hero__demo { justify-self: stretch; max-width: 640px; margin-inline: auto; } }
@media (max-width: 560px) {
  .demo { --pad: 14px; }
  .demo__fields { grid-template-columns: 1fr; }
  .demo__doctors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo__doc { min-height: 92px; }
  .demo__nav span:nth-of-type(n+3) { display: none; }
  .demo__tabs { gap: 2px; } .demo__tab { padding: 4px 8px; }
  .demo__row { grid-template-columns: minmax(0, 1fr) 100px; }
  .demo__foot { flex-wrap: wrap; } .demo__btn { flex: 1; }
}
@keyframes caret { to { opacity: 0; } }
@keyframes docin { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(25, 211, 181, .55); } 100% { box-shadow: 0 0 0 14px rgba(25, 211, 181, 0); } }
@keyframes beam { 0% { top: -6px; opacity: 0; } 15% { opacity: 1; } 100% { top: calc(100% - 6px); opacity: 0; } }
@keyframes siteflash { 0% { box-shadow: var(--shadow), 0 0 0 0 rgba(25, 211, 181, .45); } 100% { box-shadow: var(--shadow), 0 0 0 16px rgba(25, 211, 181, 0); } }
@keyframes flash { 0% { background: var(--coral-soft); color: var(--coral); } 70% { background: var(--coral-soft); color: var(--coral); } 100% { background: transparent; color: var(--ink); } }

/* Секции */
section { padding-block: clamp(64px, 9vw, 120px); }
.band { background: var(--surface); border-block: 1px solid var(--line-soft); }

/* Сайт: настоящие страницы первой клиники во вкладках + её цифры */
.site__in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.site__in > * { min-width: 0; }
.shots__tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.shots__tab { font: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink-2); background: var(--ground); border: 1px solid var(--line-soft); border-radius: 999px; padding: 9px 16px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.shots__tab:hover { border-color: var(--ink); }
.shots__tab.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.shots__stage { position: relative; }
.shots__pic { position: relative; aspect-ratio: 16 / 10; background: var(--ground); }
.shots__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .35s var(--ease); }
.shots__pic img.is-on { opacity: 1; }
.shots__phone { position: relative; width: min(100%, 300px); margin-inline: auto; }
.shots__phone img { width: 100%; height: auto; display: block; }
.shots__caption { margin-top: 14px; font-size: 14.5px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; }
.shots__caption a { color: var(--teal-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.site__facts-title { font-size: 16px; color: var(--ink-2); margin-bottom: 16px; }
.site__facts .case__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site__facts .case__note { margin-top: 14px; }
@media (max-width: 1024px) { .site__in { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .shots__tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; } .shots__tabs::-webkit-scrollbar { display: none; } .shots__tab { flex: none; } }

/* Что внутри сайта */
.feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feat li { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 22px 22px 24px; display: grid; gap: 10px; align-content: start; transition: transform .25s var(--ease), box-shadow .25s; }
.feat li:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.feat h3 { font-size: 18.5px; }
.feat p { color: var(--ink-2); font-size: 15.5px; }
.feat__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); display: grid; place-items: center; margin-bottom: 4px; }
.feat__ico svg { width: 24px; height: 24px; fill: none; stroke: var(--teal-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .feat { grid-template-columns: 1fr; } }

/* Шаги: настоящая последовательность, поэтому нумерация */
.steps__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; position: relative; }
.steps__list li { position: relative; padding: 24px 22px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-soft); display: grid; gap: 10px; align-content: start; }
.steps__n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 15px; background: var(--ink); color: #fff; margin-bottom: 6px; }
.steps__list li p { color: var(--ink-2); font-size: 15.5px; }
.steps__list li h3 { font-size: 19px; }
@media (max-width: 900px) { .steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps__list { grid-template-columns: 1fr; } }

/* Режим правки */
.edit__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.edit__copy p { margin-top: 16px; color: var(--ink-2); font-size: 18px; max-width: 32em; }
.edit__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.edit__grid li {
  position: relative; padding: 18px 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line-soft);
  font-weight: 500; font-size: 15px; line-height: 1.3; min-height: 84px; display: flex; align-items: flex-end;
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.edit__grid li::before, .edit__grid li::after {
  content: ""; position: absolute; width: 10px; height: 10px; border: 2px solid var(--coral); opacity: 0; transition: opacity .2s;
}
.edit__grid li::before { left: 6px; top: 6px; border-right: 0; border-bottom: 0; }
.edit__grid li::after { right: 6px; bottom: 6px; border-left: 0; border-top: 0; }
.edit__grid li:hover { border-color: var(--coral); box-shadow: 0 0 0 4px var(--coral-soft); transform: translateY(-2px); }
.edit__grid li:hover::before, .edit__grid li:hover::after { opacity: 1; }
.edit__grid li.is-lit { border-color: var(--coral); box-shadow: 0 0 0 4px var(--coral-soft); }
.edit__grid li.is-lit::before, .edit__grid li.is-lit::after { opacity: 1; }
@media (max-width: 900px) { .edit__in { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .edit__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Что ещё в подписке: три ряда «текст + виджет» */
.more__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line-soft); }
.more__row:first-of-type { border-top: 0; padding-top: 0; }
.more__row--rev .more__copy { order: 2; }
.more__tag { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--teal-deep); background: var(--teal-soft); display: inline-block; padding: 5px 10px; border-radius: 999px; margin-bottom: 14px; }
.more__copy h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: -.015em; }
.more__copy p + p, .more__copy h3 + p { margin-top: 14px; }
.more__copy p:not(.more__tag) { color: var(--ink-2); font-size: 17px; max-width: 34em; }
@media (max-width: 900px) { .more__row { grid-template-columns: 1fr; } .more__row--rev .more__copy { order: 0; } }

/* Виджет: недельный отчёт */
.report { background: var(--ground); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 20px 22px; max-width: 520px; margin-inline: auto; }
.report__head { display: flex; align-items: baseline; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 17px; margin-bottom: 14px; }
.report__head span, .margin__head span { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.report__rows { display: grid; gap: 10px; }
.report__rows li { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-2); }
.report__bar { display: block; height: 8px; border-radius: 999px; background: var(--line-soft); position: relative; overflow: hidden; }
.report__bar::after { content: ""; position: absolute; inset: 0; width: var(--w, 50%); border-radius: inherit; background: var(--teal); }
.report__rows b { font-weight: 600; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.report__rows b.up { color: var(--teal-deep); }
.report__rows b.up::before { content: "▲ "; font-size: 10px; }
.todo--flat { margin-top: 18px; padding: 16px 18px; background: var(--surface); }

/* Виджет: материалы в цене услуги */
.margin { background: var(--ground); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 20px 22px; max-width: 520px; margin-inline: auto; }
.margin__head { display: flex; align-items: baseline; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 17px; margin-bottom: 16px; }
.margin ul { display: grid; gap: 12px; }
.margin li { display: grid; grid-template-columns: 110px minmax(0, 1fr); align-items: center; gap: 12px; font-size: 14px; color: var(--ink-2); }
.margin li i { display: block; height: 22px; border-radius: 6px; background: var(--teal-soft); position: relative; overflow: hidden; }
.margin li i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w, 40%); background: var(--coral); opacity: .85; border-radius: 6px 0 0 6px; }
.margin__foot { margin-top: 16px; font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.margin__foot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); flex: none; }

/* Радар: визуал раздела ВКонтакте */
.radar__vis { position: relative; display: grid; gap: 18px; justify-items: center; }
.radar__disc {
  position: relative; width: min(100%, 420px); aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle, rgba(14, 140, 129, .0) 0, rgba(14, 140, 129, .0) 100%),
    repeating-radial-gradient(circle at center, transparent 0 24.5%, rgba(14, 140, 129, .22) 24.5% 25%);
  border: 1.5px solid rgba(14, 140, 129, .35);
  box-shadow: inset 0 0 60px rgba(25, 211, 181, .12);
  overflow: hidden;
}
.radar__disc::before, .radar__disc::after { content: ""; position: absolute; background: rgba(14, 140, 129, .18); }
.radar__disc::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.radar__disc::after { top: 50%; left: 0; right: 0; height: 1px; }
.radar__sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(25, 211, 181, 0) 0deg, rgba(25, 211, 181, .05) 250deg, rgba(25, 211, 181, .55) 358deg, rgba(25, 211, 181, 0) 360deg);
  animation: spin 6s linear infinite;
}
.radar__core { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 5px rgba(15, 29, 43, .08); }
.radar__blip {
  position: absolute; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: var(--coral);
  left: calc(50% + cos((var(--a) - 90) * 1deg) * var(--r) * 50%);
  top: calc(50% + sin((var(--a) - 90) * 1deg) * var(--r) * 50%);
  opacity: .25; transform: scale(.7);
  animation: blip 6s linear infinite; animation-delay: calc(var(--a) / 360 * 6s);
}
.radar__blip--teal { background: var(--teal); }
.radar__signals { width: min(100%, 420px); display: grid; gap: 8px; }
.radar__signals li {
  font-size: 14px; padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-soft);
  display: flex; gap: 10px; align-items: center; opacity: .45; animation: sig 6s linear infinite; animation-delay: var(--d);
}
.radar__signals li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); flex: none; }
.radar__signals li.s-teal::before { background: var(--teal); }
.todo { margin-top: 26px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 18px 20px; max-width: 520px; }
.todo__head { display: flex; align-items: baseline; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 17px; margin-bottom: 12px; }
.todo__head span { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.todo ul { display: grid; gap: 10px; }
.todo li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.todo li i { flex: none; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--line); margin-top: 3px; display: grid; place-items: center; }
.todo li.is-done i { background: var(--teal); border-color: var(--teal); }
.todo li.is-done i::after { content: ""; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.todo li.is-done { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(107, 124, 140, .5); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blip { 0% { opacity: .25; transform: scale(.7); } 2% { opacity: 1; transform: scale(1.25); } 30% { opacity: .8; transform: scale(1); } 100% { opacity: .25; transform: scale(.7); } }
@keyframes sig { 0% { opacity: .45; transform: translateX(0); } 3% { opacity: 1; transform: translateX(4px); } 45% { opacity: 1; transform: translateX(0); } 100% { opacity: .45; } }

/* Рамки «браузер» и «телефон», цифры клиники */
.browser { border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line-soft); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #FAFCFC; border-bottom: 1px solid var(--line-soft); }
.browser__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.browser__bar em { margin-left: 8px; font-style: normal; font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--line-soft); border-radius: 6px; padding: 3px 10px; flex: 1; }
.phone { border-radius: 26px; overflow: hidden; border: 6px solid var(--ink); background: var(--ink); box-shadow: var(--shadow); }
.case__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; }
.case__facts div { background: var(--ground); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 18px 18px 16px; }
.case__facts dt { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.case__facts dd { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.case__note { margin-top: 22px; font-size: 13.5px; color: var(--muted); max-width: 60em; }
@media (max-width: 480px) { .case__facts { grid-template-columns: 1fr; } }

/* Квиз */
.quiz { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.quiz::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 60% at 100% 0%, rgba(25, 211, 181, .18) 0%, rgba(25, 211, 181, 0) 60%); }
.quiz .eyebrow { color: var(--signal); }
.quiz__in { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.quiz__copy p { margin-top: 16px; color: rgba(255, 255, 255, .78); font-size: 18px; max-width: 30em; }
.quiz__why { margin-top: 24px; display: grid; gap: 10px; font-size: 15.5px; color: rgba(255, 255, 255, .86); }
.quiz__why li { display: flex; gap: 10px; align-items: center; }
.quiz__why li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(25, 211, 181, .18); flex: none; }
.qz { background: var(--surface); color: var(--ink); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); position: relative; }
.qz__progress { display: flex; gap: 6px; margin-bottom: 18px; }
.qz__progress i { height: 4px; flex: 1; border-radius: 999px; background: var(--line-soft); transition: background .25s; }
.qz__progress i.is-on { background: var(--teal); }
.qz__step { display: none; }
.qz__step.is-on { display: block; animation: rvin .35s var(--ease) both; }
.qz__q { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; margin-bottom: 16px; }
.qz__opts { display: grid; gap: 10px; }
.qz__opt { font: inherit; font-size: 16px; font-weight: 500; text-align: left; color: var(--ink); background: var(--ground); border: 1.5px solid var(--line-soft); border-radius: 12px; padding: 14px 16px 14px 46px; cursor: pointer; position: relative; transition: border-color .15s, background .15s, transform .15s var(--ease); }
.qz__opt::before { content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 2px solid var(--line); background: #fff; transition: border-color .15s, box-shadow .15s; }
.qz__opt:hover { border-color: var(--teal); background: #fff; transform: translateX(2px); }
.qz__opt:hover::before { border-color: var(--teal); }
.qz__opt.is-on { border-color: var(--teal); background: #fff; }
.qz__opt.is-on::before { border-color: var(--teal); box-shadow: inset 0 0 0 4px var(--teal); }
.qz__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; font-size: 14px; color: var(--muted); }
.qz__back { font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); background: transparent; border: 0; padding: 6px 0; cursor: pointer; }
.qz__back:hover { color: var(--ink); }
.qz__result { background: var(--teal-soft); border-radius: 14px; padding: 18px 20px; margin-bottom: 18px; }
.qz__pkg { font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--teal-deep); }
.qz__price { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; }
.qz__price b { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 3.4vw, 40px); letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.qz__price span { font-size: 15px; color: var(--ink-2); }
.qz__year { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
.qz__year b { color: var(--ink); white-space: nowrap; }
.qz__reasons { margin-top: 14px; display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
.qz__reasons li { display: flex; gap: 10px; align-items: flex-start; }
.qz__reasons li::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; margin-top: 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='%230A6B63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-size: 16px; }
.qz__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.qz__form .btn { grid-column: 1 / -1; justify-self: start; }
.qz__form .btn.is-busy { opacity: .7; pointer-events: none; }
.qz__err { grid-column: 1 / -1; padding: 12px 14px; border-radius: 10px; font-size: 14.5px; background: var(--coral-soft); color: var(--coral); }
.qz__err a { color: inherit; }
.qz__done { text-align: center; padding: 18px 6px 6px; }
.qz__done p:not(.qz__q) { color: var(--ink-2); font-size: 16.5px; max-width: 30em; margin-inline: auto; }
.qz__check { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--teal-soft); margin: 0 auto 14px; position: relative; }
.qz__check::after { content: ""; width: 12px; height: 22px; border: solid var(--teal-deep); border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-2px, -3px); }
@media (max-width: 900px) { .quiz__in { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .qz { padding: 20px; } .qz__form { grid-template-columns: 1fr; } .qz__q { font-size: 20px; } }

/* Тарифы */
/* Срок оплаты: переключатель над пакетами. Скидка — на самой кнопке, зачёркнутых цен нет. */
.term { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 26px; }
.term__label { font-size: 14.5px; color: var(--muted); margin-right: 6px; }
.term__btn { font: inherit; font-size: 15px; font-weight: 600; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line-soft); border-radius: 999px; padding: 10px 18px; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.term__btn b { font-weight: 700; color: var(--teal-deep); margin-left: 4px; }
.term__btn:hover { border-color: var(--ink); }
.term__btn:focus-visible { outline: 2px solid var(--teal-deep); outline-offset: 2px; }
.term__btn.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.term__btn.is-on b { color: var(--signal); }
@media (max-width: 560px) { .term__btn { padding: 9px 14px; font-size: 14px; } }

/* Конфигуратор: сайт + дополнения слева, итог справа */
.cfg { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.cfg__left { padding: 26px 28px 24px; display: grid; gap: 10px; align-content: start; }
.cfg__row { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r); border: 1.5px solid var(--line-soft); background: var(--ground); cursor: pointer; transition: border-color .15s, background .15s; }
.cfg__row:hover { border-color: var(--teal); }
.cfg__row--base { cursor: default; background: var(--teal-soft); border-color: transparent; }
.cfg__row--base:hover { border-color: transparent; }
.cfg__row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cfg__sw { width: 42px; height: 24px; border-radius: 999px; background: var(--line); position: relative; flex: none; transition: background .2s; }
.cfg__sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(15, 29, 43, .3); transition: transform .2s var(--ease); }
.cfg__row input:checked + .cfg__sw { background: var(--teal); }
.cfg__row input:checked + .cfg__sw::after { transform: translateX(18px); }
.cfg__row input:focus-visible + .cfg__sw { outline: 3px solid var(--signal); outline-offset: 3px; }
.cfg__row.is-on { border-color: var(--teal); background: #fff; }
.cfg__sw--fixed { background: var(--teal-deep); }
.cfg__sw--fixed::after { transform: translateX(18px); }
.cfg__text { display: grid; gap: 2px; min-width: 0; }
.cfg__text b { font-size: 16.5px; font-weight: 700; }
.cfg__text span { font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.cfg__price { font-family: var(--display); font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cfg__sum { background: var(--ink); color: #fff; padding: 28px; display: grid; gap: 8px; align-content: start; }
.cfg__pkg { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--signal); }
.cfg__monthly { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cfg__monthly b { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 4vw, 52px); letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cfg__monthly span { font-size: 15px; color: rgba(255, 255, 255, .65); }
.cfg__total { font-size: 15px; color: rgba(255, 255, 255, .82); font-variant-numeric: tabular-nums; min-height: 1.6em; }
.cfg__total b { color: var(--signal); font-weight: 700; }
.cfg__inc { margin-top: 10px; display: grid; gap: 7px; font-size: 14.5px; color: rgba(255, 255, 255, .86); }
.cfg__inc li { display: flex; gap: 10px; align-items: flex-start; }
.cfg__inc li::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; background: rgba(255, 255, 255, .12); margin-top: 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='%2319D3B5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-size: 16px; }
.cfg__sum .btn { justify-self: start; margin-top: 14px; }
.cfg__notes { margin-top: 14px; display: grid; gap: 6px; font-size: 13.5px; color: rgba(255, 255, 255, .65); }
.cfg__notes li { display: flex; gap: 8px; align-items: center; }
.cfg__notes li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--signal); flex: none; }
@media (max-width: 900px) { .cfg { grid-template-columns: 1fr; } .cfg__left { padding: 20px; } .cfg__sum { padding: 22px 20px; } }
@media (max-width: 480px) { .cfg__row { grid-template-columns: auto minmax(0, 1fr); } .cfg__price { grid-column: 2; justify-self: start; } }

/* Полоса четырёх пакетов: та же раскладка, что в кабинете; нажатие выставляет переключатели */
.pkgs { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pkgs__label { font-size: 14px; color: var(--muted); margin-right: 4px; }
.pkgs__btn { font: inherit; font-size: 14px; font-weight: 500; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line-soft); border-radius: 999px; padding: 8px 14px; cursor: pointer; transition: border-color .15s, color .15s; }
.pkgs__btn b { font-weight: 700; color: var(--ink); margin-left: 4px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pkgs__btn:hover { border-color: var(--ink); }
.pkgs__btn.is-on { border-color: var(--teal); color: var(--teal-deep); box-shadow: 0 0 0 3px var(--teal-soft); }
.pkgs__btn.is-on b { color: var(--teal-deep); }

.plans__inc { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 24px; font-size: 15px; color: var(--ink-2); }
.plans__inc li { display: flex; gap: 10px; align-items: flex-start; }
.plans__inc li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--teal-soft); margin-top: 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='%230A6B63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plans__note { margin-top: 14px; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .plans__inc { grid-template-columns: 1fr; } }

/* Внутренние посадочные: «Продвижение стоматологии» и следующие */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line); }
.crumbs a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.hero--inner .report { margin-inline: 0 auto; max-width: none; background: var(--surface); box-shadow: var(--shadow); }
.hero--inner .hero__demo { align-self: center; }
.case__facts--row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.case__facts--row dt { font-size: clamp(24px, 2.4vw, 32px); white-space: nowrap; }
.pcase .case__facts div { background: var(--surface); }
@media (max-width: 900px) { .case__facts--row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .case__facts--row { grid-template-columns: 1fr; } }
.ptable-wrap { margin-top: 26px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow-x: auto; }
.ptable { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 520px; }
.ptable caption { caption-side: top; text-align: left; padding: 18px 22px 12px; font-family: var(--display); font-weight: 700; font-size: 18px; }
.ptable th, .ptable td { padding: 12px 22px; text-align: left; border-top: 1px solid var(--line-soft); vertical-align: middle; }
.ptable thead th { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-top: 0; padding-bottom: 10px; }
.ptable tbody th { font-weight: 500; color: var(--ink); }
.ptable .num { text-align: right; font-variant-numeric: tabular-nums; width: 110px; white-space: nowrap; }
.ptable td.num { color: var(--ink-2); }
.ptable td.num b { color: var(--ink); font-family: var(--display); font-size: 17px; }
.ptable td.num small { display: block; font-size: 11.5px; color: var(--muted); }
.pchip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--ground); color: var(--muted); white-space: nowrap; }
.pchip--up { background: var(--teal-soft); color: var(--teal-deep); }
.pchip--up::before { content: "▲"; font-size: 9px; }
.pchip--down { background: var(--coral-soft); color: var(--coral); }
.pchip--down::before { content: "▼"; font-size: 9px; }
.pprice__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.pprice__inc { grid-template-columns: 1fr; margin-top: 0; }
@media (max-width: 900px) { .pprice__in { grid-template-columns: 1fr; } }
.pno__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.pno .sec { margin-bottom: 0; }
.nolist { display: grid; gap: 12px; }
.nolist li { position: relative; padding: 18px 20px 18px 52px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r); font-size: 16px; color: var(--ink-2); }
.nolist li b { color: var(--ink); font-weight: 600; }
.nolist li::before { content: ""; position: absolute; left: 18px; top: 20px; width: 20px; height: 20px; border-radius: 50%; background: var(--coral-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.5 6.5l7 7M13.5 6.5l-7 7' fill='none' stroke='%23E2574C' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
@media (max-width: 900px) { .pno__in { grid-template-columns: 1fr; } .pno .sec { margin-bottom: 8px; } }
.more__link { display: inline-block; margin-top: 16px; color: var(--teal-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Справочные страницы-статьи: «Требования к сайту медицинской организации» */
.hero--doc { padding-block: clamp(36px, 6vw, 72px) clamp(36px, 5vw, 64px); }
.hero--doc h1 { max-width: 18em; margin-bottom: 20px; }
.hero--doc .hero__lead { max-width: 44em; }
.doc__meta { margin-top: 18px; font-size: 14px; color: var(--muted); }
.doc__toc { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.doc__toc a { display: inline-block; font-size: 14.5px; font-weight: 600; color: var(--ink-2); text-decoration: none; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 999px; padding: 9px 16px; transition: border-color .15s, color .15s; }
.doc__toc a:hover { border-color: var(--ink); color: var(--ink); }
section.doc { padding-block: clamp(44px, 6vw, 80px); }
/* Колонка текста уже страницы, но левый край общий с шапкой и первым экраном. */
.doc__in > * { max-width: 920px; }
.doc__in > h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 18px; }
.doc__in > h3, .doc__cols h3 { font-size: 19px; margin: 30px 0 14px; }
.doc__cols h3:first-child { margin-top: 0; }
.doc__in > p { color: var(--ink-2); font-size: 17.5px; max-width: 46em; }
.doc__in > p + p { margin-top: 14px; }
.doc__in > p + ul, .doc__in > p + ol, .doc__in > p + .ptable-wrap { margin-top: 16px; }
.doc__note { margin-top: 18px !important; font-size: 15px !important; color: var(--muted) !important; }
.doc .ptable-wrap { margin-top: 22px; }
.ptable--law { min-width: 720px; }
.ptable--law th[scope="row"] { width: 36%; font-weight: 600; vertical-align: top; }
.ptable--law th small { display: block; margin-top: 6px; font-weight: 400; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.ptable--law td { vertical-align: top; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.check { display: grid; gap: 8px; }
.check li { position: relative; display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; padding: 13px 16px 13px 46px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r); font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.band .check li { background: var(--ground); }
.check li::before { content: ""; position: absolute; left: 15px; top: 15px; width: 18px; height: 18px; border-radius: 50%; background: var(--teal-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='%230A6B63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.check--no li::before { background-color: var(--coral-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M6 6l6 6M12 6l-6 6' fill='none' stroke='%23E2574C' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.check li em { flex: none; font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--muted); background: var(--ground); border: 1px solid var(--line-soft); border-radius: 999px; padding: 2px 10px; white-space: nowrap; margin-top: 1px; }
.band .check li em { background: var(--surface); }
@media (max-width: 560px) { .check li { flex-direction: column; gap: 8px; } }
.doc__steps { counter-reset: st; display: grid; gap: 8px; }
.doc__steps li { counter-increment: st; position: relative; padding: 13px 16px 13px 52px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r); font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.doc__steps li::before { content: counter(st); position: absolute; left: 14px; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.doc__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 24px; }
@media (max-width: 760px) { .doc__cols { grid-template-columns: 1fr; } }
.doc .hero__cta { margin-top: 28px; }
.doc__src { display: grid; gap: 10px; font-size: 15.5px; color: var(--ink-2); }
.doc__src a { color: var(--teal-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Страница «Сколько стоит сайт для стоматологии»: таблицы цен и калькулятор «за год и за три» */
.pprice-val { display: block; font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ptable--price th[scope="row"] { width: 54%; }
.ptable--price td small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.ptable--pkg { min-width: 600px; }
.ptable--pkg thead th small { display: block; margin-top: 2px; font-size: 12px; letter-spacing: 0; color: var(--teal-deep); }
.ptable--pkg tbody th { font-weight: 600; }
.tco { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tco__col { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line-soft); background: var(--ground); min-width: 0; }
.tco__col--eivo { background: var(--ink); border-color: var(--ink); color: #fff; }
.tco__title { font-family: var(--display); font-weight: 700; font-size: 18px; margin-bottom: 4px; }
.tco__f { display: grid; grid-template-columns: minmax(0, 1fr) 132px 12px; align-items: center; gap: 10px; font-size: 14.5px; line-height: 1.35; color: var(--ink-2); }
.tco__f input { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 16px; font-variant-numeric: tabular-nums; text-align: right; color: var(--ink); transition: border-color .2s, box-shadow .2s; -moz-appearance: textfield; appearance: textfield; }
.tco__f input::-webkit-outer-spin-button, .tco__f input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tco__f input:disabled { background: var(--line-soft); color: var(--muted); }
.tco__f input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.tco__f em { font-style: normal; color: var(--muted); }
.tco__f--select { grid-template-columns: 1fr; gap: 6px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.tco__f--select select { width: 100%; padding: 11px 12px; border-radius: 10px; border: 1.5px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: #fff; font: inherit; font-size: 15.5px; font-weight: 500; }
.tco__f--select select:focus { outline: none; border-color: var(--signal); }
.tco__f--select select option { color: var(--ink); background: #fff; }
.tco__check { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.tco__check input { accent-color: var(--teal); width: 16px; height: 16px; flex: none; }
.tco__inc { margin: 0; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .72); }
.tco__sum { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.tco__col--eivo .tco__sum { border-top-color: rgba(255, 255, 255, .16); }
.tco__sum div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tco__sum dt { font-size: 14.5px; color: var(--ink-2); }
.tco__col--eivo .tco__sum dt { color: rgba(255, 255, 255, .7); }
.tco__sum dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: 20px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tco__verdict { grid-column: 1 / -1; margin: 0; padding: 14px 18px; border-radius: var(--r); background: var(--teal-soft); color: var(--teal-deep); font-weight: 600; font-size: 16px; line-height: 1.45; }
.tco__verdict:empty { display: none; }
@media (max-width: 760px) { .tco { grid-template-columns: 1fr; } .tco__col { padding: 20px; } }
@media (max-width: 420px) { .tco__f:not(.tco__f--select) { grid-template-columns: minmax(0, 1fr) 108px 12px; } }
/* На телефоне таблицы цен складываются в карточки: цена — главное число, она не должна уезжать за край. */
@media (max-width: 640px) {
  .ptable--stack { min-width: 0; }
  .ptable--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ptable--stack tr { display: block; padding: 16px 18px; border-top: 1px solid var(--line-soft); }
  .ptable--stack tbody tr:first-child { border-top: 0; }
  .ptable--stack th[scope="row"], .ptable--stack td { display: block; width: auto; padding: 0; border: 0; }
  .ptable--stack td { margin-top: 8px; }
  .ptable--stack td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); }
}

/* Вопросы */
.faq__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq__list { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 0 20px; transition: border-color .2s; }
.faq details[open] { border-color: var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 600; font-size: 17px; position: relative; font-family: var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; border: solid var(--ink-2); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); font-size: 16px; max-width: 42em; }
@media (max-width: 900px) { .faq__in { grid-template-columns: 1fr; } }

/* Заявка */
.lead { background: var(--ink); color: #fff; }
.lead .eyebrow { color: var(--signal); }
.lead__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.lead__copy p { margin-top: 16px; color: rgba(255, 255, 255, .78); font-size: 18px; max-width: 30em; }
.lead__contacts { margin-top: 26px; display: grid; gap: 8px; font-size: 18px; }
.lead__contacts a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.lead__contacts a:hover { border-bottom-color: var(--signal); }
.lead__contacts span { font-size: 14px; color: rgba(255, 255, 255, .6); margin-left: 8px; }
.lead__form { background: var(--surface); color: var(--ink); border-radius: var(--r-lg); padding: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 14px; box-shadow: var(--shadow); }
.f { display: grid; gap: 6px; }
.f--full { grid-column: 1 / -1; }
.f label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.f input, .f textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.f textarea { resize: vertical; min-height: 84px; }
.f--check { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); }
.f--check input { margin-top: 3px; accent-color: var(--teal); width: 16px; height: 16px; flex: none; }
.f--check a { color: var(--teal-deep); }
.lead__form .btn { grid-column: 1 / -1; justify-self: start; }
.lead__plan { grid-column: 1 / -1; font-size: 14px; color: var(--teal-deep); font-weight: 600; margin: -4px 0 0; }
.lead__plan[hidden] { display: none; }
.lead__ok, .lead__err { grid-column: 1 / -1; padding: 12px 14px; border-radius: 10px; font-size: 15px; font-weight: 500; }
.lead__ok { background: var(--teal-soft); color: var(--teal-deep); }
.lead__err { background: var(--coral-soft); color: var(--coral); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 900px) { .lead__in { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .lead__form { grid-template-columns: 1fr; padding: 20px; } }

/* Подвал */
.foot { padding-block: 40px; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--ink-2); }
.foot__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.foot__brand p { margin-top: 10px; color: var(--muted); }
.foot__legal { line-height: 1.55; }
.foot__links { display: grid; gap: 8px; }
.foot__links a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line); }
.foot__links a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.foot__copy { grid-column: 1 / -1; color: var(--muted); font-size: 13px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
@media (max-width: 900px) { .foot__in { grid-template-columns: 1fr; gap: 18px; } }

/* Появление при прокрутке: в покое всё видно, анимируется только то, что ниже экрана */
.rv-pre { opacity: 0; transform: translateY(14px); }
.rv-in { animation: rvin .7s var(--ease) both; }
@keyframes rvin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .radar__sweep { display: none; }
  .radar__blip, .radar__signals li { opacity: 1; transform: none; }
  .rv-pre { opacity: 1; transform: none; }
}
