/* ==========================================================================
   Бексор — стили сайта
   Цвета: ink #0F1B2D (основной), amber #F5A524 (акцент), paper #F6F4EE (фон)
   Шрифты: Manrope (текст и заголовки), JetBrains Mono (подписи)
   ========================================================================== */

/* ---------- Шрифты (локальные, с поддержкой кириллицы) ---------- */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/manrope-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/manrope-latin-wght-normal.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;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../fonts/jetbrains-mono-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../fonts/jetbrains-mono-latin-wght-normal.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 {
  --ink: #0F1B2D;
  --ink-2: #15253C;
  --ink-3: #1C2F4A;
  --ink-deep: #0A1422;
  --ink-line: rgba(255, 255, 255, .1);
  --amber: #F5A524;
  --amber-hover: #FFB53F;
  --amber-text: #995600;      /* акцентный текст на светлом фоне (контраст 5:1) */
  --amber-soft: #FFF3DC;
  --paper: #F6F4EE;
  --white: #FFFFFF;
  --line: #E6E1D6;
  --line-2: #D6CFC0;
  --text: #0F1B2D;
  --muted: #545E6F;
  --muted-2: #7D8796;
  --on-ink: #E8ECF2;
  --on-ink-muted: #A7B2C3;
  --green: #17945F;
  --green-text: #0F7A4D;    /* зелёный для текста (контраст 5:1) */
  --red: #C2362F;

  --radius: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .05), 0 16px 40px -12px rgba(15, 27, 45, .16);
  --shadow-lg: 0 40px 90px -24px rgba(2, 8, 18, .6);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
/* плавная прокрутка включается скриптом после загрузки — только для переходов внутри страницы */
html.is-smooth { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 1.25rem + 2.3vw, 3.05rem); letter-spacing: -.028em; line-height: 1.08; }
strong, b { font-weight: 800; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--amber); color: var(--ink); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nw { white-space: nowrap; }

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

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--amber);
  color: var(--ink);
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, box-shadow .25s, transform .25s var(--ease);
}
.btn__icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .btn__icon { transform: translateX(3px); }
.btn--primary { background: var(--amber); color: var(--ink); }
.btn--primary:hover { background: var(--amber-hover); transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(245, 165, 36, .7); }
.btn--ghost { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; box-shadow: none; }

/* ---------- Шапка ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: #fff;
  transition: background .3s, color .3s, box-shadow .3s;
}
.header.is-scrolled,
.page-light .header {
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.header__logo { display: block; flex: none; border-radius: 6px; }
.logo { height: 24px; width: auto; aspect-ratio: 6770 / 1500; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 600; text-decoration: none; opacity: .82; transition: opacity .2s, color .2s; }
.nav a:hover { opacity: 1; }
.nav .nav__cta { display: none; }
.header__cta { flex: none; }
.burger { display: none; }

/* ---------- Подписи разделов ---------- */
.label {
  display: block;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--amber-text);
}
.label::before { content: ""; display: inline-block; vertical-align: middle; width: 20px; height: 2px; margin: -2px 12px 0 0; background: currentColor; }
.label--dark { color: var(--amber); }

