/* TMK Techno Horizon - лендинг «Видимость бизнеса».
   Идея: страница идёт из темноты к свету - как бизнес, который становится видимым.
   Шрифт Onest - /assets/fonts/fonts.css */

:root {
  --night: #040916;
  --abyss: #0A1A44;
  --deep: #0F2A6B;
  --brand: #1A5FF5;
  --brand-ink: #1550D6;
  --sky: #7DA5FF;
  --haze: #DCE7FF;
  --cloud: #F3F6FD;
  --white: #FFFFFF;
  --ink: #0A1022;
  --text: #1A2133;
  --muted: #525D75;
  --muted-on-dark: #AEBBD8;
  --line: #E3E8F2;
  --line-dark: rgba(255, 255, 255, .12);
  --wa: #25D366;
  --wa-ink: #05331A;
  --error: #C0362C;

  --font: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
  --gutter: 20px;
  --header-h: 64px;
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --r-xl: 32px;
  --shadow: 0 1px 2px rgba(10, 16, 34, .04), 0 12px 32px -12px rgba(10, 16, 34, .12);
}
@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .site-header:not(.is-solid) :focus-visible, .footer :focus-visible { outline-color: var(--sky); }
p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: var(--r-s); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- Типографика ---------- */
.h1 { font-size: clamp(36px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 600; text-wrap: balance; }
.h2 { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 600; text-wrap: balance; color: var(--ink); }
.on-dark .h2 { color: var(--white); }
.h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 600; color: var(--ink); }
.on-dark .h3 { color: var(--white); }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--muted); max-width: 58ch; margin: 16px 0 0; }
.on-dark .lead { color: var(--muted-on-dark); }
.small { font-size: 14px; line-height: 1.5; color: var(--muted); }
.on-dark .small { color: var(--muted-on-dark); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.br-wide { display: none; }
@media (min-width: 900px) { .br-wide { display: inline; } }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-main { background: var(--brand); color: var(--white); }
.btn-main:hover { background: var(--brand-ink); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--haze); }
.btn-glass { background: rgba(255, 255, 255, .1); color: var(--white); border-color: rgba(255, 255, 255, .24); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .18); }
.btn-ghost { background: transparent; color: var(--ink); border-color: #C9D2E4; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--abyss); }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { background: #1FBE5A; }
.btn-wide { width: 100%; }

/* ---------- Шапка ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; color: var(--white); transition: background-color .25s ease, box-shadow .25s ease, color .25s ease; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.site-header.is-scrolled { background: rgba(4, 9, 22, .72); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px); }
.site-header.is-solid { background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 22px; width: auto; }
@media (min-width: 768px) { .logo img { height: 24px; } }
.site-header .logo-dark { display: none; }
.site-header.is-solid .logo-light { display: none; }
.site-header.is-solid .logo-dark { display: block; }
.nav { display: none; gap: 30px; margin: 0 auto; }
.nav a { color: inherit; opacity: .8; text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { opacity: 1; }
@media (min-width: 1040px) { .nav { display: flex; } }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
@media (min-width: 1040px) { .nav + .header-actions { margin-left: 0; } }
.header-phone { display: none; color: inherit; text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
@media (min-width: 1180px) { .header-phone { display: inline; margin-right: 4px; } }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--wa); color: var(--wa-ink); flex: none; }
.icon-btn svg { width: 21px; height: 21px; }
.header-cta { min-height: 44px; padding: 10px 18px; font-size: 15px; background: var(--white); color: var(--ink); }
.header-cta:hover { background: var(--haze); }
.site-header.is-solid .header-cta { background: var(--brand); color: var(--white); }
.site-header.is-solid .header-cta:hover { background: var(--brand-ink); }
.header-cta .long { display: none; }
@media (min-width: 560px) { .header-cta .long { display: inline; } .header-cta .short { display: none; } }

/* ---------- Первый экран: из темноты к свету ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  padding: calc(var(--header-h) + 52px) 0 0;
  background:
    radial-gradient(55% 32% at 50% 64%, rgba(26, 95, 245, .5), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, #06102B 26%, var(--deep) 50%, var(--brand) 70%, var(--sky) 85%, var(--white) 100%);
}
@media (min-width: 900px) { .hero { padding-top: calc(var(--header-h) + 84px); } }
.hero-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px;
  padding: 6px 14px 6px 6px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #DCE5FA;
}
.hero-chip b { background: var(--white); color: var(--ink); border-radius: 999px; padding: 3px 10px; font-size: 13px; font-weight: 600; }
.hero .h1 { max-width: 14ch; }
@media (min-width: 900px) { .hero .h1 { max-width: none; } }
.hero .lead { color: #C9D4EE; max-width: 54ch; margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; width: 100%; }
.hero-actions .btn { flex: 1 1 100%; }
@media (min-width: 560px) { .hero-actions .btn { flex: 0 0 auto; } }
.hero-channels { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; list-style: none; margin: 26px 0 0; padding: 0; font-size: 14.5px; color: #BCC8E6; }
.hero-channels li { display: flex; align-items: center; gap: 8px; }
.hero-channels li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }

/* Макет «Отчёт о видимости» */
.stage { position: relative; margin: 56px auto 0; max-width: 1000px; }
@media (min-width: 900px) { .stage { margin-top: 72px; } }
.app {
  position: relative; display: grid; grid-template-columns: 1fr; text-align: left;
  background: var(--white); color: var(--text); border-radius: 22px 22px 0 0;
  box-shadow: 0 -24px 70px -24px rgba(4, 9, 22, .55), 0 0 0 8px rgba(255, 255, 255, .14);
  overflow: hidden;
}
@media (min-width: 760px) { .app { grid-template-columns: 196px 1fr; } }
.app-side { display: none; border-right: 1px solid var(--line); padding: 20px 14px; background: #FAFBFE; }
@media (min-width: 760px) { .app-side { display: block; } }
.app-org { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--ink); margin: 0 0 18px 6px; }
.app-org i { width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(135deg, var(--brand), var(--sky)); }
.app-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 13.5px; color: var(--muted); }
.app-nav li { padding: 7px 10px; border-radius: 8px; display: flex; align-items: center; gap: 9px; }
.app-nav li::before { content: ""; width: 12px; height: 12px; border-radius: 4px; border: 1.5px solid #B9C3D6; }
.app-nav li.on { background: var(--cloud); color: var(--ink); font-weight: 600; }
.app-nav li.on::before { border-color: var(--brand); background: var(--brand); }
.app-main { padding: 22px 20px 34px; }
@media (min-width: 760px) { .app-main { padding: 26px 30px 48px; } }
.app-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 18px; }
.app-tag { font-size: 12.5px; font-weight: 600; color: var(--brand-ink); background: var(--cloud); border: 1px solid var(--haze); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.app-label { font-size: 13px; color: var(--muted); margin: 0 0 4px; }
.app-figure { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0 0 18px; }
.app-figure b { font-size: clamp(38px, 5vw, 50px); line-height: 1; letter-spacing: -0.04em; font-weight: 600; color: var(--ink); }
.app-figure span { font-size: 13.5px; color: var(--brand-ink); font-weight: 600; }
.app-bar { display: flex; gap: 4px; height: 8px; margin-bottom: 16px; }
.app-bar i { border-radius: 4px; height: 100%; }
.app-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .app-cards { grid-template-columns: repeat(4, 1fr); } }
.app-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.app-card p { margin: 0; }
.app-card .k { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--muted); gap: 6px; }
.app-card .k span { display: inline-flex; align-items: center; gap: 6px; }
.app-card .k span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot); }
.app-card .v { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); margin-top: 6px; }
.s1 { --dot: #1A5FF5; } .s2 { --dot: #4C84F8; } .s3 { --dot: #8DB0FB; } .s4 { --dot: #C3D4FB; }
.app-bar .s1, .app-bar .s2, .app-bar .s3, .app-bar .s4, .share .s1, .share .s2, .share .s3, .share .s4 { background: var(--dot); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 150px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--white) 88%); pointer-events: none; z-index: 1; }
.stage-caption { text-align: center; font-size: 13.5px; color: var(--muted); margin: 14px auto 0; }

