/* Главная: блоки варианта «тёмно-синий и золото». Только для index.html. */


/* ---------- 01 Первый экран ---------- */
.ng-hero { min-height: auto; padding-top: calc(80px + clamp(24px, 4vw, 64px)); padding-bottom: clamp(32px, 4vw, 56px); background: none; overflow: hidden; }
.ng-hero__grid { display: grid; grid-template-columns: minmax(0, 5.4fr) minmax(0, 6.6fr); gap: 2rem; align-items: center; min-height: min(calc(100dvh - 200px), 780px); }
.ng-hero__copy { position: relative; z-index: 2; }
.ng-hero .hero-highlight::after { display: none; }
.ng-hero__lead { max-width: 50ch; }
.ng-hero__visual { position: relative; min-height: 640px; }
.ng-scene { position: absolute; inset: -40px -90px -20px -40px; z-index: 0; }
.ng-scene canvas { display: block; width: 100%; height: 100%; }
.ng-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(closest-side at 58% 50%, rgba(226, 182, 92, 0.22), transparent 70%);
  transition: opacity 600ms var(--ease-out);
}
.ng-scene.is-live::before { opacity: 0; }

.ng-stmt {
  position: absolute;
  z-index: 2;
  left: -12px;
  bottom: -8px;
  width: min(340px, 62%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 40%), var(--glass);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
:root[data-theme="light"] .ng-stmt { background: var(--surface); }
.ng-stmt__head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.9rem 1.25rem; border-bottom: 1px solid var(--line); }
.ng-stmt__head h6, .ng-stmt__title { font-size: 0.9375rem; font-weight: 500; letter-spacing: 0; }
.ng-stmt__grade { padding: 0.9rem 1.25rem 0; }
.ng-stmt__grade h2 { font-family: var(--font-mono); font-size: 2rem; font-weight: 500 !important; line-height: 1; }
.ng-stmt__grade h2 .text-success { font-size: 0.9375rem !important; color: var(--gold-text) !important; }
.ng-stmt__grade svg { width: 14px; height: 14px; vertical-align: -1px; }
.ng-stmt__rows { padding: 0.35rem 1.25rem; }
.ng-lr { display: flex; align-items: baseline; gap: 0.6rem; padding: 6px 0; font-size: 0.875rem; }
.ng-lr__dots { flex: 1; min-width: 20px; border-bottom: 1px dotted var(--line-strong); transform: translateY(-4px); }
.ng-lr__val { margin: 0; font-family: var(--font-mono); font-size: 0.9375rem; font-weight: 500; letter-spacing: 0; white-space: nowrap; }
.ng-lr--total { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--gold-line); }
.ng-lr--total .ng-lr__val { color: var(--gold-text) !important; }
.ng-stmt__chart { padding: 0.5rem 1.25rem 0.75rem; }
.ng-stmt__chart-label { margin-bottom: 0.4rem; }
.ng-bars { display: flex; align-items: flex-end; gap: 4px; height: 60px !important; border-bottom: 1px solid var(--line-strong); }
.ng-bars .bar { flex: 1; background: linear-gradient(180deg, rgba(174, 185, 205, 0.5), rgba(174, 185, 205, 0.16)); border-radius: 0; transition: height var(--dur-3) var(--ease-out); }
.ng-bars .ng-bar--last { background: var(--gold-fill); }
.ng-stmt__foot { display: flex; justify-content: flex-end; padding: 0 1.25rem 0.9rem; }

.ng-seg { display: inline-flex; padding: 3px; border: 1px solid var(--line-strong); border-radius: 999px; }
.ng-seg button {
  min-width: 48px;
  min-height: 32px;
  padding: 0 0.75rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  transition: background var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out);
}
.ng-seg button:hover { color: var(--text); }
.ng-seg button.active, .ng-seg button[aria-selected="true"] { background: var(--gold-fill); color: var(--on-gold); }

/* Полоса отраслей */
.industry-section { background: rgba(0, 0, 0, 0.12) !important; border-color: var(--line) !important; }
:root[data-theme="light"] .industry-section { background: var(--surface) !important; }
.industry-title { letter-spacing: var(--track-label) !important; color: var(--text-3) !important; }
.industry-item { font-size: 1.0625rem; color: var(--text); }
.industry-sep { color: var(--gold-line) !important; }