/* ---------- Первый экран ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0 clamp(80px, 9vw, 128px);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(640px 420px at 82% 18%, rgba(245, 165, 36, .16), transparent 62%),
    radial-gradient(900px 640px at 0% 110%, rgba(56, 92, 150, .38), transparent 62%);
}
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 65% 35%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 70% at 65% 35%, #000 25%, transparent 78%);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.hero__title {
  margin: 0 0 24px;
  font-size: clamp(2.15rem, 1.15rem + 3.2vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: -.034em;
}
.hero__title .accent { color: var(--amber); }
.hero__lead {
  max-width: 36em;
  font-size: clamp(1.05rem, .98rem + .35vw, 1.22rem);
  color: var(--on-ink-muted);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__badge {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 7px 18px 7px 7px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  font-size: 14px;
  line-height: 1.35;
  color: var(--on-ink-muted);
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.hero__badge:hover { border-color: rgba(245, 165, 36, .6); background: rgba(245, 165, 36, .08); }
.hero__badge b { color: #fff; font-weight: 700; }
.hero__badge-icon { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--amber); color: var(--ink); display: grid; place-items: center; }
.hero__badge-icon svg { width: 19px; height: 19px; }
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 40px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--ink-line);
}
.hero__stats dt { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.hero__stats dd { margin: 6px 0 0; font-size: 14px; line-height: 1.45; color: var(--on-ink-muted); }

/* Карточка «дела» */
.hero__visual { position: relative; padding: 34px 0 48px; }
.case-card {
  position: relative;
  z-index: 1;
  padding: 22px;
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.case-card__head { display: flex; align-items: center; gap: 14px; padding: 2px 4px 18px; border-bottom: 1px solid var(--line); }
.case-card__badge { flex: none; width: 44px; height: 44px; border-radius: 13px; background: var(--ink); color: var(--amber); display: grid; place-items: center; }
.case-card__badge svg { width: 22px; height: 22px; }
.case-card__heading { min-width: 0; }
.case-card__title { font-weight: 800; font-size: 16px; line-height: 1.3; }
.case-card__meta { font-size: 13px; color: var(--muted); line-height: 1.35; }
.status {
  margin-left: auto;
  flex: none;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: #8A4E00;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .4s, color .4s;
}
.status.is-ready { background: #E2F5EC; color: #0F7349; }

.steps { list-style: none; margin: 12px 0 0; padding: 0; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 14px;
  padding: 9px 10px;
  border-radius: 14px;
  transition: background .4s;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 37px;
  bottom: -7px;
  width: 2px;
  background: var(--line);
}
.step.is-done:not(:last-child)::after { background: #BFE4D2; }
.step b { display: block; font-size: 15px; line-height: 1.35; }
.step small { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); }
.step__dot {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  border: 2px solid var(--line-2);
  background: #fff;
  color: #fff;
  display: grid;
  place-items: center;
  transition: background .35s, border-color .35s, box-shadow .35s;
}
.step__dot svg { width: 13px; height: 13px; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .35s var(--ease); }
.step.is-done .step__dot { background: var(--green); border-color: var(--green); }
.step.is-done .step__dot svg { opacity: 1; transform: none; }
.step.is-active { background: #FFF8EA; }
.step.is-active .step__dot { border-color: var(--amber); box-shadow: 0 0 0 5px rgba(245, 165, 36, .18); }
.step.is-active .step__dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 1.4s ease-in-out infinite;
}
.progress { display: none; height: 6px; margin-top: 9px; border-radius: 99px; background: #F3E6CB; overflow: hidden; }
.step.is-active .progress { display: block; }
.progress span { display: block; height: 100%; width: var(--p, 64%); border-radius: inherit; background: var(--amber); transition: width .5s linear; }
.case-card__foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 16px 4px 2px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
}
.case-card__ok { color: var(--green-text); }

.float-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 290px;
  padding: 12px 16px 12px 12px;
  border-radius: 16px;
  background: rgba(21, 37, 60, .94);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: float 7s ease-in-out infinite;
}
.float-chip b { display: block; font-size: 14px; line-height: 1.3; }
.float-chip small { display: block; font-size: 12px; line-height: 1.35; color: var(--on-ink-muted); }
.float-chip__icon { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--amber); color: var(--ink); }
.float-chip__icon svg { width: 20px; height: 20px; }
.float-chip__icon--light { background: #fff; }
.float-chip--ai { top: 0; right: -22px; }
.float-chip--deadline { bottom: 0; left: -40px; animation-delay: -3.5s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.55); opacity: .6; } }

/* ---------- Разделы ---------- */
.section { padding: clamp(76px, 9vw, 128px) 0; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #fff; }
.section__head { max-width: 940px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
}
.section__lead { margin-top: 18px; max-width: 40em; font-size: 1.125rem; color: var(--muted); }
.section__head--split .section__lead { margin-top: 0; }
.section--ink .section__lead { color: var(--on-ink-muted); }

/* Список с «скобкой» вместо маркера */
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 26px; line-height: 1.5; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: .5em;
  width: 8px;
  height: 8px;
  border-right: 2.5px solid var(--amber);
  border-bottom: 2.5px solid var(--amber);
  transform: rotate(-45deg);
}

/* ---------- Решения ---------- */
.solutions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sol-card {
  position: relative;
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.sol-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.sol-card__top { display: flex; align-items: center; justify-content: space-between; }
.sol-card__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--ink); color: var(--amber); display: grid; place-items: center; }
.sol-card__icon svg { width: 28px; height: 28px; }
.sol-card__num { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--muted); }
.sol-card h3 { margin: 26px 0 8px; font-size: clamp(1.45rem, 1.2rem + .7vw, 1.75rem); }
.sol-card > p { color: var(--muted); }

