/* Главная по макетам Figma 2026 («Главная DNA Team v8»). Подключается только на «/» (см. include/template.php).
   Префикс hn-. Размеры, межстрочные интервалы, трекинг и отступы сняты с панели свойств Figma (кадры 1440 и 390).
   Десктоп ≥1200 (кадр 1440) → планшет 768–1199 (интерполяция) → мобильная ≤767 (кадр 390). Шрифт Manrope (fonts/manrope). */

body.dna-page--hn {
  --hn-red: #eb3131;
  --hn-red-d: #d92323;
  --hn-red-text: #e82e2e;
  --hn-black: #141414;
  --hn-text: #141414;
  --hn-card: #f5f5f5;
  --hn-line: #e0e0e0;
  --hn-pad: 80px;
  margin: 0;
  background: #fff;
  color: var(--hn-text);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.dna-page--hn .hn,
.dna-page--hn .hn *,
.dna-page--hn .hn *::before,
.dna-page--hn .hn *::after,
.dna-page--hn .hn-header,
.dna-page--hn .hn-header *,
.dna-page--hn .hn-modal,
.dna-page--hn .hn-modal *,
.dna-page--hn .hn-footer,
.dna-page--hn .hn-footer * {
  box-sizing: border-box;
}

:where(.hn) :is(h1, h2, h3, p, ul, blockquote, figure) { margin: 0; padding: 0; }
:where(.hn) ul { list-style: none; }
:where(.hn) a { color: inherit; }
:where(.hn) img { display: block; max-width: 100%; height: auto; }
:where(.hn) :is(button, input, textarea) { font: inherit; color: inherit; }
.hn-red { color: var(--hn-red-text); }
.hn-visually { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hn-mbr { display: none; }

.hn { overflow-x: clip; }
.hn-wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: var(--hn-pad); padding-right: var(--hn-pad); }

.hn-i { width: 20px; height: 20px; flex: none; }

/* ---------- Кнопки (общая основа; размеры - у вариантов) ---------- */
.hn-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 15px 25px; border: 1px solid transparent; border-radius: 80px;
  font-size: 16px; font-weight: 500; line-height: 22px; text-align: center; text-decoration: none;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.hn-btn--red { background: var(--hn-red); border-color: var(--hn-red); color: #fff; }
.hn-btn--red:hover { background: var(--hn-red-d); border-color: var(--hn-red-d); }
.hn-btn--ghost { background: transparent; border-color: #fff; color: #fff; }
.hn-btn--ghost:hover { background: #fff; color: var(--hn-black); }
.hn-btn--line { background: transparent; border-color: #999; color: var(--hn-text); }
.hn-btn--line:hover { border-color: var(--hn-text); }
.hn-btn:focus-visible, .hn a:focus-visible, .hn button:focus-visible, .hn-header a:focus-visible, .hn-modal button:focus-visible, .hn-modal a:focus-visible {
  outline: 2px solid var(--hn-red); outline-offset: 3px;
}

/* ---------- Заголовки (кегль / интерлиньяж / трекинг по макету) ---------- */
.hn-h2 { font-weight: 500; letter-spacing: -.5px; }
.hn-h2--ai, .hn-h2--dir { font-size: 44px; line-height: 50px; }
.hn-h2--ind { font-size: 55px; line-height: 55px; min-height: 75px; }
.hn-h2--ib, .hn-h2--cost, .hn-h2--team { font-size: 46px; line-height: 46px; }
.hn-h2--rate { font-size: 55px; line-height: 55px; letter-spacing: -1px; }
.hn-h2--cases { font-size: 55px; line-height: 55px; text-align: center; }
.hn-h2--founders { font-size: 55px; line-height: 1.3; }
.hn-h2--rev { font-size: 46px; line-height: 46px; letter-spacing: -1.38px; }
.hn-h2--media { font-size: 46px; line-height: 46px; letter-spacing: 0; }
.hn-h2--faq { font-size: 44px; line-height: 1.3; font-weight: 400; letter-spacing: 0; text-align: center; }

.hn-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; }
.hn-pill { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 16px; font-size: 13px; line-height: 1; white-space: nowrap; }
.hn-pill--gray { background: var(--hn-card); }
.hn-pill--black { background: var(--hn-black); color: #fff; }
.hn-tag { display: inline-flex; align-items: center; height: 40px; padding: 0 15px; border-radius: 80px; background: #fdecec; color: var(--hn-red); font-size: 14px; line-height: 16px; white-space: nowrap; }
.hn-iconbox { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid var(--hn-red); border-radius: 8px; color: var(--hn-red); flex: none; }
.hn-iconbox .hn-i { width: 20px; height: 20px; }
.hn-iconbox--plain { border: 0; width: 28px; height: 28px; border-radius: 0; }
.hn-iconbox--plain .hn-i { width: 26px; height: 26px; }
.hn-chip { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid #444; border-radius: 20px; font-size: 14px; line-height: 1.2; letter-spacing: -.28px; color: #fff; }
.hn-chip--red { background: var(--hn-red); border-color: var(--hn-red); }
.hn-badges { display: flex; flex-wrap: wrap; gap: 16px; }
.hn-badge { display: inline-flex; align-items: center; gap: 10px; height: 43px; padding: 0 16px 0 12px; border-radius: 30px; background: var(--hn-black); color: #fff; font-size: 14px; line-height: 1.2; letter-spacing: -.28px; }
.hn-badge a { color: inherit; text-decoration: underline; }
.hn-badge__dot { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #3b1414; flex: none; }
.hn-badge__dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--hn-red); }

/* =====================================================================
   Шапка: отдельная чёрная полоса 82px над первым экраном
   ===================================================================== */
.hn-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 82px; padding: 24px max(var(--hn-pad), calc((100% - 1280px) / 2)); background: #000; color: #fff; }
.hn-header__logo { display: block; line-height: 0; flex: none; }
.hn-header__logo img { width: 72px; height: 34px; }
.hn-nav { display: flex; align-items: center; gap: 32px; }
.hn-nav > [aria-current="page"] { display: none; }
.hn-nav .hn-nav__link, .hn-nav .dna-nav-item__trigger { color: #fff; font-size: 14px; font-weight: 400; line-height: 1.2; letter-spacing: -.07px; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
.hn-nav .hn-nav__link:hover, .hn-nav .dna-nav-item__trigger:hover { color: #ffb3b3; }
.hn-header__contacts { display: flex; align-items: center; gap: 16px; flex: none; font-size: 14px; line-height: 1.2; letter-spacing: -.28px; }
.hn-header__contacts a { color: #fff; text-decoration: none; white-space: nowrap; }
.hn-header__phone { font-weight: 500; }
.hn-header__contacts a:hover { color: #ffb3b3; }


/* =====================================================================
   2. Первый экран: 1440×690, радиус снизу 80
   ===================================================================== */
.hn-hero { position: relative; isolation: isolate; overflow: hidden; height: 690px; background: #0d0d0d; color: #fff; border-radius: 0 0 80px 80px; }
.hn-hero__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.hn-hero__inner { position: relative; max-width: 1440px; height: 100%; margin: 0 auto; }
.hn-hero__copy { position: absolute; top: 44px; left: var(--hn-pad); width: 800px; max-width: calc(100% - 2 * var(--hn-pad)); }
.hn-hero__title { font-size: 52px; line-height: 1.2; font-weight: 500; letter-spacing: -1.74px; }
.hn-hero__lead { width: 640px; max-width: max(420px, calc(100vw - 720px)); min-width: 420px; margin-top: 40px; font-size: 18px; line-height: 1.3; font-weight: 400; letter-spacing: -.32px; }
.hn-hero__actions { position: absolute; top: 216px; right: calc(var(--hn-pad) - 13px); width: 536px; }
.hn-hero__buttons { display: grid; grid-template-columns: 260px 260px; gap: 16px; }
.hn-hero .hn-btn { min-height: 52px; padding: 14px 24px; font-size: 16px; font-weight: 400; line-height: 1.2; }
.hn-hero__note { width: 260px; margin: 16px 0 0 276px; font-size: 14px; line-height: 20px; text-align: center; color: rgba(255, 255, 255, .7); }
.hn-hero__bottom { position: absolute; top: 400px; left: var(--hn-pad); right: var(--hn-pad); padding-top: 47px; border-top: 1px solid rgba(255, 255, 255, .2); }
.hn-facts { display: grid; grid-template-columns: repeat(3, 1fr); }
.hn-facts__item { display: flex; align-items: center; gap: 16px; justify-self: start; height: 80px; padding: 15px 20px; border-radius: 16px; }
.hn-facts__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--hn-red); flex: none; }
.hn-facts__icon .hn-i { width: 20px; height: 20px; stroke-width: 2; }
.hn-facts__text { display: flex; flex-direction: column; }
.hn-facts__title { font-size: 18px; line-height: 1.4; letter-spacing: -.32px; }
.hn-facts__sub { font-size: 14px; line-height: 1.4; letter-spacing: -.32px; opacity: .9; }
.hn-clients { display: flex; align-items: center; gap: 40px; margin-top: 80px; }
.hn-clients__label { font-size: 14px; line-height: 1.2; letter-spacing: -.28px; white-space: nowrap; }
.hn-clients__list { display: flex; align-items: center; gap: 40px; }
.hn-clients__list li { display: flex; align-items: center; }
.hn-clients__list img { max-width: none; filter: brightness(0) invert(1); opacity: .6; }

/* =====================================================================
   3. ИИ-разработка (кадр 1440×701)
   ===================================================================== */
.hn-sec { padding: 80px 0; }
.hn-ai { padding: 80px 0 100px; }
.hn-h2--ai { width: 632px; max-width: 100%; }
.hn-head__text--ai { width: 362px; margin-top: 40px; font-size: 15px; line-height: 20px; color: #333; }
.hn-ai__body { margin-top: 65px; }
.hn-ai__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hn-card { display: flex; flex-direction: column; background: var(--hn-card); }
.hn-card--ai { min-height: 236px; padding: 24px; border-radius: 24px; }
.hn-card__title { margin-top: 28px; font-size: 20px; line-height: 24px; font-weight: 500; letter-spacing: 0; }
.hn-card__text { margin-top: 12px; font-size: 14px; line-height: 1.4; color: #808080; }
.hn-ai__deltas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.hn-delta { display: flex; flex-direction: column; gap: 12px; min-height: 100px; padding: 21px 23px 17px; border: 1px solid var(--hn-red); border-radius: 20px; }
.hn-delta__label { font-size: 12px; line-height: 16px; text-transform: uppercase; }
.hn-delta__row { display: flex; align-items: center; gap: 14px; }
.hn-delta__arrow { font-size: 16px; line-height: 1; color: var(--hn-red-text); }

/* =====================================================================
   4. Ниши (радиус 64, отступ 80, зазор 32)
   ===================================================================== */
.hn-industries__box { display: flex; flex-direction: column; gap: 32px; max-width: 1440px; margin: 0 auto; padding: 80px var(--hn-pad); border-radius: 64px; background: #f2f2f2; }
.hn-industries__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.hn-ind { display: flex; flex-direction: column; gap: 50px; padding: 32px 30px; border-radius: 20px; background: #fff; }
.hn-ind__copy { display: flex; flex-direction: column; gap: 12px; }
.hn-ind__title { font-size: 24px; line-height: 1.2; font-weight: 500; letter-spacing: -.48px; }
.hn-ind__text { font-size: 16px; line-height: 1.4; letter-spacing: -.32px; color: #5c5c5c; }
.hn-ind__logos { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.hn-ind__logos li { display: block; line-height: 0; }
.hn-ind__logos img { width: auto; height: 43px; }
.hn-ind--cta { justify-content: flex-end; gap: 48px; padding: 32px 28px; }
.hn-ind__ask { font-size: 24px; line-height: 1.2; font-weight: 500; letter-spacing: -.48px; }
.hn-ind--cta .hn-btn { align-self: flex-start; }

/* =====================================================================
   5. Направления (кадр 1440×697)
   ===================================================================== */
.hn-dir { padding: 80px 0; }
.hn-dir__list { display: grid; grid-template-columns: repeat(4, max-content) 1fr; align-items: start; column-gap: 12px; margin-top: 40px; }
.hn-dir__item, .hn-dir__head { display: contents; }
.hn-dir__trigger {
  grid-row: 1; display: inline-flex; align-items: center; padding: 13px 24px; border: 1px solid var(--hn-line); border-radius: 23px;
  background: #fff; font-size: 15px; font-weight: 500; line-height: 20px; cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s;
}
.hn-dir__trigger[aria-expanded="true"] { border: 0; background: var(--hn-black); color: #fff; }
.hn-dir__sign { display: none; }
.hn-dir__panel { grid-row: 2; grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 612px; column-gap: 56px; min-height: 367px; margin-top: 32px; }
.hn-js .hn-dir__panel[hidden] { display: none; }
.hn-dir__info { display: flex; flex-direction: column; align-items: flex-start; padding: 48px 0; }
.hn-dir__label { font-size: 12px; font-weight: 500; line-height: 16px; letter-spacing: .96px; text-transform: uppercase; color: #686868; }
.hn-dir__title { margin-top: 8px; font-size: 24px; line-height: 30px; font-weight: 500; }
.hn-dir__text { max-width: 380px; margin-top: 16px; font-size: 16px; line-height: 1.4; color: #5c5c5c; }
.hn-dir__info .hn-btn { margin-top: auto; }
.hn-dir__links { margin-top: 32px; }
.hn-dir__links li { border-bottom: 1px solid var(--hn-line); }
.hn-dir__links a { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; font-size: 18px; line-height: 24px; font-weight: 500; text-decoration: none; }
.hn-dir__arrow { font-size: 20px; line-height: 1; font-weight: 500; color: var(--hn-red-text); }
.hn-dir__links a:hover span:first-child { color: var(--hn-red-text); }
@media (min-width: 1200px) { .hn-dir__links a span:first-child { white-space: nowrap; } }

/* =====================================================================
   6. Информационная безопасность (кадр 1440×694)
   ===================================================================== */
.hn-ib__top { display: grid; grid-template-columns: 1fr 416px; column-gap: 48px; row-gap: 32px; align-items: start; }
.hn-h2--ib { grid-column: 1 / -1; max-width: 760px; }
.hn-ib__top .hn-badges { grid-column: 1; grid-row: 2; }
.hn-ib__text { grid-column: 2; grid-row: 2; font-size: 16px; line-height: 24px; letter-spacing: -.28px; color: #333; }
.hn-ib__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 39px; }
.hn-card--ib { min-height: 299px; padding: 28px; border-radius: 24px; }
.hn-card--ib .hn-card__title { margin-top: 36px; font-size: 20px; font-weight: 400; letter-spacing: -.4px; }
.hn-card--ib .hn-card__text { margin-top: 12px; line-height: 1.35; letter-spacing: -.28px; color: #666; }
.hn-more { display: inline-block; margin-top: 15px; font-size: 13px; line-height: 1.2; letter-spacing: -.26px; color: var(--hn-red); text-decoration: none; }
.hn-more:hover { text-decoration: underline; }

/* =====================================================================
   7. Рейтинги (кадр «1440w default»: отступ 80, зазор 56)
   ===================================================================== */
.hn-head--rate { align-items: flex-start; }
.hn-h2--rate { width: 702px; max-width: 100%; }
.hn-head__text--rate { width: 284px; margin-top: 47px; font-size: 16px; line-height: 20px; }
.hn-rate__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; margin-top: 56px; align-items: start; }
.hn-rate__main { display: flex; flex-direction: column; gap: 28px; }
.hn-rate__bar { display: flex; align-items: center; gap: 14px; height: 72px; padding: 12px 20px 12px 12px; border-radius: 20px; background: var(--hn-black); color: #fff; font-size: 20px; line-height: 24px; font-weight: 500; }
.hn-rate__logo { display: block; flex: none; width: auto; height: 48px; max-width: none; }
.hn-rate__logo--runet { width: 68px; }
.hn-rate__logo--kp { width: 48px; }
.hn-rate__logo--tag { width: 52px; }
.hn-rate__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.hn-rate__col { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.hn-places { display: flex; flex-direction: column; gap: 20px; width: 100%; }
.hn-places li { display: flex; align-items: center; gap: 14px; }
.hn-pill--place { flex: none; justify-content: center; width: 96px; height: 38px; padding: 0 14px; border-radius: 80px; background: var(--hn-card); font-size: 16px; font-weight: 500; line-height: 18px; }
.hn-places__text { font-size: 16px; line-height: 20px; }
.hn-rate__side { display: flex; flex-direction: column; gap: 32px; }
.hn-rate__group { display: flex; flex-direction: column; gap: 16px; }

/* =====================================================================
   8. Кейсы (кадр 1440×2402)
   ===================================================================== */
.hn-cases { padding: 80px 0; }
.hn-cases__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 78px; }
.hn-case { position: relative; display: flex; flex-direction: column; padding: 12px 24px 30px; border-radius: 32px; text-decoration: none; color: var(--hn-text); overflow: hidden; }
.hn-case--mint { background: #e9fff2; }
.hn-case--gray { background: #f8f8f8; }
.hn-case--beige { background: #f6f0e0; }
.hn-case--pink { background: #fbeaf4; }
.hn-case--blue { background: #e7f1fd; }
.hn-case--rose { background: #fbe9e9; }
.hn-case--1, .hn-case--2 { grid-column: span 3; height: 592px; }
.hn-case--3, .hn-case--4, .hn-case--5 { grid-column: span 2; height: 652px; padding-top: 20px; }
.hn-case--6 { grid-column: span 4; height: 740px; padding: 16px 24px 30px 20px; }
.hn-case--all { grid-column: span 2; height: 740px; padding: 31px 28px 28px; background: var(--hn-black); color: #fff; }
.hn-case__logo { display: flex; align-items: center; height: 45px; margin-left: -8px; }
.hn-case__logo img { height: 45px; width: auto; }
.hn-case--1 .hn-case__logo img, .hn-case--2 .hn-case__logo img { height: 45px; }
.hn-case--3 .hn-case__logo, .hn-case--4 .hn-case__logo, .hn-case--5 .hn-case__logo { margin-left: 0; height: 31px; }
.hn-case--3 .hn-case__logo img, .hn-case--4 .hn-case__logo img, .hn-case--5 .hn-case__logo img { height: 31px; }
/* Иконка приложения «Чойс» в макете 34×37 на отступе 13 от верха (кадр 33:28): выше логотипов-надписей, но место в карточке
   (и положение картинки ниже) прежнее, поэтому поднимаем иконку отрицательным отступом, а низ возвращаем. */
.hn-case--4 .hn-case__logo { height: 31px; margin: -7px 0 7px; align-items: flex-start; }
.hn-case--4 .hn-case__logo img { height: 37px; }
.hn-case--6 .hn-case__logo { height: 25px; margin: 0 0 19px 4px; }
.hn-case--6 .hn-case__logo img { height: 25px; }
.hn-case__shot { display: flex; align-items: center; justify-content: center; flex: 1; min-height: 0; margin: 1px 0 15px; overflow: hidden; }
.hn-case--1 .hn-case__shot, .hn-case--2 .hn-case__shot { margin-bottom: 15px; }
.hn-case__shot img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.hn-case--1 .hn-case__shot img, .hn-case--2 .hn-case__shot img { width: 584px; height: 407px; border-radius: 12px; }
.hn-case--3 .hn-case__shot img, .hn-case--4 .hn-case__shot img, .hn-case--5 .hn-case__shot img { height: 400px; width: auto; max-height: none; }
.hn-case--6 .hn-case__shot img { width: 799px; height: 544px; }
.hn-case--3 .hn-case__shot, .hn-case--4 .hn-case__shot, .hn-case--5 .hn-case__shot { margin: 10px 0 29px; }
.hn-case__body { display: flex; flex-direction: column; margin-top: auto; }
.hn-case__title { font-size: 26px; line-height: 1.2; font-weight: 400; letter-spacing: -.52px; }
.hn-case--6 .hn-case__title { font-size: 30px; letter-spacing: -.6px; }
.hn-case__sub { margin-top: 13px; font-size: 14px; line-height: 1.2; letter-spacing: -.28px; }
.hn-case__foot { display: flex; align-items: center; gap: 24px; margin-top: 4px; min-height: 17px; }
.hn-case--3 .hn-case__foot, .hn-case--4 .hn-case__foot, .hn-case--5 .hn-case__foot { margin-top: 54px; }
.hn-case--6 .hn-case__foot { margin-top: 12px; gap: 0; }
.hn-case__tags { font-size: 14px; line-height: 1.2; letter-spacing: -.28px; color: #9a9a9a; }
.hn-case__note { margin-left: 130px; font-size: 14px; line-height: 1.2; letter-spacing: -.28px; color: #9a9a9a; }
.hn-case__go { position: absolute; right: 20px; bottom: 36px; font-size: 16px; line-height: 1; letter-spacing: -.32px; color: #9a9a9a; }
.hn-case__all-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.hn-case__all-title { font-size: 36px; line-height: 1.2; font-weight: 400; letter-spacing: -.72px; }
.hn-case__all-title a { text-decoration: none; color: #fff; }
.hn-case__all-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin: 2px -1px 0 0; border-radius: 50%; background: var(--hn-red); color: #fff; flex: none; font-size: 20px; line-height: 1; text-decoration: none; }
.hn-case__all-sub { margin-top: 6px; font-size: 14px; line-height: 1.2; letter-spacing: -.28px; color: #9a9a9a; }
.hn-case__all-list { margin-top: 18px; }
.hn-case__all-list li { border-top: 1px solid rgba(255, 255, 255, .14); }
.hn-case__all-list a { display: grid; grid-template-columns: 70px 1fr 14px; align-items: center; gap: 8px; padding: 12px 0; color: #fff; text-decoration: none; }
.hn-case__all-go { font-size: 12px; line-height: 1; color: #8a8a8a; }
.hn-case__all-logo img { width: 70px; height: 48px; object-fit: contain; filter: brightness(0) invert(1); opacity: .9; }
.hn-case__all-name { display: flex; align-items: center; gap: 8px; font-size: 16px; line-height: 1.2; font-weight: 500; letter-spacing: -.32px; }
.hn-ai-mark { display: inline-flex; align-items: center; height: 20px; padding: 0 9px; border-radius: 10px; background: var(--hn-red); color: #fff; font-size: 12px; font-weight: 500; letter-spacing: -.24px; }
.hn-case__all-desc { display: block; margin-top: 4px; font-size: 14px; line-height: 1.2; letter-spacing: -.28px; color: #b5b5b5; }
.hn-case__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; }
.hn-cases__cta { margin-top: 48px; }
.hn-btn--cta { min-height: 45px; padding: 13px 22px; border-radius: 23px; font-size: 14px; font-weight: 400; line-height: 1.2; letter-spacing: -.28px; }

/* =====================================================================
   9. Стоимость и «Как работаем»
   ===================================================================== */
.hn-cost__box { display: flex; flex-direction: column; gap: 48px; max-width: 1440px; margin: 0 auto; padding: 64px var(--hn-pad); border-radius: 32px; background: #fff; }
.hn-head--cost { align-items: flex-end; }
.hn-h2--cost { width: 504px; max-width: 100%; }
@media (min-width: 1200px) { .hn-h2--cost .hn-red { white-space: nowrap; } } /* две строки как в макете 132:3418 при любом шрифте */
.hn-head__text--cost { width: 387px; margin-bottom: 8px; font-size: 15px; line-height: 22px; color: #696969; }
.hn-cost__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 16px; }
.hn-price { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 24px; background: var(--hn-card); }
.hn-price--1 { grid-column: 1 / 3; padding: 32px; }
.hn-price__title { font-size: 20px; line-height: 1.2; font-weight: 500; letter-spacing: -.4px; }
.hn-price--1 .hn-price__title { font-size: 28px; }
.hn-price__sum { font-size: 35px; line-height: 1.2; font-weight: 500; letter-spacing: -.4px; color: var(--hn-red); }
.hn-price__term { font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: rgba(105, 105, 105, .8); }
.hn-price__text { margin-top: auto; font-size: 14px; line-height: 20px; color: rgba(105, 105, 105, .8); }
.hn-how { grid-column: 3 / 5; display: flex; justify-content: space-between; gap: 16px; padding: 28px; border-radius: 24px; background: var(--hn-black); color: #fff; }
.hn-how__left { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; }
.hn-how__title { font-size: 26px; line-height: 1.2; font-weight: 500; letter-spacing: -.4px; }
.hn-how__btn { width: 175px; min-height: 48px; padding: 15px 20px; border-radius: 48px; font-size: 13px; line-height: 18px; }
.hn-how__list { display: flex; flex-direction: column; gap: 16px; width: 264px; padding-top: 4px; }
.hn-how__list li { display: flex; align-items: flex-start; gap: 11px; font-size: 13px; line-height: 18px; color: #bdbdbd; }
.hn-how__dot { flex: none; width: 5px; height: 5px; margin-top: 6px; border-radius: 50%; background: var(--hn-red); }
.hn-how__list strong { font-weight: 600; color: #fff; }

/* =====================================================================
   10. Основатели и команда
   ===================================================================== */
.hn-founders__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 48px; }
.hn-founder { display: grid; grid-template-columns: 220px 1fr; grid-template-rows: auto auto 1fr auto; column-gap: 28px; row-gap: 10px; padding: 24px 28px 24px 24px; border-radius: 20px; background: var(--hn-card); }
.hn-founder__head { display: contents; }
.hn-founder__photo { grid-column: 1; grid-row: 1 / 5; width: 220px; height: 272px; object-fit: cover; border-radius: 16px; }
.hn-founder__who { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; gap: 10px; }
.hn-founder__name { font-size: 22px; line-height: 30px; font-weight: 500; }
.hn-founder__role { font-size: 15px; line-height: 20px; color: #5c5c5c; }
.hn-founder__text { grid-column: 2; grid-row: 2; font-size: 15px; line-height: 22px; }
.hn-founder__btns { grid-column: 2; grid-row: 4; display: flex; gap: 10px; align-self: end; }
.hn-btn--founder { min-height: 44px; padding: 13px 24px; border-radius: 24px; font-size: 14px; font-weight: 400; line-height: 1.3; }
.hn-btn--founder.hn-btn--line { min-height: 46px; }
.hn-team { margin-top: 96px; }
.hn-h2--team { width: 704px; max-width: 100%; }
.hn-team__intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; margin-top: 24px; }
.hn-team__text { width: 560px; max-width: 100%; font-size: 15px; line-height: 22px; color: #373737; }
.hn-badges--team { flex: none; justify-content: flex-end; gap: 12px; }
.hn-badges--team .hn-badge { height: 26px; padding: 0 12px 0 10px; gap: 6px; border-radius: 14px; background: #1a1a1a; font-size: 12px; line-height: 1.3; letter-spacing: 0; }
.hn-badges--team .hn-badge__dot { width: 8px; height: 8px; background: transparent; }
.hn-badges--team .hn-badge__dot::after { width: 5px; height: 5px; }
.hn-team__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 48px; }
.hn-person { display: flex; flex-direction: column; gap: 6px; padding-top: 8px; }
.hn-person img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.hn-person__name { font-size: 14px; line-height: 1.3; font-weight: 500; }
.hn-person__role { font-size: 13px; line-height: 1.3; color: #737373; }

/* =====================================================================
   11. Отзывы (кадр 1440×647)
   ===================================================================== */
.hn-reviews { padding: 80px 0 12px; }
.hn-head--rev { align-items: center; }
.hn-btn--rev { min-width: 203px; min-height: 48px; padding: 14px 30px; border-color: #dcdcdc; border-radius: 24px; font-size: 14px; font-weight: 400; line-height: 1.2; letter-spacing: -.28px; }
.hn-reviews__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 46px; }
.hn-review { display: flex; flex-direction: column; gap: 24px; min-height: 363px; padding: 25px; border-radius: 20px; background: #f7f7f7; }
.hn-review__top { display: flex; align-items: flex-start; justify-content: space-between; }
.hn-review__logo { height: 43px; width: auto; max-width: 160px; object-fit: contain; object-position: left; }
.hn-review__logo[src$='.webp'] { height: 58px; width: 45px; }
.hn-review__top { height: 58px; } /* логотип Росатома 45×58 (макет 128:1193): текст трёх отзывов на одном уровне */
.hn-review__quote { font-size: 54px; line-height: 40px; color: var(--hn-red); font-family: Georgia, serif; }
.hn-review__text { margin: 0; font-size: 14px; line-height: 1.35; letter-spacing: -.28px; }
.hn-review__more { align-self: flex-start; margin-top: -10px; font-size: 13px; line-height: 1.2; letter-spacing: -.26px; color: var(--hn-red); text-decoration: none; }
.hn-review__more:hover { text-decoration: underline; }
.hn-review__author { margin-top: auto; font-size: 14px; line-height: 1.5; }
.hn-review__author strong { display: block; font-weight: 500; }
.hn-review__author span { color: #8a8a8a; }
.hn-reviews__cta { display: flex; justify-content: flex-end; margin-top: 28px; }
.hn-reviews__all { display: none; }
.hn-reviews__tg { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hn-btn--tg { min-height: 47px; padding: 14px 24px; border-radius: 24px; font-size: 14px; font-weight: 400; line-height: 1.2; letter-spacing: -.28px; }
.hn-btn--tg .hn-i { width: 16px; height: 16px; }
.hn-reviews__tg span { width: 260px; text-align: center; font-size: 13px; line-height: 1.2; letter-spacing: -.26px; color: #666; }

/* =====================================================================
   12. СМИ
   ===================================================================== */
.hn-head--media { align-items: center; }
.hn-h2--media { width: 620px; max-width: 100%; }
.hn-arrows { display: flex; gap: 8px; }
.hn-arrows__btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 39px; padding: 0; border: 0; border-radius: 24px; background: var(--hn-card); font-size: 18px; line-height: 1.3; cursor: pointer; }
.hn-arrows__btn:disabled { opacity: .45; cursor: default; }
.hn-media__list { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; margin-top: 48px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hn-media__list::-webkit-scrollbar { display: none; }
.hn-news { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; min-height: 256px; padding: 24px; border: 1px solid #ebebeb; border-radius: 20px; scroll-snap-align: start; }
.hn-news__top { display: flex; align-items: center; gap: 10px; }
.hn-news__logo { display: block; flex: none; max-width: none; }
.hn-news__tag { font-size: 12px; line-height: 1.3; color: #b3b3b3; }
.hn-news__title { width: 100%; font-size: 20px; line-height: 1.2; font-weight: 400; }
.hn-btn--news { margin-top: auto; min-height: 46px; padding: 13px 24px; border-radius: 24px; font-size: 14px; font-weight: 400; line-height: 1.3; }

/* =====================================================================
   13. FAQ (отступы 80/200, зазор 48)
   ===================================================================== */
.hn-faq { padding: 80px 0; }
.hn-faq__inner { display: flex; flex-direction: column; gap: 48px; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.hn-faq__list { display: flex; flex-direction: column; gap: 12px; }
.hn-faq__item { padding: 20px; border: 1px solid #e6e6e6; border-radius: 14px; background: #fff; }
.hn-faq__q { margin: 0; }
.hn-faq__q button { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: 0; border: 0; background: none; text-align: left; font-size: 15px; line-height: 1.3; font-weight: 500; cursor: pointer; }
.hn-faq__sign { position: relative; width: 12px; height: 12px; flex: none; }
.hn-faq__sign::before, .hn-faq__sign::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.6px; margin-top: -.8px; background: currentColor; transition: transform .2s; }
.hn-faq__sign::after { transform: rotate(90deg); }
.hn-faq__q button[aria-expanded="true"] .hn-faq__sign::after { transform: rotate(0); }
.hn-faq__a { margin-top: 10px; padding-right: 44px; font-size: 13px; line-height: 1.3; color: #737373; }
.hn-js .hn-faq__a[hidden] { display: none; }

/* =====================================================================
   14. Финальная форма (блок «3»: 1320, радиус 32)
   ===================================================================== */
.hn-form { padding: 0 60px 40px; }
.hn-form__box { position: relative; display: flex; flex-direction: column; gap: 42px; max-width: 1320px; min-height: 700px; margin: 0 auto; padding: 32px 48px 48px; border-radius: 32px; background: #1c1c1c; color: #fff; }
.hn-form__logo { display: inline-block; line-height: 0; }
.hn-form__logo img { width: 72px; height: 34px; }
.hn-form__grid { display: grid; grid-template-columns: 1fr 480px; gap: 40px; align-items: start; flex: 1; }
.hn-form__copy { padding-left: 101px; }
.hn-form__title { font-size: 48px; line-height: 52px; font-weight: 500; letter-spacing: -2px; max-width: 280px; }
.hn-form__lead { max-width: 315px; margin-top: 28px; font-size: 14px; line-height: 21px; color: #a8a8a8; }
.hn-formcard { display: flex; flex-direction: column; gap: 20px; padding: 28px; border-radius: 24px; background: #fff; color: var(--hn-text); }
.hn-formcard__head { display: block; }
.hn-formcard__title { font-size: 20px; line-height: 28px; font-weight: 600; }
.hn-m-only { display: none; }
.hn-case__shot picture { display: contents; }
.hn-nb { white-space: nowrap; }
/* перенос строки, который есть только в десктопном и планшетном кадре (на телефоне текст идёт сплошным) */
.hn-brd { display: none; }
@media (min-width: 768px) { .hn-brd { display: initial; } }
.hn-formcard__sub { display: none; }
.hn-field { display: flex; flex-direction: column; gap: 7px; }
.hn-field[hidden] { display: none; }
.hn-field__label { display: flex; align-items: baseline; justify-content: space-between; font-size: 13px; line-height: 18px; font-weight: 500; }
.hn-field__opt { font-size: 11px; line-height: 16px; font-weight: 400; color: #8d8d8d; }
.hn-input { width: 100%; height: 54px; padding: 16px; border: 1px solid transparent; border-radius: 12px; background: var(--hn-card); font-size: 15px; line-height: 20px; outline: none; transition: border-color .2s, background-color .2s; }
.hn-input::placeholder { color: #9a9a9a; }
.hn-input:focus { border-color: var(--hn-text); background: #fff; }
.hn-input.is-error { border-color: var(--hn-red); background: #fff6f6; }
.hn-input--area { height: 92px; padding: 12px 16px; line-height: 22px; resize: vertical; }
.hn-field__error { font-size: 12px; line-height: 1.3; color: var(--hn-red); }
.hn-field__error:empty { display: none; }
.hn-switch { display: flex; gap: 4px; height: 48px; padding: 4px; border-radius: 14px; background: #ededed; }
.hn-switch__opt { position: relative; flex: 1; display: block; cursor: pointer; }
.hn-switch__opt input { position: absolute; opacity: 0; inset: 0; }
.hn-switch__opt span { display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border-radius: 10px; font-size: 13px; line-height: 18px; font-weight: 500; color: #6e6e6e; transition: background-color .2s, color .2s; }
.hn-switch__opt .hn-i { width: 16px; height: 16px; }
.hn-switch__opt input:checked + span { background: #fff; color: var(--hn-text); }
.hn-switch__opt input:focus-visible + span { outline: 2px solid var(--hn-red); outline-offset: 2px; }
.hn-formcard .dna-form__pd-hint { margin: -6px 0 0; font-size: 11px; line-height: 1.35; color: #8a8a8a; }
.hn-formcard__submit { width: 100%; min-height: 54px; padding: 16px 24px; border-radius: 54px; font-size: 15px; font-weight: 600; line-height: 20px; }
.hn-formcard__submit .hn-i { width: 16px; height: 16px; }
.hn-agree { display: flex; align-items: flex-start; gap: 10px; font-size: 11px; line-height: 16px; color: #6d6d6d; cursor: pointer; }
.hn-agree input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--hn-red); }
.hn-agree a { color: var(--hn-red); }
.hn-formcard__status { font-size: 13px; line-height: 1.35; }

/* ---------- Окно PDF-гайда ---------- */
.hn-modal { width: min(520px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: 20px; background: #fff; color: var(--hn-text); font-family: "Manrope", system-ui, sans-serif; overflow: auto; }
.hn-modal::backdrop { background: rgba(10, 10, 10, .72); }
.hn-modal__card { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 32px; }
.hn-modal__close { position: absolute; top: 24px; right: 28px; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; color: #686868; cursor: pointer; }
.hn-modal__close:hover { color: var(--hn-text); }
.hn-modal__kicker { margin: 0; font-size: 12px; font-weight: 700; line-height: 1; letter-spacing: .96px; text-transform: uppercase; color: var(--hn-red-d); }
.hn-modal__title { margin: 0; font-size: 28px; line-height: 1.15; font-weight: 700; }
.hn-modal__text { margin: 0; font-size: 15px; line-height: 22px; color: #373737; }
.hn-modal .hn-input { height: 51px; padding: 15px 16px; border: 1px solid #d9d9d9; background: #fff; }
.hn-modal__submit { width: 100%; min-height: 49px; padding: 15px 0; border-radius: 30px; font-size: 16px; line-height: 1.2; letter-spacing: -.32px; }
.hn-agree--sm { font-size: 13px; line-height: 1.3; letter-spacing: -.26px; color: #686868; }
.hn-agree--sm a { color: inherit; text-decoration: underline; }

/* =====================================================================
   Подвал (кадр 5.18: 1440×255, #121212)
   ===================================================================== */
.hn-footer { background: #121212; color: #fff; font-family: "Manrope", system-ui, sans-serif; }
.hn-footer a { color: inherit; text-decoration: none; }
.hn-footer__inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; max-width: 1440px; min-height: 255px; margin: 0 auto; padding: 48px var(--hn-pad); }
.hn-footer__brand { display: flex; flex-direction: column; gap: 8px; width: 330px; }
.hn-footer__logo { display: inline-flex; align-items: center; align-self: flex-start; height: 41px; padding: 6px 12px; border-radius: 4px; background: var(--hn-red); color: #fff; font-size: 22px; line-height: 1.3; font-weight: 500; }
.hn-footer__legal { display: flex; flex-direction: column; gap: 8px; font-size: 11px; line-height: 1.3; color: #808080; }
.hn-footer__legal p { margin: 0; }
.hn-footer__docs { display: flex; flex-direction: column; gap: 8px; }
.hn-footer__docs a:hover { color: #fff; }
.hn-footer__req { font-size: 10px; }
.hn-footer__title { margin: 0 0 8px; font-size: 11px; line-height: 1.3; color: #808080; }
.hn-footer__menu ul { display: grid; grid-auto-flow: column; grid-template-rows: repeat(5, auto); justify-content: start; gap: 8px 50px; margin: 0; padding: 0; list-style: none; font-size: 12px; line-height: 1.3; }
.hn-footer__menu a:hover { color: #ffb3b3; }
.hn-footer__contacts { display: flex; flex-direction: column; gap: 12px; width: 202px; }
.hn-footer__contacts .hn-footer__title { margin: 0; }
.hn-footer__contacts a, .hn-footer__contacts p:not(.hn-footer__title) { margin: 0; font-size: 18px; line-height: 1.3; }
.hn-footer__contacts p:not(.hn-footer__title) { white-space: nowrap; }
.hn-footer__contacts a:hover { color: #ffb3b3; }

/* =====================================================================
   Планшет и малые десктопы: 768–1199 (Figma не рисует - интерполяция от кадра 1440)
   ===================================================================== */
@media (max-width: 1199px) {
  body.dna-page--hn { --hn-pad: 40px; }
  .hn-header { gap: 16px; }
  .hn-nav { gap: 20px; }
  .hn-hero { height: auto; }
  .hn-hero__inner { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 44px var(--hn-pad) 48px; }
  .hn-hero__copy, .hn-hero__actions, .hn-hero__bottom { position: static; width: auto; max-width: none; }
  .hn-hero__title { font-size: 40px; max-width: 700px; }
  .hn-hero__lead { width: auto; max-width: 560px; min-width: 0; margin-top: 24px; }
  .hn-hero__actions { max-width: 536px; }
  .hn-hero__buttons { grid-template-columns: 1fr 1fr; }
  .hn-hero__note { width: auto; margin: 16px 0 0 calc(50% + 8px); }
  .hn-hero__bottom { padding-top: 28px; }
  .hn-facts { grid-template-columns: 1fr; gap: 12px; }
  .hn-facts__item { height: auto; padding: 0; }
  .hn-clients { flex-wrap: wrap; gap: 16px 40px; margin-top: 40px; }
  .hn-clients__list { flex-wrap: wrap; gap: 20px 32px; }
  .hn-h2--ai, .hn-h2--dir { font-size: 36px; line-height: 42px; }
  .hn-h2--ind, .hn-h2--rate, .hn-h2--cases, .hn-h2--founders { font-size: 44px; line-height: 1.15; }
  .hn-h2--ib, .hn-h2--cost, .hn-h2--team, .hn-h2--rev, .hn-h2--media { font-size: 38px; line-height: 1.12; }
  .hn-h2--ind { min-height: 0; }
  .hn-h2--faq { font-size: 36px; }
  .hn-head { flex-direction: column; gap: 16px; }
  .hn-head--rev, .hn-head--media { flex-direction: row; align-items: center; }
  .hn-head__text--ai, .hn-head__text--rate, .hn-head__text--cost { width: auto; max-width: 560px; margin-top: 0; margin-bottom: 0; }
  .hn-ai { padding-bottom: 80px; }
  .hn-ai__body { margin-top: 40px; }
  .hn-ai__cards { grid-template-columns: repeat(2, 1fr); }
  .hn-ai__deltas { grid-template-columns: 1fr; }
  .hn-industries__box { padding: 64px var(--hn-pad); border-radius: 56px; }
  .hn-industries__grid { grid-template-columns: 1fr; }
  .hn-dir__list { grid-template-columns: repeat(2, max-content) 1fr; row-gap: 10px; }
  .hn-dir__trigger { grid-row: auto; }
  .hn-dir__panel { grid-template-columns: 1fr; min-height: 0; }
  .hn-dir__info { padding: 8px 0 16px; }
  .hn-dir__info .hn-btn { margin-top: 24px; }
  .hn-dir__links { margin-top: 0; }
  .hn-ib__top { grid-template-columns: 1fr; }
  .hn-ib__text { grid-column: 1; grid-row: 3; }
  .hn-ib__cards { grid-template-columns: 1fr; }
  .hn-rate__grid { grid-template-columns: 1fr; }
  .hn-cases__grid { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
  .hn-case--1, .hn-case--2, .hn-case--3, .hn-case--4, .hn-case--5, .hn-case--6, .hn-case--all { grid-column: span 1; height: auto; min-height: 520px; }
  .hn-case--5, .hn-case--6, .hn-case--all { grid-column: span 2; }
  .hn-case--1 .hn-case__shot img, .hn-case--2 .hn-case__shot img, .hn-case--6 .hn-case__shot img { width: 100%; height: auto; }
  .hn-case--3 .hn-case__foot, .hn-case--4 .hn-case__foot, .hn-case--5 .hn-case__foot { margin-top: 12px; }
  .hn-case__note { margin-left: 24px; }
  .hn-cost__box { padding: 56px var(--hn-pad); }
  .hn-head--cost { align-items: flex-start; }
  .hn-cost__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(240px, auto); }
  .hn-price--1, .hn-how { grid-column: 1 / -1; }
  .hn-founders__grid { grid-template-columns: 1fr; }
  .hn-team__grid { grid-template-columns: repeat(3, 1fr); }
  .hn-reviews__list { grid-template-columns: 1fr; }
  .hn-media__list { grid-auto-columns: calc((100% - 16px) / 2); }
  .hn-form { padding: 0 20px 40px; }
  .hn-form__box { padding: 32px 28px 40px; }
  .hn-form__grid { grid-template-columns: 1fr; }
  .hn-form__copy { padding-left: 0; }
  .hn-footer__inner { flex-wrap: wrap; }
}

/* =====================================================================
   Мобильная: кадр 390 (поля 20px, секции 56px, зазор 28px)
   ===================================================================== */
@media (max-width: 767px) {
  body.dna-page--hn { --hn-pad: 20px; }
  .hn-mbr { display: inline; }
  .hn-br { display: none; }
  .hn-sec { padding: 56px 0; }
  .hn-wrap { padding-left: 20px; padding-right: 20px; }
  .hn-btn { width: 100%; }

  /* заголовки: 34px / 100% / -1.65px (кроме отдельных) */
  .hn-h2 { font-size: 34px; line-height: 1; letter-spacing: -1.65px; font-weight: 500; }
  .hn-h2--ai, .hn-h2--dir, .hn-h2--ind, .hn-h2--ib, .hn-h2--cases, .hn-h2--founders, .hn-h2--rev, .hn-h2--faq { font-size: 34px; line-height: 1; letter-spacing: -1.65px; font-weight: 500; }
  .hn-h2--ind { min-height: 0; }
  .hn-h2--rate { font-size: 34px; line-height: 34px; letter-spacing: -1px; }
  .hn-h2--cost { font-size: 34px; line-height: 34px; letter-spacing: 0; }
  .hn-h2--team { font-size: 30px; line-height: 36px; letter-spacing: 0; }
  .hn-h2--media { font-size: 34px; line-height: 1.3; letter-spacing: 0; }
  .hn-h2--faq { text-align: left; }
  .hn-h2--cases { text-align: center; }
  .hn-head { flex-direction: column; align-items: flex-start; gap: 28px; }
  .hn-head--rev, .hn-head--media { flex-direction: column; align-items: flex-start; }
  .hn-head__btn { display: none; }

  /* шапка и первый экран */
  .hn-header { height: 66px; padding: 18px 20px; }
  .hn-header__logo img { width: 62.84px; height: 29px; }
  .hn-nav { display: none; }
  .hn-header__contacts { gap: 12px; }
  .hn-hero { border-radius: 0 0 40px 40px; }
  .hn-hero__inner { display: flex; flex-direction: column; gap: 28px; padding: 56px 20px; }
  .hn-hero__title { font-size: 34px; line-height: 1; letter-spacing: -1.74px; max-width: none; }
  .hn-hero__lead { max-width: none; margin-top: 24px; font-size: 16px; letter-spacing: -.32px; }
  .hn-hero__actions { max-width: none; }
  .hn-hero__buttons { grid-template-columns: 1fr; gap: 24px; }
  .hn-hero .hn-btn--red { min-height: 47px; height: 47px; padding-top: 0; padding-bottom: 0; }
  .hn-hero .hn-btn--ghost { min-height: 52px; }
  .hn-hero__note { margin: 12px 0 0; }
  .hn-hero__bottom { padding-top: 24px; display: flex; flex-direction: column; gap: 28px; }
  .hn-facts { display: flex; flex-direction: column; gap: 22px; }
  .hn-facts__item { height: auto; padding: 0; border-radius: 0; gap: 16px; }
  .hn-facts__icon { width: 40px; height: 40px; border-radius: 10px; }
  .hn-facts__title { font-size: 16px; }
  .hn-facts__sub { font-size: 13px; opacity: .6; }
  .hn-clients { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 0; }
  .hn-clients__list { display: flex; flex-wrap: wrap; gap: 20px 28px; }

  /* ИИ */
  .hn-ai { padding: 56px 0; }
  .hn-ai__body { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
  .hn-ai__cards { grid-template-columns: 1fr; gap: 16px; }
  .hn-card--ai { min-height: 0; gap: 16px; padding: 24px; border: 1px solid rgba(20, 20, 20, .1); border-radius: 20px; }
  .hn-card__title { margin-top: 0; letter-spacing: -.4px; }
  .hn-card--ai .hn-card__text { margin-top: 0; letter-spacing: -.28px; color: var(--hn-text); }
  .hn-ai__deltas { gap: 16px; margin-top: 0; }
  .hn-delta { min-height: 0; gap: 8px; padding: 24px 20px; border-radius: 20px; }
  .hn-delta__label { font-size: 14px; line-height: 1.2; letter-spacing: -.28px; }
  .hn-delta__row { gap: 10px; flex-wrap: wrap; }
  .hn-pill { height: 27px; padding: 0 10px; border-radius: 10px; font-size: 16px; line-height: 1.2; letter-spacing: -.4px; }
  .hn-pill--black { font-weight: 500; letter-spacing: -.64px; }
  .hn-delta__arrow { font-size: 18px; letter-spacing: -.4px; }

  /* ниши */
  .hn-industries__box { padding: 56px 20px; border-radius: 50px; background: #efefef; gap: 28px; }
  .hn-industries__grid { gap: 16px; }
  .hn-ind { gap: 20px; padding: 24px; }
  .hn-ind__copy { gap: 20px; }
  .hn-ind__title { font-size: 20px; letter-spacing: -.4px; }
  .hn-ind__text { font-size: 14px; line-height: 1.4; letter-spacing: -.28px; color: var(--hn-text); }
  .hn-ind--cta { padding: 0; background: none; gap: 20px; align-items: stretch; text-align: center; }
  .hn-ind__ask { font-size: 20px; letter-spacing: -.48px; }
  .hn-ind--cta .hn-btn { align-self: stretch; padding: 15px 0; }

  /* направления: аккордеон */
  .hn-dir { padding: 56px 0; }
  .hn-dir__list { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin-top: 28px; }
  .hn-dir__item { display: block; border-radius: 20px; }
  .hn-dir__item:has(.hn-dir__trigger[aria-expanded="true"]) { padding: 24px 20px 12px; background: var(--hn-card); }
  .hn-dir__head { display: block; }
  .hn-dir__trigger { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 20px; border: 0; border-radius: 20px; background: none; font-size: 20px; font-weight: 500; line-height: 28px; color: var(--hn-text); }
  .hn-dir__item:has(.hn-dir__trigger[aria-expanded="true"]) .hn-dir__trigger { padding: 0; }
  .hn-dir__trigger[aria-expanded="true"] { background: none; color: var(--hn-text); }
  .hn-dir__sign { position: relative; display: block; width: 14px; height: 14px; color: var(--hn-red-text); flex: none; }
  .hn-dir__sign::before, .hn-dir__sign::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.6px; margin-top: -.8px; background: currentColor; }
  .hn-dir__sign::after { transform: rotate(90deg); }
  .hn-dir__trigger[aria-expanded="true"] .hn-dir__sign::after { transform: rotate(0); }
  .hn-dir__panel { display: flex; flex-direction: column; gap: 10px; min-height: 0; margin-top: 10px; }
  .hn-dir__label, .hn-dir__title { display: none; }
  .hn-dir__info { display: contents; padding: 0; }
  .hn-dir__text { order: 1; max-width: none; margin-top: 0; font-size: 14px; line-height: 20px; }
  .hn-dir__links { order: 2; margin-top: 0; }
  .hn-dir__links a { min-height: 77px; padding: 16px 0; font-size: 16px; line-height: 22px; }
  .hn-dir__info .hn-btn { order: 3; margin-top: 12px; margin-bottom: 12px; }

  /* ИБ */
  .hn-sec-ib { padding: 56px 0; }
  .hn-ib__top { display: flex; flex-direction: column; gap: 24px; }
  .hn-ib__text { order: 2; font-size: 16px; line-height: 1.3; letter-spacing: -.32px; }
  .hn-ib__top .hn-badges { order: 3; flex-direction: column; align-items: flex-start; gap: 12px; }
  .hn-badge { height: 41px; padding: 0 18px 0 12px; }
  .hn-ib__cards { grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
  .hn-card--ib { min-height: 0; gap: 14px; padding: 28px 28px 32px; border-radius: 20px; }
  .hn-iconbox--plain { width: 32px; height: 32px; border: 2px solid var(--hn-red); border-radius: 8px; }
  .hn-iconbox--plain .hn-i { width: 18px; height: 18px; }
  .hn-card--ib .hn-card__title { margin-top: 0; font-size: 22px; font-weight: 500; letter-spacing: -.48px; }
  .hn-card--ib .hn-card__text { margin-top: 0; font-size: 16px; line-height: 1.4; letter-spacing: -.32px; color: #737373; }
  .hn-more { margin-top: 0; font-size: 16px; letter-spacing: -.32px; }

  /* рейтинги */
  .hn-rate { padding: 0 0 50px; }
  .hn-head--rate { gap: 28px; }
  .hn-head__text--rate { max-width: none; font-size: 16px; }
  .hn-rate__grid { gap: 28px; margin-top: 28px; }
  .hn-rate__main { gap: 20px; }
  .hn-rate__bar { height: 64px; gap: 12px; padding: 12px 20px 12px 12px; font-size: 18px; line-height: 22px; }
  .hn-rate__logo { height: 40px; }
  .hn-rate__logo--runet { width: 57px; }
  .hn-rate__logo--kp { width: 40px; }
  .hn-rate__logo--tag { width: 43px; }
  .hn-rate__cols { grid-template-columns: 1fr; gap: 20px; }
  .hn-rate__col { gap: 16px; }
  .hn-tag { height: 36px; padding: 0 14px; font-size: 12px; }
  .hn-places { gap: 16px; }
  .hn-places li { gap: 12px; }
  .hn-pill--place { width: 88px; height: 34px; padding: 0 10px; font-size: 14px; line-height: 18px; }
  .hn-places__text { font-size: 15px; }
  .hn-rate__side { gap: 28px; }

  /* кейсы */
  .hn-cases { padding: 56px 0; background: var(--hn-card); }
  .hn-cases__grid { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; }
  .hn-cases__grid { row-gap: 16px; }
  .hn-case { grid-column: span 1 !important; height: auto !important; min-height: 0 !important; gap: 12px; padding: 24px !important; border: 1px solid rgba(20, 20, 20, .1); border-radius: 20px; background: #fff !important; }
  .hn-case__logo, .hn-case__go { display: none !important; }
  .hn-case__shot, .hn-case__shot { flex: none; width: 100%; height: 160px; margin: 0 !important; border-radius: 10px; }
  .hn-case__shot img { width: 100% !important; height: 160px !important; max-width: none; max-height: none; object-fit: cover; object-position: top center; border-radius: 10px; }
  .hn-case__body { margin-top: 0; gap: 12px; }
  .hn-case__title { font-size: 20px !important; font-weight: 500; letter-spacing: -.4px !important; }
  .hn-case__sub { margin-top: 0; color: #686868; }
  .hn-case__foot { display: none; }
  .hn-case--all { gap: 0; padding: 24px 20px !important; border: 0; background: var(--hn-black) !important; color: #fff; }
  .hn-case__all-title { font-size: 22px; line-height: 1.2; letter-spacing: -.48px; } /* «Все кейсы →» одной строкой, без красной кнопки (макет 3:211) */
  .hn-case__all-btn { display: none; }
  .hn-case__all-logo, .hn-ai-mark { display: none; } /* в строках нет колонки под логотип и метки «С ИИ» (макет 42:25) */
  .hn-case__all-sub { font-size: 14px; line-height: 1; color: #a6a6ab; }
  .hn-case__all-list a { grid-template-columns: 1fr 14px; gap: 8px; padding: 14px 0; }
  .hn-case__all-name { font-size: 15px; line-height: 1; }
  .hn-case__all-desc { font-size: 12px; line-height: 1; color: #a6a6ab; }
  .hn-case__chips { padding-top: 16px; }
  .hn-chip { height: 34px; padding: 0 14px; font-size: 12px; font-weight: 500; line-height: 1; border-color: rgba(255, 255, 255, .3); }
  .hn-chip--red { border-color: var(--hn-red); }
  /* на телефоне чипы как в мобильном макете (42:28): Приложения, С ИИ, Высоконагруженные системы, Аутстафф */
  .hn-case__chips .hn-chip { order: 2; }
  .hn-case__chips .hn-chip:first-child, .hn-case__chips .hn-chip--red { order: 1; }
  .hn-cases__cta { margin-top: 28px; }
  .hn-btn--cta { min-height: 49px; padding: 15px 0; border-radius: 30px; font-size: 14px; font-weight: 500; line-height: 1; background: #ed3333; border-color: #ed3333; }

  /* стоимость */
  .hn-cost__box { gap: 28px; padding: 56px 20px; border-radius: 0; }
  .hn-head--cost { align-items: flex-start; gap: 28px; }
  .hn-head__text--cost { width: auto; margin: 0; font-size: 16px; line-height: 21px; color: var(--hn-text); }
  .hn-cost__grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 16px; }
  .hn-price, .hn-price--1 { grid-column: 1 / -1; min-height: 240px; padding: 24px; border-radius: 20px; }
  .hn-price--2, .hn-price--3, .hn-price--4, .hn-price--5 { min-height: 204px; } /* карточки 2-5 по макету 136:3514…3544: 204 px, заголовок 16 px */
  .hn-price__title, .hn-price--1 .hn-price__title { font-size: 20px; line-height: 28px; letter-spacing: 0; }
  .hn-price--2 .hn-price__title, .hn-price--3 .hn-price__title, .hn-price--4 .hn-price__title, .hn-price--5 .hn-price__title { font-size: 16px; line-height: 20px; }
  .hn-price__sum { font-size: 25px; line-height: 30px; letter-spacing: 0; }
  .hn-price__term { font-size: 12px; line-height: 17px; font-weight: 400; color: rgba(104, 104, 104, .8); } /* срок обычным начертанием (136:3510) */
  .hn-price__text { padding-top: 12px; color: rgba(104, 104, 104, .8); }
  .hn-how { grid-column: 1 / -1; flex-direction: column; gap: 0; min-height: 359px; height: 359px; padding: 24px; border-radius: 24px; }
  .hn-how__left { display: contents; }
  .hn-how__title { font-size: 22px; line-height: 28px; letter-spacing: 0; }
  .hn-how__list { width: auto; gap: 0; padding-top: 14px; }
  .hn-how__list li { padding: 14px 0 10px; border-top: 1px solid rgba(255, 255, 255, .14); }
  .hn-how__list li:first-child { border-top: 0; }
  .hn-how__dot { display: none; }
  .hn-how__list li > span:last-child > strong { display: block; font-size: 16px; line-height: 19px; font-weight: 500; }
  .hn-how__btn { order: 3; width: 100%; margin-top: 18px; justify-content: space-between; font-size: 16px; } /* текст слева, стрелка справа (136:3573) */

  /* основатели и команда */
  .hn-founders { padding: 56px 0; }
  .hn-founders__grid { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; }
  .hn-founder { display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: 20px; }
  .hn-founder__head { display: flex; align-items: center; gap: 16px; }
  .hn-founder__photo { grid-area: auto; width: 96px; height: 120px; flex: none; border-radius: 14px; }
  .hn-founder__who { gap: 6px; }
  .hn-founder__name { font-size: 20px; line-height: 26px; }
  .hn-founder__role { font-size: 14px; line-height: 19px; }
  .hn-founder__text { font-size: 14px; line-height: 20px; }
  .hn-founder__btns { flex-direction: column; gap: 16px; align-self: stretch; }
  .hn-btn--founder { min-height: 49px; height: 49px; padding: 0; border-radius: 30px; font-size: 16px; font-weight: 500; line-height: 1.2; letter-spacing: -.32px; }
  .hn-btn--founder.hn-btn--line { min-height: 51px; height: 51px; border-color: #bfbfbf; }
  .hn-team { margin-top: 28px; }
  .hn-team__intro { flex-direction: column; gap: 28px; margin-top: 28px; }
  .hn-team__text { width: auto; font-size: 16px; line-height: 1.3; letter-spacing: -.32px; color: var(--hn-text); }
  .hn-badges--team { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hn-team__grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
  .hn-person { padding-top: 0; }
  .hn-person img { border-radius: 12px; }

  /* отзывы */
  .hn-reviews { padding: 56px 0; }
  .hn-reviews__list { gap: 16px; margin-top: 28px; }
  .hn-review { min-height: 0; gap: 16px; padding: 24px; border-radius: 20px; }
  .hn-review__more { margin-top: 0; font-size: 14px; letter-spacing: -.28px; }
  .hn-review__author { font-size: 14px; line-height: 1.2; letter-spacing: -.28px; }
  .hn-review__author > strong, .hn-review__author > span { display: block; }
  .hn-reviews__cta { flex-direction: column; align-items: stretch; gap: 16px; margin-top: 28px; }
  .hn-reviews__all { display: inline-flex; min-height: 54px; padding: 16.5px 0; border-color: #d9d9d9; border-radius: 30px; font-size: 16px; line-height: 1.2; letter-spacing: -.32px; }
  .hn-reviews__tg { align-items: stretch; gap: 16px; }
  .hn-btn--tg { min-height: 52px; height: 52px; padding: 0; border-radius: 30px; font-size: 16px; font-weight: 500; letter-spacing: -.32px; }
  .hn-btn--tg .hn-i { display: none; } /* кнопка «Написать Антону в Telegram» без иконки в мобильном кадре */
  .hn-badge a { text-decoration: none; } /* чип сертификата без подчёркивания (43:6) */
  .hn-reviews__tg span { width: auto; font-size: 14px; letter-spacing: -.28px; }

  /* СМИ */
  .hn-media { padding: 56px 0; }
  .hn-arrows { display: none; }
  .hn-media__list { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; overflow: visible; }
  .hn-news { min-height: 0; }
  .hn-news__title { width: auto; font-size: 18px; }
  .hn-btn--news { width: auto; }

  /* FAQ */
  .hn-faq { padding: 56px 0; }
  .hn-faq__inner { gap: 12px; padding: 0 20px; }
  .hn-faq__list { margin-top: 16px; }
  .hn-faq__item { padding: 20px; border-radius: 16px; }
  .hn-faq__q button { font-size: 16px; line-height: 1.25; letter-spacing: -.3px; }
  .hn-faq__sign { width: 14px; height: 14px; }
  .hn-faq__a { margin-top: 12px; padding-right: 0; font-size: 14px; line-height: 1.4; letter-spacing: -.28px; color: #686868; }

  /* форма */
  .hn-form { padding: 0; }
  .hn-form__box { gap: 26px; min-height: 846px; padding: 22px 20px 28px; border-radius: 28px; }
  .hn-form__logo img { width: 70.7px; height: 32.87px; }
  .hn-form__copy { display: none; }
  .hn-form__grid { gap: 0; }
  .hn-formcard { gap: 22px; padding: 24px 20px 22px; border-radius: 22px; }
  .hn-formcard__head { padding-bottom: 14px; border-bottom: 1px solid #ececec; }
  .hn-formcard__title { font-size: 26px; line-height: 32px; font-weight: 500; letter-spacing: -1px; }
  .hn-d-only { display: none; }
  .hn-m-only { display: inline; }
  .hn-formcard__sub { display: block; margin-top: 6px; font-size: 13px; line-height: 19px; color: #777; }
  .hn-agree { font-size: 10px; line-height: 15px; }

  /* подвал */
  .hn-footer { border-radius: 24px 24px 0 0; background: #141414; }
  .hn-footer__inner { display: flex; flex-direction: column; align-items: stretch; gap: 22px; min-height: 0; padding: 48px 20px 40px; }
  .hn-footer__brand { display: contents; }
  .hn-footer__logo { order: 1; height: 38px; padding: 8px 14px; border-radius: 6px; font-size: 22px; line-height: 1; letter-spacing: -.44px; }
  .hn-footer__menu { order: 2; }
  .hn-footer__contacts { order: 3; width: auto; gap: 14px; }
  .hn-footer__legal { order: 4; gap: 8px; font-size: 12px; letter-spacing: -.24px; }
  .hn-footer__req { font-size: 12px; }
  .hn-footer__title { margin: 0 0 14px; font-size: 13px; line-height: 1.2; letter-spacing: -.26px; color: #808085; }
  .hn-footer__menu ul { grid-template-rows: repeat(5, auto); gap: 12px 40px; font-size: 15px; line-height: 1.2; letter-spacing: -.3px; }
  .hn-footer__contacts a, .hn-footer__contacts p:not(.hn-footer__title) { font-size: 20px; line-height: 1.2; letter-spacing: -.4px; }
}

@media (prefers-reduced-motion: reduce) {
  .hn *, .hn-modal * { transition: none !important; scroll-behavior: auto !important; }
}