/* ---------- 02 Проблемы ---------- */

/* ---------- 03 До / после ---------- */
.ng-post {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 40%), var(--glass);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
}
:root[data-theme="light"] .ng-post { background: var(--surface); }
.ng-post__head, .ng-post__row { display: grid; grid-template-columns: 56px 1fr 1fr; }
.ng-post__head { border-bottom: 1px solid var(--line-strong); }
.ng-post__head h3 { display: flex; align-items: center; gap: 0.5rem; margin: 0; padding: 1rem 1.5rem; font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; border-left: 1px solid var(--line); }
.ng-post__head h3.text-success { color: var(--gold-text) !important; }
.ng-post__head svg { width: 18px; height: 18px; }
.ng-post__row { border-bottom: 1px solid var(--line); cursor: pointer; transition: background var(--dur-3) var(--ease-out); }
.ng-post__row:last-of-type { border-bottom: 0; }
.ng-post__cell { display: flex; align-items: center; gap: 0.75rem; min-height: 60px; padding: 0.6rem 1.5rem; border-left: 1px solid var(--line); }
.ng-post__cell svg { width: 18px; height: 18px; flex: none; }
.ng-before svg { color: var(--red); }
.ng-after svg { color: var(--gold-text); }
.ng-before .t { color: var(--text); text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: transparent; transition: color var(--dur-3) var(--ease-out), text-decoration-color var(--dur-3) var(--ease-out); }
.ng-after .t, .ng-after svg { opacity: 0.12; filter: blur(3px); transition: opacity var(--dur-3) var(--ease-out), filter var(--dur-3) var(--ease-out); }
.ng-post__row.is-posted .ng-before .t { color: var(--text-3); text-decoration-color: var(--red); }
.ng-post__row.is-posted .ng-after .t, .ng-post__row.is-posted .ng-after svg { opacity: 1; filter: none; }
.ng-post__row.is-posted { background: linear-gradient(to right, transparent 56px, var(--gold-soft)); }
.ng-post__ruler { position: absolute; left: 0; right: 0; top: var(--ruler-top, 52px); border-top: 2px solid var(--gold); box-shadow: 0 0 14px rgba(226, 182, 92, 0.6); pointer-events: none; transition: top var(--dur-3) var(--ease-out); }
.ng-post__grip {
  position: absolute;
  left: 8px;
  top: calc(var(--ruler-top, 52px) - 20px);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--gold-fill);
  color: var(--on-gold);
  cursor: grab;
  touch-action: none;
  box-shadow: 0 0 0 4px var(--bg-2), 0 0 24px rgba(226, 182, 92, 0.6);
  transition: top var(--dur-3) var(--ease-out);
}
.ng-post__grip:active { cursor: grabbing; }
.ng-post__grip svg { width: 18px; height: 18px; }
.ng-post.is-dragging .ng-post__ruler, .ng-post.is-dragging .ng-post__grip { transition: none; }

/* ---------- 04 Одна система ---------- */
.ng-tacc { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "left right" "spine spine"; gap: 1rem; }
.ng-tacc__side { grid-area: left; padding: 2rem; }
.ng-tacc__side--right { grid-area: right; }
.ng-tacc__title { margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--gold-line); color: var(--gold-text) !important; font-size: var(--fs-label) !important; font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase; }
.ng-tacc__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.5rem; margin: 0; }
.ng-tacc__list li { display: flex; align-items: center; gap: 0.75rem; min-height: 48px; border-bottom: 1px solid var(--line); color: var(--text); transition: color var(--dur-1); }
.ng-tacc__list li::before { content: ""; width: 7px; height: 7px; flex: none; transform: rotate(45deg); background: var(--gold); box-shadow: 0 0 8px rgba(226, 182, 92, 0.6); }
.ng-tacc__list li:hover { color: var(--gold-text); }
.ng-tacc__spine { grid-area: spine; padding: 3rem 1.5rem 2rem; text-align: center; }
.ng-tacc__spine > h3, .ng-tacc__spine > h4 { font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.85rem); margin-bottom: 2rem; }
.ng-tacc__steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; margin: 0; }
.ng-tacc__steps::before { content: ""; position: absolute; top: 44px; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-line) 12%, var(--gold-line) 88%, transparent); }
.ng-tacc__steps li { position: relative; display: grid; justify-items: center; gap: 1rem; font-size: 1.0625rem; font-weight: 500; line-height: 1.3; color: var(--text-2); transition: color var(--dur-3); }
.ng-tacc__steps .medal { --m: 88px; }
.ng-tacc__steps li.is-lit { color: var(--gold-text); }
.ng-tacc__steps li.is-lit .medal { box-shadow: inset 0 0 0 1.5px var(--gold-light), inset 0 0 0 6px var(--bg), inset 0 0 0 7px rgba(244, 217, 144, 0.5), 0 0 40px -2px rgba(226, 182, 92, 0.6); }