/* ---------- Возможности ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.feature {
  padding: 32px 28px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .3s;
}
.feature:hover { background: var(--paper); }
.feature__icon { width: 48px; height: 48px; margin-bottom: 22px; border-radius: 14px; background: var(--amber-soft); color: var(--ink); display: grid; place-items: center; }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: 8px; font-size: 1.125rem; letter-spacing: -.01em; }
.feature p { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* ---------- Почему мы ---------- */
.why { position: relative; overflow: hidden; }
.why__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: center; }
.why__text p:not(.label) { margin-top: 22px; max-width: 34em; font-size: 1.15rem; color: var(--on-ink-muted); }
.why__symbol svg { width: min(340px, 78%); margin: 0 auto; overflow: visible; }
.chev { transition: transform 1.4s var(--ease); transform-box: fill-box; }
.chev--l { fill: #fff; }
.chev--r { fill: var(--amber); }
.js .why__symbol:not(.is-visible) .chev--l { transform: translateX(-34%); }
.js .why__symbol:not(.is-visible) .chev--r { transform: translateX(34%); }
.reasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: clamp(56px, 7vw, 88px); }
.reason {
  padding: 30px 28px;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  background: var(--ink-2);
  transition: border-color .3s, background .3s;
}
.reason:hover { border-color: rgba(245, 165, 36, .45); background: var(--ink-3); }
.reason svg { width: 30px; height: 30px; margin-bottom: 20px; color: var(--amber); }
.reason h3 { margin-bottom: 10px; font-size: 1.15rem; letter-spacing: -.01em; }
.reason p { font-size: 15px; line-height: 1.55; color: var(--on-ink-muted); }

/* ---------- Как работаем ---------- */
.process {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}
.process::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 28px;
  right: calc((100% - 96px) / 5 - 28px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px);
}
.process__num {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  margin-bottom: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: #fff;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  transition: background .3s, color .3s, border-color .3s;
}
.process__step:hover .process__num,
.process__step:first-child .process__num { background: var(--ink); border-color: var(--ink); color: var(--amber); }
.process h3 { margin-bottom: 10px; font-size: 1.2rem; }
.process p { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* ---------- О компании ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.about__text p + p { margin-top: 20px; }
.about__text p { font-size: 1.1rem; color: var(--muted); }
.about__text .about__lead { color: var(--text); font-size: 1.25rem; line-height: 1.55; }
.about__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fact {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 176px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--paper);
}
.fact b { font-size: clamp(1.9rem, 1.35rem + 1.5vw, 2.7rem); line-height: 1; letter-spacing: -.035em; }
.fact span { margin-top: 18px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.fact--ink { background: var(--ink); color: #fff; }
.fact--ink b { color: var(--amber); }
.fact--ink span { color: var(--on-ink-muted); }

/* Аккредитация Минцифры */
.accr {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 24px 40px;
  align-items: center;
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}
.accr::before {
  content: "";
  position: absolute;
  right: -160px;
  top: -220px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(245, 165, 36, .14), transparent);
  pointer-events: none;
}
.accr > * { position: relative; }
.accr__icon { width: 64px; height: 64px; border-radius: 18px; background: var(--amber); color: var(--ink); display: grid; place-items: center; }
.accr__icon svg { width: 34px; height: 34px; }
.accr h3 { margin-bottom: 10px; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); }
.accr__body p { font-size: 15.5px; line-height: 1.6; color: var(--on-ink-muted); }
.accr__meta { margin: 0; padding-left: 32px; border-left: 1px solid var(--ink-line); display: grid; gap: 16px; }
.accr__meta dt { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--amber); }
.accr__meta dd { margin: 4px 0 0; font-size: 15px; line-height: 1.5; color: var(--on-ink); }