/* Один момент движения: появление первого экрана */
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(14px); animation: rise .7s cubic-bezier(.2, .7, .2, 1) forwards; }
  .rise-2 { animation-delay: .08s; } .rise-3 { animation-delay: .16s; } .rise-4 { animation-delay: .24s; }
  .stage.rise { transform: translateY(48px); animation-duration: 1s; animation-delay: .3s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* ---------- Секции ---------- */
.section { padding: 80px 0; }
@media (min-width: 900px) { .section { padding: 112px 0; } }
.section-tint { background: var(--cloud); }
.section-first { padding-top: 48px; }
@media (min-width: 900px) { .section-first { padding-top: 72px; } }
.section-head { margin: 0 auto 44px; max-width: 780px; }
@media (min-width: 900px) { .section-head { margin-bottom: 56px; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow); }

/* Как клиент находит компанию */
.journey { padding: 20px; }
@media (min-width: 900px) { .journey { padding: 32px; } }
.query { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-radius: 999px; background: var(--cloud); border: 1px solid var(--line); font-weight: 500; color: var(--ink); max-width: 560px; margin: 0 auto 26px; }
.query svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.path { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: step; }
@media (min-width: 900px) { .path { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.path li { padding: 20px; border-radius: var(--r-m); background: var(--white); border: 1px solid var(--line); }
.path li::before { counter-increment: step; content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--cloud); color: var(--brand-ink); font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.path li.is-key { background: linear-gradient(180deg, #F2F6FF, var(--white)); border-color: var(--haze); }
.path li.is-key::before { background: var(--brand); color: var(--white); }
.path .h3 { font-size: 17px; margin-bottom: 6px; }
.path p { color: var(--muted); font-size: 15.5px; }
.path .where { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.path .where span { background: var(--white); border: 1px solid var(--haze); border-radius: 999px; padding: 2px 10px; font-size: 13px; color: var(--text); }
.path-warning { margin-top: 16px; padding: 18px 22px; border-radius: var(--r-m); background: var(--ink); color: #D9E1F2; display: grid; gap: 6px; font-size: 16px; line-height: 1.5; }
@media (min-width: 900px) { .path-warning { grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 20px 26px; } }
.path-warning strong { color: var(--white); font-weight: 600; }

/* Где клиент вас встречает */
.found { display: grid; gap: 12px; margin-top: 16px; }
@media (min-width: 900px) { .found { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.f-card { padding: 18px; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--white); font-size: 14px; line-height: 1.5; color: var(--muted); }
.f-src { font-size: 12.5px; font-weight: 600; color: var(--brand-ink); margin: 0 0 10px; }
.f-url { color: #1D7A45; font-size: 12.5px; margin: 0 0 2px; }
.f-title { color: var(--ink); font-weight: 600; font-size: 15px; margin: 0 0 4px; }
.f-you { background: var(--haze); color: var(--ink); padding: 0 6px; border-radius: 5px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.f-other { color: #5E6880; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.f-map { display: grid; grid-template-columns: 48px 1fr; gap: 12px; }
.f-pin { height: 48px; border-radius: 10px; background: radial-gradient(circle at 50% 45%, var(--brand) 0 6px, transparent 7px), repeating-linear-gradient(135deg, #EEF3FD 0 7px, #E3EBFB 7px 14px); }
.f-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.f-chip { border: 1px solid var(--line); border-radius: 999px; padding: 1px 9px; font-size: 12.5px; color: var(--text); }
.f-ask { background: var(--ink); color: var(--white); border-radius: 12px 12px 4px 12px; padding: 7px 12px; margin: 0 0 8px auto; width: fit-content; max-width: 92%; }
.found-note { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 14px; }

/* Цифры */
.facts { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } }
.fact { margin: 0; padding: 26px; }
.fact b { display: block; font-size: clamp(40px, 5vw, 56px); line-height: 1; letter-spacing: -0.04em; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.fact span { display: block; color: var(--muted); font-size: 15.5px; }
.fact cite { display: block; font-style: normal; font-size: 13px; color: var(--muted); margin-top: 8px; }
.share { display: flex; height: 8px; gap: 4px; margin: 0 0 14px; }
.share i { border-radius: 4px; }
.share-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--muted); margin: 0 0 10px; list-style: none; padding: 0; }
.share-legend li { display: flex; align-items: center; gap: 6px; }
.share-legend li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot); }

/* Выгоды */
.bento { display: grid; gap: 16px; }
@media (min-width: 980px) { .bento { grid-template-columns: 1.25fr 1fr; gap: 20px; } }
.chart-card { padding: 24px; }
@media (min-width: 760px) { .chart-card { padding: 32px; } }
.chart-card .h3 { margin-bottom: 4px; }
.chart-card .small { margin: 0 0 16px; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 14px; padding: 0; list-style: none; font-size: 14.5px; }
.chart-legend li { display: flex; align-items: center; gap: 8px; }
.chart-legend i { width: 22px; height: 4px; border-radius: 2px; display: inline-block; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart text { font-family: var(--font); }
.benefit-stack { display: grid; gap: 16px; }
.benefit { padding: 24px; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.ico { width: 44px; height: 44px; border-radius: 12px; background: var(--cloud); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.ico svg { width: 22px; height: 22px; }
.benefit p { color: var(--muted); font-size: 15.5px; margin-top: 4px; }

/* Что делаем */
.work { display: grid; gap: 16px; }
@media (min-width: 760px) { .work { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .work { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.work-item { padding: 26px; display: flex; flex-direction: column; }
.work-item .tag { font-size: 13.5px; color: var(--muted); margin: 4px 0 12px; }
.work-item .body { color: var(--muted); font-size: 15.5px; margin-bottom: 18px; }
.work-item .result { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 15px; display: flex; gap: 10px; align-items: baseline; }
.work-item .result::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: none; transform: translateY(-1px); }
.why-ai { padding: 26px; background: linear-gradient(160deg, var(--abyss), var(--brand)); color: var(--white); border-color: transparent; display: flex; flex-direction: column; gap: 12px; }
.why-ai .h3 { color: var(--white); }
.why-ai p { color: #D6E0FA; font-size: 15.5px; }

/* Бесплатный разбор */
.offer { border-radius: var(--r-xl); padding: 30px 22px; color: var(--white); background: radial-gradient(70% 90% at 90% 0%, rgba(125, 165, 255, .45), transparent 60%), linear-gradient(150deg, var(--night), var(--deep) 55%, var(--brand)); display: grid; gap: 32px; }
@media (min-width: 980px) { .offer { grid-template-columns: 1.1fr .9fr; padding: 56px; gap: 56px; align-items: center; } }
.offer .h2 { max-width: 15ch; }
.check-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.check-list svg { width: 22px; height: 22px; color: var(--sky); margin-top: 2px; }
.check-list b { color: var(--white); font-weight: 600; }
.check-list span { color: #C9D4EE; font-size: 15.5px; }
.offer-box { background: var(--white); color: var(--text); border-radius: var(--r-l); padding: 28px; }
.on-dark .offer-box .small { color: var(--muted); }
.offer-box .price-free { font-size: 60px; line-height: 1; letter-spacing: -0.04em; font-weight: 600; color: var(--ink); margin: 0 0 8px; }
.offer-get { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; color: var(--text); font-size: 15.5px; }
.offer-get li { padding-left: 26px; position: relative; }
.offer-get li::before { content: ""; position: absolute; left: 1px; top: .38em; width: 13px; height: 7px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }

/* 90 дней */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 900px) { .timeline { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.timeline li { padding: 26px; }
.timeline .month { font-size: 14px; font-weight: 600; color: var(--brand-ink); margin: 0 0 12px; }
.timeline .progress { display: flex; gap: 4px; margin-bottom: 20px; }
.timeline .progress i { flex: 1; height: 6px; border-radius: 3px; background: var(--haze); }
.timeline .progress i.on { background: var(--brand); }
.timeline .h3 { margin-bottom: 8px; }
.timeline p { color: var(--muted); font-size: 15.5px; }
.timing-note { margin: 28px auto 0; max-width: 72ch; text-align: center; font-size: 15.5px; color: var(--muted); }
.timing-note b { color: var(--ink); font-weight: 600; }

/* Цены */
.niche-switch { margin: 0 auto 28px; border: 0; padding: 0; max-width: 1000px; min-width: 0; }
.niche-switch legend { width: 100%; text-align: center; font-weight: 600; color: var(--ink); margin-bottom: 12px; padding: 0; }
.niche-options { display: grid; gap: 6px; padding: 6px; border-radius: 22px; background: var(--cloud); border: 1px solid var(--line); }
@media (min-width: 900px) { .niche-options { grid-template-columns: repeat(3, 1fr); border-radius: 999px; } }
.niche-options label { position: relative; display: block; cursor: pointer; padding: 10px 16px 10px 46px; border-radius: 16px; font-size: 14.5px; line-height: 1.35; transition: background-color .15s ease, box-shadow .15s ease; }
@media (min-width: 900px) { .niche-options label { border-radius: 999px; } }
.niche-options label b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.niche-options label span { color: var(--muted); font-size: 13.5px; }
.niche-options input { position: absolute; left: 16px; top: 50%; margin: -9px 0 0; width: 18px; height: 18px; accent-color: var(--brand); }
.niche-options label:has(input:checked) { background: var(--white); box-shadow: var(--shadow); }
.plans { display: grid; gap: 16px; }
@media (min-width: 960px) { .plans { grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; } }
.plan { display: flex; flex-direction: column; padding: 28px; }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan .h3 { font-size: 22px; }
.plan-badge { background: var(--white); color: var(--ink); border-radius: 999px; font-size: 13px; font-weight: 600; padding: 4px 12px; white-space: nowrap; }
.plan-for { color: var(--muted); font-size: 15px; margin: 6px 0 20px; min-height: 2.9em; }
.plan-price { font-size: 42px; line-height: 1; letter-spacing: -0.04em; font-weight: 600; color: var(--ink); margin: 0; white-space: nowrap; }
.plan-period { color: var(--muted); font-size: 14.5px; margin: 8px 0 22px; }
.plan ul { list-style: none; margin: 0 0 26px; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 15px; line-height: 1.45; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 12px; height: 7px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }
.plan-featured { background: linear-gradient(165deg, var(--night), var(--deep) 70%, #1B4FC4); color: var(--white); border-color: transparent; }
.plan-featured .h3, .plan-featured .plan-price { color: var(--white); }
.plan-featured .plan-for, .plan-featured .plan-period { color: var(--muted-on-dark); }
.plan-featured ul { border-top-color: var(--line-dark); color: #DCE4F6; }
.plan-featured li::before { border-color: var(--sky); }
.price-flash { animation: flash .45s ease; }
@keyframes flash { from { opacity: .25; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .price-flash { animation: none; } }
.extras { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 900px) { .extras { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.extra { padding: 22px 24px; border-radius: var(--r-l); background: var(--cloud); border: 1px solid var(--line); }
.extra .h3 { font-size: 17px; }
.extra .extra-price { font-weight: 600; margin: 6px 0 8px; font-size: 18px; color: var(--ink); }
.extra p { color: var(--muted); font-size: 15px; }
.terms { margin: 28px auto 0; max-width: 1000px; display: grid; gap: 8px; font-size: 15px; color: var(--muted); }
@media (min-width: 900px) { .terms { grid-template-columns: repeat(2, 1fr); gap: 8px 40px; } }
.terms p { margin: 0; padding-left: 18px; position: relative; }
.terms p::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 2px; background: var(--sky); }

/* Как мы работаем */
.honest { display: grid; gap: 16px; }
@media (min-width: 900px) { .honest { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.honest-item { padding: 26px; display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.honest-item p { color: var(--muted); font-size: 15.5px; margin-top: 4px; }
.trust { margin-top: 44px; text-align: center; }
.trust p { color: var(--muted); max-width: 60ch; margin: 0 auto 18px; }
.trust p b { color: var(--ink); font-weight: 600; }
.trust-names { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.trust-names span { border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font-weight: 600; font-size: 15px; color: var(--ink); background: var(--white); }
.trust-link { display: inline-block; margin-top: 16px; font-weight: 500; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq-list details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: 0 22px; transition: box-shadow .15s ease; }
.faq-list details[open] { box-shadow: var(--shadow); }
.faq-list summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative; font-weight: 600; font-size: 17px; line-height: 1.4; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg); transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-list .answer { padding: 0 0 20px; color: var(--muted); }
.faq-more { text-align: center; margin-top: 24px; color: var(--muted); }

/* Форма: страница снова уходит в глубину */
.lead-section { color: var(--white); background: linear-gradient(180deg, var(--white) 0, var(--sky) 48px, var(--brand) 96px, var(--deep) 168px, #071234 480px, var(--night) 100%); padding-top: 190px; }
.lead-section .lead, .lead-section .lead-contacts .small { color: #CFD9F2; }
.lead-grid { display: grid; gap: 40px; }
@media (min-width: 980px) { .lead-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; } }
.lead-contacts { margin-top: 28px; display: grid; gap: 14px; justify-items: start; }
.contact-line { display: flex; gap: 12px; align-items: center; color: var(--white); text-decoration: none; font-weight: 600; font-size: 18px; }
.contact-line svg { width: 21px; height: 21px; color: var(--sky); }
.contact-line:hover { text-decoration: underline; }
.form-card { background: var(--white); color: var(--text); border-radius: var(--r-l); padding: 26px 20px; box-shadow: 0 30px 80px -30px rgba(4, 9, 22, .6); }
@media (min-width: 760px) { .form-card { padding: 36px; } }
.form-card .h3 { font-size: 22px; margin-bottom: 4px; color: var(--ink); }
.on-dark .form-card .small { color: var(--muted); }
.form-grid { display: grid; gap: 16px; margin-top: 22px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field .label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="tel"], .field select {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #C9D2E4; border-radius: 12px; background: var(--white);
  font-size: 16px; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(26, 95, 245, .16); }
.field input::placeholder { color: #6B7489; }
.field .error-text { display: none; color: var(--error); font-size: 14px; margin-top: 6px; font-weight: 500; }
.field.has-error input, .field.has-error select { border-color: var(--error); }
.field.has-error .error-text { display: block; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 9px 16px; border: 1px solid #C9D2E4; border-radius: 999px; cursor: pointer; font-weight: 500; font-size: 15px; min-height: 44px; }
.radio-row input { width: 18px; height: 18px; margin: 0; accent-color: var(--brand); }
.radio-row label:has(input:checked) { border-color: var(--brand); background: #F2F6FF; }
.field label.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin: 0; font-weight: 400; font-size: 14px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.field label.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); }
.form-submit { margin-top: 22px; }
.form-submit .btn { width: 100%; min-height: 56px; font-size: 17px; }
.form-submit .btn[disabled] { opacity: .7; cursor: progress; }
.form-status { margin-top: 14px; font-size: 15px; display: none; padding: 14px 16px; border-radius: 12px; }
.form-status.is-error { display: block; background: #FBEAE8; color: #8E241C; }
.form-status.is-error a { color: #8E241C; font-weight: 600; }
.form-legal { margin-top: 12px; font-size: 13.5px; color: var(--muted); text-align: center; }
.hp-field { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* Подвал */
.footer { background: var(--night); color: var(--muted-on-dark); padding: 56px 0 110px; font-size: 15px; }
@media (min-width: 900px) { .footer { padding: 64px 0 48px; } }
.footer .wrap { display: grid; gap: 28px; }
@media (min-width: 900px) { .footer .wrap { grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; } }
.footer a { color: #DCE4F6; }
.footer p { margin: 0 0 8px; }
.footer .logo img { height: 22px; margin-bottom: 14px; }
.footer-req { font-size: 14px; }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 14px; }
.link-btn { background: none; border: 0; padding: 0; color: #DCE4F6; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 15px; }

/* Мобильная панель */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 56px; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s ease; }
.mobile-bar.is-visible { transform: none; }
.mobile-bar .btn { min-height: 50px; padding: 10px 14px; font-size: 16px; }
.mobile-bar .icon-btn { width: 56px; height: 50px; border-radius: 999px; }
@media (min-width: 900px) { .mobile-bar { display: none; } }
@media (prefers-reduced-motion: reduce) { .mobile-bar { transition: none; } }

/* Баннер cookie */
.cookie-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80; max-width: 760px; margin: 0 auto; background: var(--white); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: 0 20px 60px -10px rgba(4, 9, 22, .35); padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); }
.cookie-inner { display: grid; gap: 14px; }
@media (min-width: 760px) { .cookie-inner { grid-template-columns: 1fr auto; align-items: center; gap: 20px; } }
.cookie-text { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.cookie-text b { color: var(--ink); }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (min-width: 760px) { .cookie-actions { grid-template-columns: auto; } }
.cookie-btn { min-height: 46px; padding: 10px 18px; font-size: 15px; background: var(--ink); color: var(--white); }
.cookie-btn:hover { background: var(--abyss); }
.has-cookie-banner .mobile-bar { display: none; }

/* Служебные страницы */
.page-simple { min-height: 100vh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 80px; background: linear-gradient(180deg, var(--cloud), var(--white) 60%); }
.thanks { max-width: 760px; }
.thanks-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--brand); color: var(--white); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; box-shadow: 0 0 0 8px var(--haze); }
.thanks-mark svg { width: 30px; height: 30px; }
.thanks .h1 { color: var(--ink); }
.thanks-steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: s; }
.thanks-steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); }
.thanks-steps li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: var(--cloud); color: var(--brand-ink); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; }
.thanks-steps p { color: var(--muted); }
.thanks-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.legal { max-width: 800px; padding: calc(var(--header-h) + 48px) 0 88px; }
.legal h1 { margin-bottom: 8px; }
.legal h2 { font-size: 21px; font-weight: 600; margin: 36px 0 12px; line-height: 1.35; color: var(--ink); }
.legal ul { padding-left: 22px; margin: 0 0 12px; }
.legal li { margin-bottom: 6px; }
.legal .small { margin-bottom: 28px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 15px; display: block; overflow-x: auto; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal-table th { font-weight: 600; background: var(--cloud); }
.form-card-light { border: 1px solid var(--line); margin-top: 24px; box-shadow: var(--shadow); }
.deletion-done:focus { outline: none; }