/* ---------- 05 Решения ---------- */
.ng-sol { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 3rem; align-items: start; }
.ng-sol__item { display: contents; }
.ng-sol__h { grid-column: 1; margin: 0; font-size: inherit; }
.ng-sol__tab {
  display: grid;
  grid-template-columns: 44px 1fr 20px;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 62px;
  padding: 0.75rem 1rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text-2);
  text-align: left;
  font-size: clamp(1.1rem, 1.05rem + 0.3vw, 1.3rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: color var(--dur-1) var(--ease-out), background var(--dur-2) var(--ease-out);
}
.ng-sol__n { font-family: var(--font-mono); font-size: 0.875rem; color: var(--text-3); }
.ng-sol__tab svg { width: 18px; height: 18px; opacity: 0; transition: opacity var(--dur-1); }
.ng-sol__tab:hover { color: var(--text); }
.ng-sol__tab[aria-expanded="true"] { color: var(--gold-text); background: linear-gradient(90deg, var(--gold-soft), transparent); box-shadow: inset 2px 0 0 var(--gold); }
.ng-sol__tab[aria-expanded="true"] .ng-sol__n { color: var(--gold-text); }
.ng-sol__tab[aria-expanded="true"] svg { opacity: 1; }
.ng-sol__panel { grid-column: 2; grid-row: 1 / span 8; position: sticky; top: 110px; padding: 3rem 2.5rem 2.5rem; overflow: hidden; }
.ng-sol__panel[hidden] { display: none; }
.ng-sol__panel::before { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(226, 182, 92, 0.18); box-shadow: 0 0 0 40px rgba(226, 182, 92, 0.03), 0 0 0 80px rgba(226, 182, 92, 0.02); pointer-events: none; }
.ng-sol__big::before {
  content: attr(data-n);
  display: block;
  margin-bottom: 1rem;
  font-size: clamp(3.5rem, 2.6rem + 3vw, 5.5rem);
  line-height: 0.95;
  font-weight: 300;
  letter-spacing: -0.04em;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ng-sol__desc { font-size: var(--fs-lead); line-height: 1.55; max-width: 46ch; }
.ng-sol__result { display: flex; gap: 0.75rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--gold-line); color: var(--text); font-weight: 500; }
.ng-sol__result svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--gold-text); }
.ng-sol__panel .ng-link-go { margin-top: 1rem; }
.ng-sol__panel.is-in { animation: ng-panel-in var(--dur-3) var(--ease-out); }
@keyframes ng-panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- 06 Аудит-квиз ---------- */
.ng-quiz { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 3rem; align-items: start; }
.ng-quiz .ng-head { position: sticky; top: 110px; }
.ng-quiz .display-6, .ng-journal .display-5 { font-size: clamp(1.9rem, 1.4rem + 1.5vw, 2.6rem); line-height: 1.1; }
.audit-step h3, .audit-step h4 { color: var(--gold-text) !important; font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.65rem); }
.audit-progress .progress { background: var(--line) !important; border-radius: 999px; }
.audit-progress .progress-bar { background: var(--gold-fill) !important; box-shadow: 0 0 12px rgba(226, 182, 92, 0.6); }
.btn-gold-solid:disabled { opacity: 0.45; box-shadow: none; }