/* ---------- История ---------- */
.timeline { list-style: none; margin: 0; padding: 0; }
.tl {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) minmax(0, 300px);
  gap: 10px 48px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid var(--line-2);
}
.tl__year { font-family: var(--mono); font-size: 17px; font-weight: 700; line-height: 1.6; }
.tl__text { max-width: 44em; }
.tl__tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; padding-top: 2px; }
.tl--accent {
  margin: -1px calc(var(--gutter) * -.75) 0;
  padding: 30px calc(var(--gutter) * .75);
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}
.tl--accent .tl__year { color: var(--amber); }
.tl--accent .tl__text { color: var(--on-ink); font-size: 1.1rem; }
.tl--accent .tl__text strong { color: #fff; }
.tag {
  padding: 4px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
}
.tag--tech { font-family: var(--mono); font-weight: 500; background: transparent; color: var(--muted); }
.tag--accent { background: var(--amber); border-color: var(--amber); color: var(--ink); }

/* ---------- Заказная разработка ---------- */
.services { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(40px, 6vw, 72px); align-items: start; }
.ticks--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; margin-top: 34px; }
.stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.chip {
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
}
.price-card {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}
.price { margin: 6px 0 18px; font-size: clamp(2.3rem, 1.8rem + 1.6vw, 3.2rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; white-space: nowrap; }
.price small { display: block; margin-top: 10px; font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--on-ink-muted); }
.price-card p:not(.label) { font-size: 15px; color: var(--on-ink-muted); }
.price-card .price-card__note { margin-top: 14px; font-size: 13px; color: #8C98AB; }
.price-card .btn { width: 100%; margin-top: 28px; }

/* ---------- Контакты и форма ---------- */
.contact { position: relative; overflow: hidden; }
.contact::before {
  content: "";
  position: absolute;
  right: -240px;
  bottom: -320px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(56, 92, 150, .32), transparent);
  pointer-events: none;
}
.contact__grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact__info > p:not(.label) { margin-top: 22px; font-size: 1.125rem; color: var(--on-ink-muted); }
.contact__list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 22px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__list svg {
  flex: none;
  width: 46px;
  height: 46px;
  padding: 12px;
  border: 1px solid var(--ink-line);
  border-radius: 13px;
  background: var(--ink-2);
  color: var(--amber);
}
.contact__list small { display: block; font-size: 13px; color: var(--on-ink-muted); }
.contact__list a { font-size: 1.2rem; font-weight: 700; color: #fff; text-decoration: none; }
.contact__list a:hover { color: var(--amber); }

.form {
  position: relative;
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.form__title { margin-bottom: 22px; font-size: 1.45rem; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 700; }
.field label .req { color: var(--amber-text); }
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230F1B2D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  cursor: pointer;
}
.field textarea { min-height: 116px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--amber);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(245, 165, 36, .2);
}
.field.is-invalid input { border-color: var(--red); background: #FDF3F2; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 22px; font-size: 13.5px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); cursor: pointer; }
.check a { color: var(--ink); text-underline-offset: 2px; }
.check.is-invalid { color: var(--red); }
.form__status { min-height: 1.5em; margin-top: 14px; font-size: 14px; line-height: 1.5; }
.form__status.is-error { color: var(--red); }
.form__status a { color: inherit; font-weight: 700; }
.form__success { display: none; padding: 32px 0 16px; text-align: center; outline: none; }
.form__success-icon { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: #E2F5EC; color: var(--green); display: grid; place-items: center; }
.form__success-icon svg { width: 30px; height: 30px; }
.form__success h3 { margin-bottom: 10px; font-size: 1.5rem; }
.form__success p { color: var(--muted); }
.form.is-sent .form__body { display: none; }
.form.is-sent .form__success { display: block; }

/* ---------- Подвал ---------- */
.footer { padding: 64px 0 32px; background: var(--ink-deep); color: var(--on-ink-muted); font-size: 14px; line-height: 1.6; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .6fr) minmax(0, 1.2fr); gap: 48px; }
.logo--footer { height: 26px; margin-bottom: 18px; color: #fff; }
.footer__brand p { max-width: 30em; }
.footer__nav { display: grid; gap: 10px; align-content: start; }
.footer__nav a, .footer__req a { color: var(--on-ink); text-decoration: none; }
.footer__nav a:hover, .footer__req a:hover { color: var(--amber); }
.footer__req p + p { margin-top: 8px; }
.footer__req b { color: #fff; font-size: 15px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-line);
  font-size: 13px;
}
.footer__bottom a { color: inherit; text-underline-offset: 3px; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Появление при прокрутке ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Текстовые страницы (политика, согласие, 404) ---------- */
.page { padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(64px, 8vw, 112px); background: var(--white); }
.page__inner { max-width: 820px; }
.page h1 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); letter-spacing: -.03em; margin-bottom: 12px; }
.page__meta { color: var(--muted); font-size: 15px; margin-bottom: 40px; }
.page h2 { font-size: 1.35rem; letter-spacing: -.015em; margin: 40px 0 14px; }
.page p, .page li { color: #2E3746; }
.page p + p { margin-top: 12px; }
.page ul, .page ol { margin: 12px 0 0; padding-left: 22px; }
.page li + li { margin-top: 6px; }
.page a { color: var(--amber-text); text-underline-offset: 3px; }
.page__card { margin-top: 24px; padding: 24px 28px; border-radius: var(--radius-md); background: var(--paper); }
.page__back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; font-weight: 700; text-decoration: none; color: var(--ink); }
.page__back svg { width: 18px; height: 18px; transform: rotate(180deg); }

.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px 0 80px; background: var(--ink); color: #fff; }
.notfound svg.notfound__x { width: 120px; margin: 0 auto 32px; }
.notfound h1 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); margin-bottom: 14px; }
.notfound p { color: var(--on-ink-muted); margin-bottom: 32px; }

