/* =========================================================================
   BizDNAi — лендинг «Цифровая бухгалтерия» (bizdnai.com/buh)
   Палитра — фирменная гамма 1С: жёлтый + тёмно-красный.
   ВСЕ цвета живут здесь, в переменных. Менять палитру — только тут.
   ========================================================================= */

:root {
  /* --- Фирменная гамма 1С --- */
  --yellow:        #FFD200;   /* основной жёлтый: кнопки, акценты, плашки */
  --yellow-dark:   #E6BC00;   /* жёлтый для hover/нажатия */
  --yellow-soft:   #FFF8D6;   /* светло-жёлтый фон для чередования блоков */
  --red:           #DA1F26;   /* тёмно-красный 1С: точечно — бейджи, иконки */
  --red-dark:      #B0181E;
  --ink:           #1A1A1A;   /* текст */
  --ink-soft:      #4A4A4A;   /* второстепенный текст */
  --ink-mute:      #6E6E6E;   /* подписи, дисклеймеры */
  --bg:            #FFFFFF;
  --card:          #F2F2F2;   /* серые карточки */
  --line:          #E4E4E4;
  --ok:            #1F8A4C;
  --warn:          #C77700;
  /* Смешанная палитра (решение владельца 28.10): жёлтый 1С — основа,
     бирюзовый BizDNAi — «цифровое и ИИ», тёмный BizDNAi — шапка и подвал. */
  --brand-cyan:    #00D4FF;
  --brand-cyan-dk: #0099CC;
  --brand-dark:    #031018;

  /* --- Типографика и сетка --- */
  --font: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(26, 26, 26, .08);
  --shadow-lg: 0 14px 44px rgba(26, 26, 26, .14);
  --gap: 24px;
}

/* ------------------------------- Сброс ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4.6vw, 52px); }
h2 { font-size: clamp(25px, 3.4vw, 38px); }
h3 { font-size: clamp(18px, 2vw, 21px); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
  border-radius: 4px;
}

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

/* ------------------------------ Каркас ---------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}
.wrap--narrow { max-width: 820px; }

.section { padding: clamp(48px, 7vw, 92px) 0; }
.section--tint { background: var(--yellow-soft); }

.sec-head { max-width: 760px; margin: 0 0 clamp(28px, 4vw, 44px); }
.sec-sub { font-size: 18px; color: var(--ink-soft); margin: 0; }

/* ------------------------------ Кнопки ---------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Жёлтая кнопка с чёрным текстом — контраст ~13:1, выше AA */
.btn--primary { background: var(--yellow); color: var(--ink); box-shadow: 0 4px 14px rgba(255, 210, 0, .45); }
.btn--primary:hover { background: var(--yellow-dark); }