/* ---------- 07 Отрасли ---------- */
.ng-ind { display: flex; height: clamp(440px, 42vw, 520px); margin: 0; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius-card); }
.ng-ind__item { position: relative; flex: 1 1 0; min-width: 0; border-right: 1px solid var(--line); overflow: hidden; transition: flex-grow var(--dur-3) var(--ease-out); }
.ng-ind__item:last-child { border-right: 0; }
.ng-ind__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.18; filter: saturate(0.6); transition: opacity var(--dur-3) var(--ease-out), filter var(--dur-3); }
.ng-ind__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 20, 38, 0.55) 0%, rgba(11, 20, 38, 0.2) 40%, rgba(11, 20, 38, 0.92) 100%); pointer-events: none; }
:root[data-theme="light"] .ng-ind__item::after { background: linear-gradient(180deg, rgba(242, 244, 248, 0.6), rgba(242, 244, 248, 0.25) 40%, rgba(242, 244, 248, 0.95)); }
.ng-ind__item.is-open { flex-grow: 4.2; }
.ng-ind__item.is-open .ng-ind__img { opacity: 0.6; filter: saturate(0.9); }
.ng-ind__h { position: absolute; inset: 0; z-index: 2; margin: 0; font-size: inherit; }
.ng-ind__btn { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; width: 100%; padding: 1.5rem 1rem; border: 0; background: transparent; color: var(--text-2); text-align: left; }
.ng-ind__btn svg { width: 26px; height: 26px; color: var(--gold-text); }
.ng-ind__t { writing-mode: vertical-rl; transform: rotate(180deg); font-size: clamp(1.05rem, 1rem + 0.3vw, 1.3rem); font-weight: 500; white-space: nowrap; color: var(--text); transition: opacity var(--dur-1); }
.ng-ind__btn:hover .ng-ind__t { color: var(--gold-text); }
.ng-ind__item.is-open .ng-ind__btn { pointer-events: none; padding: 2rem; justify-content: flex-start; }
.ng-ind__item.is-open .ng-ind__t { writing-mode: horizontal-tb; transform: none; position: absolute; left: 2rem; bottom: 6.5rem; font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.85rem); white-space: normal; max-width: 22ch; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ng-ind__item.is-open .ng-ind__btn svg { width: 64px; height: 64px; padding: 16px; border-radius: 50%; background: var(--glass); box-shadow: inset 0 0 0 1.5px var(--gold-light), 0 0 30px rgba(226, 182, 92, 0.45); }
.ng-ind__body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 0 2rem 2rem; opacity: 0; transform: translateY(10px); transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-3) var(--ease-out); pointer-events: none; }
.ng-ind__item.is-open .ng-ind__body { opacity: 1; transform: none; transition-delay: 140ms; pointer-events: auto; }
.ng-ind__body p { color: var(--text) !important; max-width: 42ch; font-size: 1rem !important; }

/* ---------- 08 Сценарии ---------- */
.ng-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); column-gap: 1rem; }
.ng-case { display: grid; grid-row: span 4; grid-template-rows: subgrid; padding: 0; }
.ng-case > * { padding: 1.4rem 1.5rem; border-bottom: 1px solid var(--line); }
.ng-case > :last-child { border-bottom: 0; }
.ng-case__head { display: grid; gap: 1rem; align-content: start; }
.ng-case__head h3, .ng-case__head h4 { color: var(--gold-text) !important; font-size: 1.25rem; line-height: 1.25; margin: 0; }
.ng-case__head .ng-stamp { justify-self: start; }
.ng-case__label { font-size: 0.75rem; font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--text-3); }
.ng-case__res { background: var(--gold-soft); }
.ng-case__res li { display: flex; gap: 0.5rem; align-items: flex-start; padding: 2px 0; color: var(--text) !important; }
.ng-case__res svg { flex: none; margin-top: 4px; color: var(--gold-text); }

