/* AI-DA-ROP · сайт v3 */

@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/golos-text-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/golos-text-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --ink: #0d1626;
  --text: #2b3546;
  --muted: #5a6577;
  --subtle: #6b7587;
  --line: #e2e7ee;
  --line-2: #cdd4df;
  --accent: #2446b8;
  --accent-hover: #1b3894;
  --accent-soft: #edf1fc;
  --accent-line: #c7d4f5;
  --navy: #0c1729;
  --on-dark: #e8edf5;
  --on-dark-muted: #a3aec1;
  --ok: #1d8f63;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(13, 22, 38, .05), 0 2px 8px rgba(13, 22, 38, .04);
  --shadow: 0 1px 2px rgba(13, 22, 38, .06), 0 14px 34px -14px rgba(13, 22, 38, .20);
  --shadow-lg: 0 2px 6px rgba(13, 22, 38, .06), 0 32px 72px -26px rgba(13, 22, 38, .34);

  --container: 1200px;
  --gutter: 32px;
  --header-h: 72px;
  --section: 104px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: 'Golos Text', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
.steps, .steps-detailed, .numbered, .check, .dash, .footer-list, .svc-nav ol { list-style: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.125rem, 1.3rem + 2.7vw, 3.375rem); line-height: 1.08; letter-spacing: -0.026em; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem); line-height: 1.14; letter-spacing: -0.021em; }
h3 { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -0.012em; }
p, li { text-wrap: pretty; }
::selection { background: #d9e2fa; color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.i {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.btn .i { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(13, 22, 38, .12); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #e9eef8; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; color: var(--accent);
}
.link-arrow .i { width: 18px; height: 18px; transition: transform .16s ease; }
.link-arrow:hover .i { transform: translateX(3px); }
.link-arrow:hover { color: var(--accent-hover); }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled, .site-header.is-open { border-bottom-color: var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 32px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); flex: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font-weight: 700; font-size: 17px; letter-spacing: .02em; }
.brand-sub {
  font-size: 12px; line-height: 1.3; color: var(--muted);
  padding-left: 12px; border-left: 1px solid var(--line-2);
}

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  padding: 9px 14px; border-radius: 8px;
  font-size: 15px; font-weight: 500; color: var(--text);
  transition: background-color .15s ease, color .15s ease;
}
.nav a:hover { background: var(--bg-alt); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }

.menu-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle .i { width: 22px; height: 22px; }
.menu-toggle .i-close { display: none; }
.site-header.is-open .menu-toggle .i-open { display: none; }
.site-header.is-open .menu-toggle .i-close { display: block; }