.btn--wa { background: var(--ink); color: #fff; }
.btn--wa:hover { background: #000; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }

.btn--lg { padding: 16px 30px; font-size: 17px; }
.btn--sm { padding: 10px 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }

.ico { width: 20px; height: 20px; flex: 0 0 auto; }

.badge {
  display: inline-block;
  margin: 0 0 16px;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}
.badge--red { background: var(--red); color: #fff; }

/* ------------------------------ Шапка ----------------------------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.logo__img { width: 36px; height: 36px; border-radius: 9px; }
.logo__text strong { color: var(--red); }

.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a {
  text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink-soft);
  padding: 6px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--yellow); }

.header__cta { margin-left: 4px; }

.burger { display: none; margin-left: auto; width: 44px; height: 44px; padding: 11px; background: none; border: 0; cursor: pointer; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------------------------- Первый экран ------------------------------ */
.hero {
  position: relative;
  padding: clamp(36px, 6vw, 76px) 0 clamp(44px, 6vw, 84px);
  background:
    radial-gradient(1100px 460px at 88% -10%, rgba(255, 210, 0, .55), transparent 62%),
    linear-gradient(180deg, var(--yellow-soft) 0%, #fff 78%);
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero__sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); max-width: 62ch; }

.hero__points { margin: 0 0 28px; display: grid; gap: 11px; }
.hero__points li { position: relative; padding-left: 32px; font-size: 16px; }
.hero__points li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--yellow);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.hero__points li::after {
  content: ""; position: absolute; left: 6px; top: 10px;
  width: 8px; height: 4px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
.hero__note { font-size: 14px; color: var(--ink-mute); margin: 0; }

.hero__media { position: relative; }
.shot { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--card); }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.hero__chip {
  position: absolute; display: flex; align-items: center; gap: 9px;
  background: #fff; border-radius: 999px; padding: 10px 16px;
  font-size: 14px; font-weight: 600; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.hero__chip--1 { top: 20px; left: -14px; }
.hero__chip--2 { bottom: 22px; right: -14px; }

.dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.dot--ok { background: var(--ok); }
.dot--warn { background: var(--warn); }

/* --------------------------- Боли → решения ----------------------------- */
.pains { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: var(--gap); }

.pain {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
  align-content: start;
}
.pain__row { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.pain__row p { margin: 0; font-size: 16px; }
.pain__mark { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px; flex: 0 0 auto; }
.pain__was .pain__mark { background: #FBE3E4; color: var(--red); }
.pain__now .pain__mark { background: var(--yellow); color: var(--ink); }
.pain__was p { color: var(--ink-mute); }
.pain__now p { font-weight: 600; }
.pain__arrow { height: 1px; background: var(--line); position: relative; }
.pain__arrow::after {
  content: ""; position: absolute; right: 0; top: -4px;
  border-left: 7px solid var(--yellow); border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent;
}

/* ------------------------------- Карточки ------------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--gap); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .4em; }
.card p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.card--accent { border-color: var(--yellow); background: linear-gradient(180deg, #FFFDF2, #fff); }
.card--accent .card__ico { background: var(--yellow); }

.card__ico {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: var(--yellow-soft); color: var(--red);
}
.card__ico svg { width: 26px; height: 26px; }

/* ----------------------------- Интеграции ------------------------------- */
.integrations { margin-top: clamp(34px, 5vw, 56px); text-align: center; }
.integrations__title { font-size: 20px; margin-bottom: 20px; }
.integrations__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.integrations__list li {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 20px; font-weight: 600; font-size: 15px; box-shadow: var(--shadow);
}
.integrations__list img { width: 26px; height: 26px; object-fit: contain; }
.integrations__note { margin: 20px 0 0; font-size: 15px; color: var(--ink-mute); }

/* -------------------------------- Шаги ---------------------------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: var(--gap); counter-reset: step; }
.step {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px 22px; box-shadow: var(--shadow);
}
.step__num {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--yellow); color: var(--ink);
  font-weight: 800; font-size: 19px; margin-bottom: 14px;
}
.step h3 { font-size: 18px; margin-bottom: .35em; }
.step p { margin: 0; font-size: 15px; color: var(--ink-soft); }

/* ---------------------------- Ассистент --------------------------------- */
.assistant { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.assistant__text p { color: var(--ink-soft); }

.ticks { display: grid; gap: 11px; margin: 0 0 26px; }
.ticks li { position: relative; padding-left: 30px; font-size: 16px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 5px;
  width: 18px; height: 18px; border-radius: 5px; background: var(--yellow);
}
.ticks li::after {
  content: ""; position: absolute; left: 5px; top: 10px;
  width: 8px; height: 4px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}
.ticks--red li::before { background: var(--red); }
.ticks--red li::after { border-color: #fff; }

.assistant__media { position: relative; }
.shot--chat img { aspect-ratio: 13 / 16; object-fit: cover; }

/* Макет диалога — показывается, если картинки нет */
.chatmock {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.chatmock__head {
  display: flex; align-items: center; gap: 9px;
  padding: 14px 18px; background: var(--yellow); font-weight: 700; font-size: 15px;
}
.chatmock__body { padding: 18px; display: grid; gap: 12px; background: #FAFAFA; }
.msg { margin: 0; padding: 12px 15px; border-radius: 14px; font-size: 15px; max-width: 88%; }
.msg--out { background: var(--yellow-soft); border: 1px solid #F0E4A8; justify-self: end; border-bottom-right-radius: 4px; }
.msg--in { background: #fff; border: 1px solid var(--line); justify-self: start; border-bottom-left-radius: 4px; }

/* ------------------------------- Аудит ---------------------------------- */
.audit { background: linear-gradient(180deg, #fff 0%, var(--yellow-soft) 100%); }
.audit__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.audit__text p { color: var(--ink-soft); }

/* -------------------------------- Форма --------------------------------- */
.form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-lg);
  display: grid; gap: 15px;
}
.form__title { margin: 0 0 4px; font-size: 22px; }

.field { display: grid; gap: 6px; }
.field label { font-size: 15px; font-weight: 600; }
.req { color: var(--red); }

.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--yellow-dark); box-shadow: 0 0 0 3px rgba(255, 210, 0, .35);
}
.field input::placeholder, .field textarea::placeholder { color: #9A9A9A; }
.field--error input, .field--error select, .field--error textarea { border-color: var(--red); box-shadow: 0 0 0 3px rgba(218, 31, 38, .12); }

.field__err { font-size: 13.5px; color: var(--red); min-height: 0; }
.field__err:empty { display: none; }

/* Ловушка: скрыта от людей, но не display:none (боты видят поле) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 14.5px; color: var(--ink-soft); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--yellow-dark); }
.check a { color: var(--red); }

.form__hint { margin: 0; font-size: 13.5px; color: var(--ink-mute); }
.form__status { margin: 0; font-size: 15px; font-weight: 600; }
.form__status--ok { color: var(--ok); }
.form__status--err { color: var(--red); }

.form--sent { text-align: center; }
.form--sent .form__title { color: var(--ok); }

/* ------------------------------- Тарифы --------------------------------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: var(--gap); align-items: stretch; }

.plan {
  position: relative;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 14px;
}
.plan--featured { border-color: var(--yellow); box-shadow: var(--shadow-lg); }
.plan__flag {
  position: absolute; top: -13px; left: 24px;
  background: var(--red); color: #fff; font-size: 12.5px; font-weight: 700;
  padding: 5px 13px; border-radius: 999px; letter-spacing: .02em;
}
.plan h3 { font-size: 22px; margin: 0; }
.plan__for { margin: 0; font-size: 15px; color: var(--ink-mute); }
.plan__price { font-size: 26px; font-weight: 800; color: var(--ink); margin: 4px 0 0; }
.plan__price small { display: block; font-size: 14px; font-weight: 600; color: var(--ink-mute); }
.plan ul { display: grid; gap: 10px; margin: 6px 0 0; }
.plan li { position: relative; padding-left: 28px; font-size: 15.5px; color: var(--ink-soft); }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 5px;
  width: 17px; height: 17px; border-radius: 5px; background: var(--yellow);
}
.plan li::after {
  content: ""; position: absolute; left: 5px; top: 10px;
  width: 7px; height: 4px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}
.plan .btn { margin-top: auto; }

.plans__note { text-align: center; margin: 26px 0 0; font-size: 15px; color: var(--ink-mute); }

/* --------------------------- Разовые услуги ----------------------------- */
.oneoff { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 12px 28px; margin-bottom: 30px; }
.oneoff li {
  position: relative; padding: 14px 16px 14px 46px;
  background: var(--card); border-radius: var(--radius-sm); font-size: 16px;
}
.oneoff li::before {
  content: ""; position: absolute; left: 16px; top: 19px;
  width: 16px; height: 16px; border-radius: 50%; background: var(--yellow);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.oneoff__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ------------------------------ Почему мы ------------------------------- */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); }
.why__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.why__item h3 { margin-bottom: .4em; }
.why__item p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* ------------------------------- Отзывы --------------------------------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--gap); }

.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 16px;
}
.review__text { margin: 0; font-size: 16px; color: var(--ink-soft); font-style: italic; }
.review__who { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.review__ava { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; background: var(--yellow-soft); flex: 0 0 auto; }
.review__name { font-weight: 700; font-size: 16px; }
.review__role { font-size: 14px; color: var(--ink-mute); }
.review--stub { border-style: dashed; background: #FFFDF6; }
.review--stub .review__text { font-style: normal; color: var(--ink-mute); }

/* --------------------------------- FAQ ---------------------------------- */
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; background: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 17px; text-align: left; color: var(--ink);
  list-style: none;   /* убираем штатный треугольник <summary> */
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { background: #FFFDF2; }
.faq__ico { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-size: 19px; font-weight: 800; line-height: 1; transition: transform .2s; }
.faq__item[open] .faq__ico { transform: rotate(45deg); }
.faq__a { padding: 0 20px 20px; color: var(--ink-soft); font-size: 16px; }
.faq__a p { margin: 0; }

/* ------------------------------ Финал ----------------------------------- */
.final { background: linear-gradient(160deg, var(--yellow-soft) 0%, #fff 55%); }
.final__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.final__text p { color: var(--ink-soft); }

.contacts { display: grid; gap: 16px; margin: 0 0 28px; }
.contacts li { display: grid; gap: 2px; }
.contacts__label { font-size: 13.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-mute); font-weight: 700; }
.contacts a { font-size: 20px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--yellow); width: fit-content; }
.contacts a:hover { border-bottom-color: var(--red); }

/* ------------------------------- Подвал --------------------------------- */
.footer { background: var(--ink); color: #E8E8E8; padding: clamp(36px, 5vw, 56px) 0 24px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer .logo { color: #fff; }
.footer__brand p { margin: 14px 0 0; font-size: 15px; color: #B8B8B8; max-width: 34ch; }
.footer__col h4 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--yellow); margin-bottom: 14px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { text-decoration: none; font-size: 15px; color: #D8D8D8; }
.footer__col a:hover { color: var(--yellow); }

.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  margin-top: 36px; padding-top: 20px; border-top: 1px solid #333;
  font-size: 13.5px; color: #9A9A9A;
}
.footer__bottom p { margin: 0; }

/* --------------------------- Плавающая кнопка --------------------------- */
.fab {
  position: fixed; right: 18px; bottom: 43px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--ink); color: #fff; display: none; place-items: center;
  box-shadow: var(--shadow-lg);
}
.fab svg { width: 30px; height: 30px; }
.fab:hover { background: #000; }

/* ------------------------------ Заглушки -------------------------------- */
.stub {
  display: grid; place-items: center; gap: 6px; text-align: center;
  background: repeating-linear-gradient(45deg, #FAFAFA, #FAFAFA 12px, #F2F2F2 12px, #F2F2F2 24px);
  border: 1px dashed #C9C9C9; border-radius: var(--radius);
  color: var(--ink-mute); padding: 28px 18px; min-height: 200px;
}
.stub__name { font-weight: 700; color: var(--ink-soft); font-size: 15px; word-break: break-all; }
.stub__size { font-size: 13.5px; }
.stub__hint { font-size: 13px; max-width: 30ch; }

/* ------------------------------- Адаптив -------------------------------- */
@media (max-width: 1024px) {
  .hero__inner, .assistant, .audit__inner, .final__inner { grid-template-columns: 1fr; }
  .assistant__media { order: -1; max-width: 460px; }
  .hero__chip--1 { left: 8px; }
  .hero__chip--2 { right: 8px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 8px 20px 16px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a:last-child { border-bottom: 0; }
  .burger { display: flex; }
  .header__cta { display: none; }
  .fab { display: grid; }
  .hero__chip { display: none; }
  .footer__inner { grid-template-columns: 1fr; gap: 26px; }
  .footer__bottom { flex-direction: column; }
}

@media (max-width: 560px) {
  .section { padding: 44px 0; }
  .hero__actions .btn { width: 100%; }
  .btn { white-space: normal; text-align: center; }
  .oneoff li { padding-left: 42px; }
  .plan__flag { left: 18px; }
}

/* Печать и «уменьшенная анимация» */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .btn:hover { transform: none; }
}
/* --- смешанная палитра BizDNAi --- */
.header, header.header, .site-header { background: var(--brand-dark) !important; color: #fff; }
.header a, .site-header a { color: #fff; }
footer, .footer { background: var(--brand-dark) !important; color: #cfd8dc; }
footer a, .footer a { color: var(--brand-cyan); }
#assistant, .assistant, #integrations, .integrations, #audit, .audit { --accent-digital: var(--brand-cyan); }
#assistant h2, #integrations h2, #audit h2 { background: linear-gradient(90deg, var(--ink), var(--brand-cyan-dk)); -webkit-background-clip: text; background-clip: text; color: transparent; }
#assistant .icon, #integrations .icon, #audit .icon, .badge--digital { color: var(--brand-cyan-dk); }

.pain__row { position: relative; padding-top: 18px; }
.pain__row::before { content: attr(data-label); position: absolute; top: 0; left: 38px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pain__was::before { color: var(--red); }
.pain__now::before { color: var(--brand-cyan-dk); }

.review--case .review__name { font-weight: 800; font-size: 17px; }
.review--case .review__role { color: var(--brand-cyan-dk); font-weight: 600; margin: 4px 0 10px; font-size: 14px; }

.personas { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--gap); }
.persona { background: var(--bg); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); text-align: center; }
.persona img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--yellow); margin-bottom: 12px; }
.persona h3 { margin: 0 0 8px; font-size: 18px; }
.persona p { margin: 0; color: var(--ink-soft); font-size: 15px; }

.section--soft { background: var(--yellow-soft); }
/* Мобильное меню под тёмной шапкой: пункты белые (правило выше), поэтому и
   выпадающая панель тёмная, а значок меню белый. Иначе меню на телефоне
   открывалось пустым — белое на белом (31.10.2026). */
@media (max-width: 860px) {
  .header .nav { background: var(--brand-dark); border-bottom-color: rgba(255,255,255,.12); }
  .header .nav a { border-bottom-color: rgba(255,255,255,.12); }
  .header .burger span { background: #fff; }
}