/* ==========================================================================
   Адаптивность
   ========================================================================== */
@media (max-width: 1180px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 44px; }
  .process::before { display: none; }
  .float-chip--ai { right: -8px; }
  .float-chip--deadline { left: -16px; }
}

@media (max-width: 1024px) {
  .nav { gap: 20px; }
  .nav a { font-size: 14px; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }

  /* мобильное меню */
  .header__cta { display: none; }
  .burger {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 44px;
    height: 44px;
    margin: 0 -10px 0 auto;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
  }
  .burger span { display: block; width: 24px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), background .3s; }
  .nav-open .burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav-open .burger span:last-child { transform: translateY(-4.5px) rotate(-45deg); background: var(--amber); }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 16px var(--gutter) 32px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    background: var(--ink);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
  }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--ink-line); font-size: 20px; font-weight: 700; opacity: 1; }
  .nav .nav__cta { display: inline-flex; margin-top: 28px; padding: 0 26px; border: 0; font-size: 16px; }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease); }
  .nav-open .header { background: var(--ink); color: #fff; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-open body { overflow: hidden; }

  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 520px; width: 100%; margin: 0 auto; }
  .float-chip--ai { right: 0; }
  .float-chip--deadline { left: 0; }
  .section__head--split { grid-template-columns: minmax(0, 1fr); }
  .why__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .why__symbol svg { width: min(240px, 60%); }
  .about { grid-template-columns: minmax(0, 1fr); }
  .tl { grid-template-columns: 130px minmax(0, 1fr); }
  .tl__tags { grid-column: 2; justify-content: flex-start; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .accr { grid-template-columns: auto minmax(0, 1fr); }
  .accr__meta { grid-column: 1 / -1; padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--ink-line); }
  .price-card { position: static; }
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .solutions { grid-template-columns: minmax(0, 1fr); }
  .features { grid-template-columns: minmax(0, 1fr); }
  .feature { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 0 18px; padding: 24px 20px; }
  .feature__icon { grid-row: span 2; margin: 0; }
  .reasons { grid-template-columns: minmax(0, 1fr); }
  .process { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .process__step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 20px; padding-bottom: 32px; }
  .process__step:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 60px; bottom: 4px; width: 2px; background: repeating-linear-gradient(180deg, var(--line-2) 0 8px, transparent 8px 14px); }
  .process__num { grid-row: span 2; margin: 0; }
  .process h3 { margin-top: 14px; }
  .ticks--cols { grid-template-columns: minmax(0, 1fr); }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}

@media (max-width: 520px) {
  .hero__actions .btn { width: 100%; }
  .hero__badge { font-size: 13px; padding-right: 14px; }
  .accr { grid-template-columns: minmax(0, 1fr); }
  .accr__icon { width: 56px; height: 56px; }
  .hero__stats { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hero__stats > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; align-items: baseline; }
  .hero__stats dd { margin: 0; }
  .hero__visual { padding: 58px 0 60px; }
  .case-card { padding: 16px; border-radius: 20px; }
  .case-card__head { gap: 12px; }
  .case-card__badge { width: 40px; height: 40px; }
  .step { padding: 8px 6px; gap: 12px; }
  .step:not(:last-child)::after { left: 17px; }
  .float-chip { max-width: 270px; padding: 10px 14px 10px 10px; }
  .float-chip--ai { top: 0; right: 0; }
  .float-chip--deadline { bottom: 0; left: 0; }
  .about__facts { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .fact { min-height: 0; padding: 22px 22px 24px; }
  .fact span { margin-top: 10px; }
  .tl { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 22px 0; }
  .tl__tags { grid-column: auto; }
  .tl--accent { margin: 8px 0 0; padding: 22px 18px; }
}

/* Уважение к настройке «уменьшить движение» */
@media (prefers-reduced-motion: reduce) {
  html, html.is-smooth { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
}