.mobile-menu { border-top: 1px solid var(--line); background: #fff; }
.mobile-menu nav { display: grid; padding: 12px 0; }
.mobile-menu nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 4px; font-size: 18px; font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-menu nav a[aria-current="page"] { color: var(--accent); }
.mobile-menu-actions { display: grid; gap: 10px; padding: 8px 0 24px; }

/* ---------- Общие секции ---------- */
.section { padding: var(--section) 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-top: 0; }
.section:not(.section--alt) + .section--cta { padding-top: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  margin-bottom: 48px;
}
.section-head h2 { margin-top: 14px; }
.section-head .lead { margin-top: 16px; max-width: 42em; font-size: 17px; color: var(--muted); }
.section-head > .link-arrow { flex: none; margin-bottom: 6px; }

.lead { font-size: 18px; line-height: 1.6; color: var(--muted); }

/* ---------- Главный экран ---------- */
.hero { position: relative; padding: 64px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(13, 22, 38, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(13, 22, 38, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 58% 64% at 78% 38%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 58% 64% at 78% 38%, #000 10%, transparent 72%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 56px; align-items: center;
}
.hero h1 { margin: 20px 0 22px; }
.hero .lead { max-width: 33em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.dot-ok { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(29, 143, 99, .14); flex: none; }

.hero-visual { position: relative; padding: 0 56px 64px 0; }
.hero-visual .frame { box-shadow: var(--shadow-lg); }
.hero-visual .phone { position: absolute; right: 0; bottom: 0; width: 29%; max-width: 196px; }

/* Рамка браузера */
.frame {
  position: relative; overflow: hidden;
  border-radius: 12px; border: 1px solid var(--line); background: #fff;
  box-shadow: var(--shadow);
}
.frame-bar {
  display: flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 12px;
  background: #f6f7f9; border-bottom: 1px solid var(--line);
}
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d4dae3; flex: none; }
.frame-url {
  margin-left: 10px; min-width: 0;
  font-size: 12px; line-height: 1; color: var(--muted);
  background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 5px 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }

/* Рамка телефона */
.phone {
  border-radius: 32px; background: #101a2c; padding: 7px;
  box-shadow: 0 2px 6px rgba(13, 22, 38, .1), 0 30px 60px -20px rgba(13, 22, 38, .45);
}
.phone img { width: 100%; border-radius: 26px; aspect-ratio: 390 / 780; object-fit: cover; object-position: top; }

/* Ключевые факты */
.facts {
  position: relative; margin-top: 72px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.fact { display: flex; gap: 14px; padding: 24px 24px 26px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact .i { width: 24px; height: 24px; color: var(--accent); margin-top: 1px; }
.fact b { display: block; color: var(--ink); font-weight: 600; font-size: 15.5px; line-height: 1.35; margin-bottom: 5px; }
.fact span { display: block; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* ---------- Карточки направлений ---------- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 26px 24px 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
a.card:hover { border-color: var(--accent-line); box-shadow: var(--shadow); transform: translateY(-2px); }
.ico {
  width: 44px; height: 44px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.ico .i { width: 22px; height: 22px; }
.card .ico { margin-bottom: 22px; }
.card-num { position: absolute; top: 26px; right: 24px; font-size: 13px; font-weight: 500; color: var(--subtle); font-variant-numeric: tabular-nums; }
.card h3 { font-size: 17.5px; margin-bottom: 8px; }
.card p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.card-more {
  margin-top: auto; padding-top: 22px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--accent);
}
.card-more .i { width: 16px; height: 16px; transition: transform .16s ease; }
a.card:hover .card-more .i { transform: translateX(3px); }

/* ---------- Витрина стендов (вкладки) ---------- */
.showcase {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.tablist {
  display: flex; gap: 4px; padding: 8px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto; scrollbar-width: none;
}
.tablist::-webkit-scrollbar { display: none; }
.tab {
  flex: none; padding: 10px 18px; border: 0; border-radius: 9px;
  background: transparent; cursor: pointer;
  font-size: 15px; font-weight: 500; color: var(--muted);
  transition: background-color .15s ease, color .15s ease;
}
.tab:hover { color: var(--ink); background: var(--bg-alt); }
.tab[aria-selected="true"] { color: var(--accent); background: var(--accent-soft); }
.panel {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 56px; align-items: center; padding: 48px;
}
.panel[hidden] { display: none; }
.no-js .tablist { display: none; }
.no-js .panel + .panel { border-top: 1px solid var(--line); }
.panel h3 { font-size: 26px; line-height: 1.2; letter-spacing: -0.018em; }
.panel p { margin-top: 14px; color: var(--muted); font-size: 16.5px; }
.panel .check { margin-top: 22px; }
.panel-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 30px; }

.url { font-size: 13px; color: var(--subtle); }

/* Списки с галочками */
.check { list-style: none; display: grid; gap: 11px; }
.check li { position: relative; padding-left: 30px; line-height: 1.5; }
.check li::before {
  content: ""; position: absolute; left: 0; top: .12em;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232446b8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.dash { list-style: none; display: grid; gap: 10px; }
.dash li { position: relative; padding-left: 22px; line-height: 1.5; }
.dash li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; border-radius: 2px; background: var(--accent); }

/* ---------- Этапы ---------- */
.steps {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line-2); counter-reset: step;
}
.step { position: relative; padding: 28px 24px 0 0; }
.step::before {
  content: ""; position: absolute; top: -5px; left: 0;
  width: 9px; height: 9px; border-radius: 50%;
  background: #fff; border: 2px solid var(--accent);
}
.step-n { display: block; font-size: 13px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; margin-bottom: 12px; }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }

.steps-detailed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step-card {
  display: flex; flex-direction: column;
  padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.step-card .step-n { font-size: 14px; }
.step-card h3 { font-size: 19px; margin-bottom: 10px; }
.step-card p { font-size: 15px; color: var(--muted); }
.step-card-body { flex: 1; }
.step-result {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 14px; line-height: 1.45; color: var(--ink); font-weight: 500;
}
.step-result .i { width: 18px; height: 18px; color: var(--accent); margin-top: 1px; }

/* ---------- Условия ---------- */
.terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.term {
  display: flex; gap: 20px; padding: 28px 28px 30px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.term h3 { font-size: 18px; margin-bottom: 8px; }
.term p { font-size: 15px; color: var(--muted); }

/* ---------- Исполнитель / таблица сведений ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.about h2 { margin-top: 14px; }
.about-text p { margin-top: 18px; font-size: 17px; color: var(--muted); }
.about-text .link-arrow { margin-top: 28px; }
.about-text .fine { font-size: 14.5px; }

.spec { border-top: 1px solid var(--line-2); }
.spec-row {
  display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 24px;
  padding: 17px 0; border-bottom: 1px solid var(--line);
}
.spec-row dt { font-size: 14px; color: var(--muted); padding-top: 1px; }
.spec-row dd { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.spec-row dd a { color: var(--accent); }
.spec-row dd a:hover { text-decoration: underline; text-underline-offset: 3px; }
.spec-row dd small { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; color: var(--muted); }

/* ---------- Призыв ---------- */
.cta {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: center;
  padding: 60px 64px;
  background: var(--navy); color: var(--on-dark); border-radius: var(--radius-lg);
}
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 100% 50%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 90% at 100% 50%, #000 0%, transparent 70%);
}
.cta > * { position: relative; }
.cta h2 { color: #fff; }
.cta p { margin-top: 16px; font-size: 17px; color: var(--on-dark-muted); max-width: 36em; }
.cta-mail { font-size: 15px !important; }
.cta-mail a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.cta-mail a:hover { border-bottom-color: #fff; }
.cta-actions { display: grid; gap: 12px; }
.cta-actions .btn { width: 100%; }

/* ---------- Подвал ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 64px 0 32px; font-size: 14.5px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
.footer-about p { margin-top: 18px; max-width: 26em; line-height: 1.6; }
.footer-h { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 16px; }
.footer-list { list-style: none; display: grid; gap: 10px; }
.footer-list a { color: var(--text); }
.footer-list a:hover { color: var(--accent); }
.footer-req p + p { margin-top: 10px; }
.footer-req b { color: var(--text); font-weight: 500; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  padding: 7px 12px 7px 10px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: 13px; font-weight: 500; color: var(--ink);
}
.badge .i { width: 16px; height: 16px; color: var(--accent); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px;
}
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Внутренние страницы ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: 44px 0 60px;
  background: linear-gradient(180deg, var(--bg-alt) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(13, 22, 38, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(13, 22, 38, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 50% 90% at 100% 0%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 50% 90% at 100% 0%, #000 0%, transparent 70%);
}
.page-hero .container { position: relative; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { color: var(--line-2); }
.page-hero h1 { font-size: clamp(2.25rem, 1.6rem + 2.2vw, 3.25rem); }
.page-hero .lead { margin-top: 18px; max-width: 44em; }
.page-anchors { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.page-anchors a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff;
  font-size: 14px; font-weight: 500; color: var(--ink);
}
.page-anchors a:hover { border-color: var(--accent); color: var(--accent); }
.page-anchors .i { width: 16px; height: 16px; }

/* Услуги */
.svc-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 72px; align-items: start; }
.svc-nav { position: sticky; top: calc(var(--header-h) + 28px); }
.svc-nav-title { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); margin: 0 0 12px 12px; }
.svc-nav ol { list-style: none; display: grid; gap: 2px; }
.svc-nav a {
  display: flex; gap: 12px; padding: 8px 12px; border-radius: 8px;
  font-size: 14.5px; line-height: 1.4; color: var(--muted);
  transition: background-color .15s ease, color .15s ease;
}
.svc-nav a:hover { color: var(--ink); background: var(--bg-alt); }
.svc-nav a .n { color: var(--subtle); font-variant-numeric: tabular-nums; min-width: 18px; }
.svc-nav a.is-active { color: var(--accent); background: var(--accent-soft); }
.svc-nav a.is-active .n { color: var(--accent); }
.svc-nav hr { border: 0; border-top: 1px solid var(--line); margin: 10px 12px; }

.svc { padding: 56px 0; border-top: 1px solid var(--line); }
.svc:first-child { padding-top: 0; border-top: 0; }
.svc-head { display: flex; gap: 20px; align-items: flex-start; }
.svc-head .ico { width: 52px; height: 52px; border-radius: 13px; }
.svc-head .ico .i { width: 26px; height: 26px; }
.svc-kicker { display: block; font-size: 13px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; margin-bottom: 4px; }
.svc h2 { font-size: clamp(1.5rem, 1.25rem + .9vw, 2rem); }
.svc-intro { margin-top: 20px; font-size: 17px; color: var(--muted); max-width: 46em; }
.svc-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 32px; }
.col-title { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); margin-bottom: 14px; }
.svc-cols li { font-size: 15.5px; }
.svc-note { margin-top: 28px; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--bg-alt); font-size: 15px; color: var(--text); }
.svc-note a { color: var(--accent); font-weight: 500; }

.demo-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 12px; margin-top: 32px; }
.demo-link {
  display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.demo-link:hover { border-color: var(--accent-line); box-shadow: var(--shadow-sm); }
.demo-thumb {
  display: block; width: 92px; height: 58px; flex: none; overflow: hidden;
  border-radius: 7px; border: 1px solid var(--line); background: var(--bg-alt);
}
.demo-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.demo-thumb.is-icon { display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); border-color: var(--accent-line); }
.demo-thumb.is-icon .i { width: 24px; height: 24px; }
.demo-link-text { min-width: 0; flex: 1; }
.demo-link b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.demo-link-text > span { display: block; font-size: 13px; color: var(--subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-link > .i { width: 18px; height: 18px; color: var(--subtle); }
.demo-link:hover > .i { color: var(--accent); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center;
  padding: 6px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: 14px; color: var(--text);
}
.tech { display: grid; gap: 28px; }
.tech-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.tech-row:last-child { border-bottom: 0; padding-bottom: 0; }
.tech-row h3 { font-size: 16px; padding-top: 6px; }

/* Проекты */
.stands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.stand {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.stand:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.stand-media { padding: 28px 28px 0; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.stand-media .frame { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; box-shadow: 0 -1px 0 var(--line), 0 18px 40px -22px rgba(13, 22, 38, .3); }
.stand-media .frame img { aspect-ratio: 16 / 9; }
.stand-body { display: flex; flex-direction: column; flex: 1; padding: 26px 30px 30px; }
.tag { font-size: 12.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); }
.stand h3 { font-size: 21px; margin: 8px 0 10px; }
.stand p { font-size: 15.5px; color: var(--muted); }
.stand .chips { margin-top: 18px; }
.stand .chip { background: var(--bg-alt); font-size: 13px; padding: 5px 11px; }
.stand-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: auto; padding-top: 26px; }
.stand-foot .url { margin-left: auto; }

/* Макет чата для карточки ботов */
.chatmock-wrap {
  aspect-ratio: 16 / 9; display: grid; place-items: end center;
  background: #eef1f6; overflow: hidden; padding: 22px 22px 0;
  background-image: radial-gradient(rgba(13, 22, 38, .07) 1px, transparent 1px);
  background-size: 16px 16px;
}
.chatmock {
  width: min(100%, 400px); height: 100%;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-bottom: 0;
  border-radius: 14px 14px 0 0; overflow: hidden;
  box-shadow: 0 18px 40px -22px rgba(13, 22, 38, .3);
  font-size: 13px; line-height: 1.45;
}
.chatmock-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.chatmock-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; flex: none; }
.chatmock-av .i { width: 17px; height: 17px; }
.chatmock-head b { display: block; font-size: 13.5px; color: var(--ink); }
.chatmock-head small { display: block; font-size: 11.5px; color: var(--subtle); }
.chatmock-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px; background: #f7f8fb; overflow: hidden; }
.msg { max-width: 82%; padding: 8px 11px; border-radius: 12px; }
.msg.in { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--text); }
.msg.out { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.kb { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; max-width: 88%; }
.kb span { padding: 7px 8px; border-radius: 8px; background: #fff; border: 1px solid var(--accent-line); color: var(--accent); font-weight: 500; font-size: 12px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Реализованные проекты */
.cases { border-top: 1px solid var(--line-2); }
.case {
  display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 48px; padding: 36px 0; border-bottom: 1px solid var(--line);
}
.case-meta { display: grid; gap: 10px; align-content: start; }
.case-industry { font-size: 15px; font-weight: 600; color: var(--ink); }
.case-stack { font-size: 13.5px; color: var(--subtle); }
.case h3 { font-size: 20px; margin-bottom: 10px; }
.case p { color: var(--muted); font-size: 15.5px; }
.case-metrics { display: grid; gap: 18px; align-content: start; }
.metric { display: grid; grid-template-columns: minmax(84px, auto) minmax(0, 1fr); gap: 16px; align-items: baseline; }
.metric b { font-size: 28px; line-height: 1; font-weight: 600; letter-spacing: -0.02em; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.metric span { font-size: 14.5px; line-height: 1.45; color: var(--text); }
.cases-note { margin-top: 24px; font-size: 14px; color: var(--muted); max-width: 52em; }

/* Контакты */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.channels { display: grid; gap: 14px; }
.channel {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center;
  padding: 24px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.channel .ico { width: 48px; height: 48px; }
.channel .h3-like { font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; }
.channel p { margin-top: 4px; font-size: 14.5px; color: var(--muted); }
.channel .handle { display: block; margin-top: 6px; font-size: 14px; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }

.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.person-top { display: flex; gap: 22px; align-items: center; }
.person-photo { width: 116px; flex: none; border-radius: 12px; overflow: hidden; background: #e6e9ee; }
.person-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.person-name { font-size: 20px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.person-role { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.person-text { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--text); }
.person .badge { margin-top: 18px; background: var(--bg-alt); }

.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.box { padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.box h2 { font-size: 24px; letter-spacing: -0.015em; margin-bottom: 22px; }
.numbered { list-style: none; counter-reset: n; display: grid; gap: 18px; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; }
.numbered li::before {
  content: counter(n); width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: 14px;
}
.numbered b { display: block; color: var(--ink); font-weight: 600; }
.numbered span { display: block; margin-top: 2px; font-size: 15px; color: var(--muted); }
.fine { margin-top: 20px; font-size: 14px; color: var(--muted); }
.fine a { color: var(--accent); }

/* Политика */
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; letter-spacing: -0.012em; margin: 40px 0 14px; }
.prose p, .prose li { font-size: 16px; color: var(--text); }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 12px 0 0 1.2em; display: grid; gap: 6px; }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--accent); }
.prose .meta { font-size: 14px; color: var(--muted); }

/* Уведомление о cookie */
.cookie {
  position: fixed; left: 24px; bottom: 24px; z-index: 80;
  width: min(420px, calc(100% - 32px));
  display: flex; gap: 16px; align-items: center;
  padding: 16px 16px 16px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: 14px; line-height: 1.5; color: var(--text);
}
.cookie[hidden] { display: none; }
.cookie a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cookie .btn { flex: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; border-top: 0; }
  .step { border-top: 1px solid var(--line-2); }
  .brand-sub { display: none; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
  .case { grid-template-columns: minmax(0, 170px) minmax(0, 1fr); }
  .case-metrics { grid-column: 2; }
}

@media (max-width: 1024px) {
  :root { --section: 88px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero .lead { max-width: 40em; }
  .hero-visual { max-width: 760px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .panel { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 36px; }
  .panel-media { order: -1; }
  .about { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .cta { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 48px; }
  .cta-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .svc-nav { display: none; }
  .steps-detailed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .person { max-width: 560px; }
}

@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; --section: 72px; --header-h: 64px; }
  body { font-size: 15.5px; }
  .lead, .hero .lead { font-size: 16.5px; }
  .hero { padding: 40px 0 56px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-visual { padding: 0 28px 40px 0; }
  .hero-visual .phone { width: 32%; border-radius: 22px; padding: 5px; }
  .hero-visual .phone img { border-radius: 18px; }
  .facts { grid-template-columns: minmax(0, 1fr); margin-top: 48px; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
  .fact { padding: 20px; }
  .section-head { display: block; margin-bottom: 32px; }
  .section-head > .link-arrow { margin-top: 18px; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .card { padding: 22px 20px; }
  .card .ico { margin-bottom: 16px; }
  .card-num { top: 22px; right: 20px; }
  .panel { padding: 24px 20px 28px; gap: 28px; }
  .panel h3 { font-size: 22px; }
  .panel-actions .btn { width: 100%; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .step { padding: 20px 0 22px 24px; border-top: 0; border-left: 1px solid var(--line-2); }
  .step::before { top: 25px; left: -5px; }
  .step:last-child { padding-bottom: 0; }
  .steps-detailed { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .step-card { padding: 24px 22px; }
  .terms { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .term { padding: 22px 20px; gap: 16px; }
  .spec-row { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 14px 0; }
  .cta { padding: 36px 24px; border-radius: var(--radius); }
  .cta-actions { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px 24px; }
  .footer-req { grid-column: 1 / -1; }
  .page-hero { padding: 28px 0 44px; }
  .crumbs { margin-bottom: 20px; }
  .svc { padding: 44px 0; }
  .svc-head .ico { width: 44px; height: 44px; }
  .svc-cols { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .demo-links { grid-template-columns: minmax(0, 1fr); }
  .tech-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tech-row h3 { padding-top: 0; }
  .stands { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .stand-media { padding: 16px 16px 0; }
  .stand-body { padding: 22px 20px 24px; }
  .stand-foot .btn { flex: 1 1 auto; }
  .stand-foot .url { margin-left: 0; width: 100%; }
  .chatmock-wrap { padding: 14px 14px 0; }
  .case { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 28px 0; }
  .case-metrics { grid-column: auto; margin-top: 6px; }
  .metric b { font-size: 24px; }
  .channel { grid-template-columns: auto minmax(0, 1fr); padding: 20px; gap: 16px; }
  .channel .btn { grid-column: 1 / -1; width: 100%; }
  .person { padding: 22px; }
  .person-photo { width: 96px; }
  .two-col { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .box { padding: 24px 20px; }
  .cookie { left: 16px; right: 16px; bottom: 16px; width: auto; flex-direction: column; align-items: stretch; }
}

@media (max-width: 420px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .kb { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Печать ---------- */
@media print {
  :root { --section: 32px; }
  body { font-size: 11pt; color: #000; }
  .site-header, .mobile-menu, .cookie, .cta-actions, .hero-actions, .skip-link, .svc-nav, .tablist, .menu-toggle { display: none !important; }
  .panel[hidden] { display: grid !important; }
  .hero::before, .page-hero::before, .cta::before { display: none; }
  .cta { background: none; color: #000; border: 1px solid #999; }
  .cta h2, .cta p { color: #000; }
  .frame, .phone, .card, .stand, .term, .box { box-shadow: none !important; break-inside: avoid; }
  a[href^="http"]:not(.btn)::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