/* ---------- 09 Путь ---------- */
.ng-journal { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 3rem; align-items: start; }
.ng-journal .ng-head { position: sticky; top: 110px; }
.ng-journal__list { position: relative; --p: 0; margin: 0; }
.ng-journal__list::before, .ng-journal__list::after { content: ""; position: absolute; left: 31px; top: 0; width: 2px; height: 100%; background: var(--line); }
.ng-journal__list::after { background: linear-gradient(180deg, var(--gold-light), var(--gold-deep)); box-shadow: 0 0 12px rgba(226, 182, 92, 0.6); transform: scaleY(var(--p)); transform-origin: top; }
.ng-entry { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 0.4rem 1.5rem; padding: 1rem 0 2rem; }
.ng-entry__n { position: relative; z-index: 1; grid-row: span 2; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-strong); font-family: var(--font-mono); font-size: 1.0625rem; color: var(--text-3); transition: box-shadow var(--dur-3), color var(--dur-3); }
.ng-entry.is-on .ng-entry__n { color: var(--gold-text); box-shadow: inset 0 0 0 1.5px var(--gold-light), inset 0 0 0 5px var(--bg-2), inset 0 0 0 6px rgba(244, 217, 144, 0.35), 0 0 28px rgba(226, 182, 92, 0.45); }
.ng-entry h3, .ng-entry h4 { margin: 0; padding-top: 14px; color: var(--gold-text) !important; font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.7rem); }
.ng-entry p { margin: 0; font-size: var(--fs-lead); line-height: 1.5; max-width: 52ch; }

/* ---------- 10 Дашборд ---------- */
.ng-dash { padding: 0 !important; overflow: hidden; }
.ng-dash__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 1rem 1.5rem; border-bottom: 1px solid var(--line); }
.ng-dash__head h3, .ng-dash__head h5 { color: var(--gold-text) !important; font-size: 1.1875rem; }
.ng-dash .ng-seg button { font-family: var(--font-sans); }
.ng-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.ng-kpi { padding: 1.5rem; }
.ng-kpi + .ng-kpi { border-left: 1px solid var(--line); }
.ng-kpi h3 { margin: 0.5rem 0 0.25rem; font-family: var(--font-mono); font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.4rem); font-weight: 500; letter-spacing: -0.03em; }
.ng-kpi .text-success, .ng-kpi .text-warning { font-family: var(--font-mono); }
.ng-kpi .text-success { color: var(--gold-text) !important; }
.ng-kpi .text-warning { color: var(--red) !important; }
.ng-kpi svg { width: 14px; height: 14px; }
.ng-dash__body { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.ng-dash__chart { padding: 1.5rem; border-right: 1px solid var(--line); min-width: 0; }
.ng-dash__sub { margin-bottom: 1rem; }
.ng-chart { display: flex; align-items: flex-end; gap: 0.75rem; height: 220px !important; margin-top: 0 !important; padding: 0 0.25rem; border-bottom: 1px solid var(--line-strong); background-image: linear-gradient(var(--line) 1px, transparent 1px); background-size: 100% 25%; }
.ng-chart .bar-col { flex: 1; display: flex; flex-direction: row; align-items: flex-end; justify-content: center; gap: 4px; height: 100%; }
.ng-chart .bar { width: 42%; max-width: 26px; border-radius: 0; transform-origin: bottom; transition: height var(--dur-3) var(--ease-out), transform 1s var(--ease-out); }
.ng-bar-rev { background: linear-gradient(180deg, rgba(174, 185, 205, 0.55), rgba(174, 185, 205, 0.2)); }
.ng-bar-cash { background: var(--gold-fill); box-shadow: 0 0 12px rgba(226, 182, 92, 0.35); }
.ng-chart__x { display: flex; justify-content: space-around; padding-top: 0.6rem; font-family: var(--font-mono); font-size: 0.75rem !important; }
.ng-funnel { padding: 1.5rem; }
.ng-funnel .funnel-item { margin-bottom: 0.9rem; }
.ng-funnel__row { display: flex; justify-content: space-between; gap: 0.75rem; margin-bottom: 6px; }
.ng-funnel__row span:last-child { font-family: var(--font-mono); color: var(--text); }
.ng-funnel__bar { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.ng-funnel__bar span { display: block; height: 100%; border-radius: inherit; background: rgba(174, 185, 205, 0.5); }
.ng-funnel__bar--gold span { background: var(--gold-fill); box-shadow: 0 0 10px rgba(226, 182, 92, 0.6); }
.ng-funnel__keep { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--gold-line); }
.ng-funnel__keep .fw-bold { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 500 !important; color: var(--gold-text) !important; }

/* ---------- 11 Больше, чем технологии ---------- */
.ng-why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; align-items: start; }
.ng-seal { position: sticky; top: 120px; display: grid; place-items: center; padding: 2rem 0; }
.ng-seal__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(220px, 24vw, 320px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(244, 217, 144, 0.14), transparent 65%), var(--surface);
  box-shadow: inset 0 0 0 1px rgba(226, 182, 92, 0.6), inset 0 0 0 14px var(--bg-2), inset 0 0 0 15px rgba(226, 182, 92, 0.3), 0 0 80px -10px rgba(226, 182, 92, 0.4);
}
.ng-seal__mark::before, .ng-seal__mark::after { content: ""; position: absolute; inset: -22px; border-radius: 50%; border: 1px solid rgba(226, 182, 92, 0.18); }
.ng-seal__mark::after { inset: -46px; border-style: dashed; border-color: rgba(226, 182, 92, 0.14); animation: ng-spin 60s linear infinite; }
@keyframes ng-spin { to { transform: rotate(360deg); } }
.ng-seal__mark img { width: 62%; height: auto; filter: brightness(0) invert(1) drop-shadow(0 0 18px rgba(226, 182, 92, 0.45)); }
:root[data-theme="light"] .ng-seal__mark img { filter: brightness(0) drop-shadow(0 0 12px rgba(226, 182, 92, 0.35)); }
.ng-clauses { display: grid; gap: 0.75rem; }
.ng-clause { padding: 1.4rem 1.6rem; border: 1px solid var(--line); border-radius: var(--radius-card); transition: border-color var(--dur-2), background var(--dur-2); }
.ng-clause:hover { border-color: var(--gold-line); background: var(--gold-soft); }
.ng-clause h3, .ng-clause h4 { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.7rem); margin-bottom: 0.4rem !important; }
.ng-clause p { font-size: var(--fs-lead); line-height: 1.5; }

/* ---------- 12 Итог ---------- */

/* ---------- 13 Портфолио ---------- */
.ng-folio { margin-top: 0.5rem; }
.ng-folio > div:not([id]) { padding: 0; }
.ng-work {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 300px;
  padding: 2.5rem 2rem 2rem;
  border: 1px solid var(--line);
  color: inherit;
  transition: background var(--dur-3) var(--ease-out);
}
.ng-folio > div:nth-child(2) .ng-work {
  z-index: 1;
  margin-block: -1.25rem;
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--gold);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 60%), var(--surface);
  box-shadow: var(--shadow-2);
}
.ng-work .medal { --m: 80px; margin-bottom: 1.25rem; }
.ng-work h3, .ng-work h5 { color: var(--gold-text) !important; font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.7rem); }
.ng-work__go { display: inline-flex; align-items: center; gap: 0.5rem; align-self: flex-start; margin-top: auto; padding: 0.6rem 1rem; border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); }
.ng-folio > div:nth-child(2) .ng-work__go { background: var(--gold-fill); color: var(--on-gold); border-color: transparent; }
.ng-work:hover { background: var(--gold-soft); }
.ng-work:hover .ng-work__go { border-color: var(--gold); color: var(--gold-text); }
.ng-folio > div:nth-child(2) .ng-work:hover .ng-work__go { color: var(--on-gold); }

/* ---------- Адаптив ---------- */
@media (max-width: 1199.98px) {
  .ng-hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .ng-hero__visual { min-height: 520px; }
  .ng-scene { inset: -20px -40px 60px -40px; }
  .ng-stmt { left: auto; right: 0; }
  .ng-dash__body { grid-template-columns: 1fr; }
  .ng-dash__chart { border-right: 0; border-bottom: 1px solid var(--line); }
  .ng-quiz, .ng-journal, .ng-why { grid-template-columns: 1fr; }
  .ng-quiz .ng-head, .ng-journal .ng-head { position: static; margin-bottom: 2rem; }
  .ng-seal { position: static; }
  .ng-seal__mark { width: 200px; }
}
@media (max-width: 991.98px) {
  .ng-tacc { grid-template-columns: 1fr; grid-template-areas: "left" "right" "spine"; }
  .ng-tacc__steps { grid-template-columns: 1fr; gap: 0.75rem; }
  .ng-tacc__steps::before { top: 0; bottom: 0; left: 43px; right: auto; width: 1px; height: auto; background: var(--gold-line); }
  .ng-tacc__steps li { grid-template-columns: 88px 1fr; justify-items: start; align-items: center; text-align: left; }
  .ng-tacc__spine { text-align: left; }
  .ng-sol { display: block; }
  .ng-sol__item { display: block; }
  .ng-sol__panel { position: relative; top: auto; margin-bottom: 1rem; padding: 1.5rem; }
  .ng-sol__big { display: none; }
  .ng-ind { flex-direction: column; height: auto; }
  .ng-ind__item { flex: none; border-right: 0; border-bottom: 1px solid var(--line); min-height: 64px; }
  .ng-ind__item:last-child { border-bottom: 0; }
  .ng-ind__h { position: relative; inset: auto; }
  .ng-ind__btn { position: relative; inset: auto; flex-direction: row; align-items: center; justify-content: flex-start; gap: 1rem; min-height: 64px; padding: 0.75rem 1rem; }
  .ng-ind__t { writing-mode: horizontal-tb; transform: none; }
  .ng-ind__item.is-open .ng-ind__btn { padding: 0.75rem 1rem; }
  .ng-ind__item.is-open .ng-ind__t { position: static; font-size: 1.15rem; }
  .ng-ind__item.is-open .ng-ind__btn svg { width: 26px; height: 26px; padding: 0; box-shadow: none; background: none; }
  .ng-ind__body { position: relative; padding: 0 1rem 1.25rem calc(1rem + 26px + 1rem); display: none; }
  .ng-ind__item.is-open .ng-ind__body { display: block; }
  .ng-cases { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 1rem; }
  .ng-case { grid-row: auto; grid-template-rows: none; }
  .ng-folio > div:nth-child(2) .ng-work { margin-block: 0; }
  .ng-folio { row-gap: 1rem; }
}
@media (max-width: 767.98px) {
  .ng-hero { padding-top: 110px; }
  .ng-hero__visual { min-height: 0; display: grid; }
  .ng-scene { position: relative; inset: auto; height: 340px; margin: -24px -24px 0; }
  .ng-stmt { position: relative; left: auto; right: auto; bottom: auto; width: 100%; margin-top: -40px; }
  .ng-kpis { grid-template-columns: 1fr 1fr; }
  .ng-kpi:nth-child(3) { border-left: 0; }
  .ng-kpi:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .ng-post__head, .ng-post__row { grid-template-columns: 36px 1fr 1fr; }
  .ng-post__head h3, .ng-post__cell { padding-inline: 0.75rem; }
  .ng-post__cell { font-size: 0.9375rem; min-height: 58px; }
  .ng-post__cell svg, .ng-post__head svg { display: none; }
  .ng-post__head h3 { font-size: 0.6875rem; letter-spacing: 0.06em; }
  .ng-post__grip { left: -2px; width: 36px; height: 36px; top: calc(var(--ruler-top, 52px) - 18px); }
  .ng-post__row.is-posted { background: linear-gradient(to right, transparent 36px, var(--gold-soft)); }
  .ng-entry { grid-template-columns: 52px 1fr; gap: 0.4rem 1rem; }
  .ng-entry__n { width: 52px; height: 52px; font-size: 0.9375rem; }
  .ng-entry h3, .ng-entry h4 { padding-top: 10px; }
  .ng-journal__list::before, .ng-journal__list::after { left: 25px; }
  .ng-tacc__list { grid-template-columns: 1fr; }
  .ng-tacc__side { padding: 1.5rem; }
}

.ng-hero .btn { padding: 1rem 1.6rem; font-size: 0.875rem; }
.ng-hero .btn.ng-go { padding-right: 4.6rem; }
