/* ============================================================
   managers.css — индиго дизайн-система для лендинга
   /ru/solutions/managers (Ассессмент и развитие руководителей).

   ВСЕ селекторы префиксованы `.mgr` — страница обёрнута в
   <div class="mgr">. Это изолирует индиго-стиль от остального
   сайта (tokens/base/components.css сюда НЕ подключаются).
   ============================================================ */

.mgr {
  /* палитра */
  --bg: #f1ece2;
  --bg-grad-top: #f6f1e9;
  --ink: #211c16;
  --ink-2: #5a5247;
  --ink-3: #6a6151;
  --ink-4: #8a7e6e;
  --indigo: #3f3d9e;
  --indigo-deep: #29276e;
  --orange: #ff7555; /* «.ai» из логотипа — эмфаза в текстах */
  --green: #1a8a4a;  /* forest green из /ru (--color-green-500) — продуктовые метрики */
  --btn-from: #4d4ab8;
  --btn-to: #36338c;
  --btn-from-h: #5754c4;
  --btn-to-h: #3a3796;
  --btn-border: #322f86;
  --card-from: #ffffff;
  --card-to: #fcfbf7;
  --card-border: #ece6da;
  --card-border-h: #c9bfae;

  /* score-палитра (как на главном лендинге / в приложении) */
  --score-high: #63be7b; /* >= 9 */
  --score-good: #a4d17f; /* >= 7 */
  --score-mid: #fdeb84;  /* >= 4 */
  --score-low: #f8696b;  /* <  4 */

  /* тени */
  --sh-card: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 6px -2px rgba(45, 40, 90, 0.08),
    0 22px 44px -26px rgba(45, 40, 90, 0.22);
  --sh-btn: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 12px 24px -10px rgba(45, 40, 90, 0.55);

  font-family: 'Onest', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg-grad-top) 0%, var(--bg) 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  /* НЕ ставим overflow-x:hidden здесь — это делало .mgr скролл-контекстом и
     ломало position:sticky у хедера. Горизонтальный спилл от hero-чипов
     клипуется локально в .mgr-hero (overflow-x: clip). */
}

.mgr *,
.mgr *::before,
.mgr *::after {
  box-sizing: border-box;
}

.mgr ::selection {
  background: rgba(63, 61, 158, 0.18);
}

/* ---------- контейнер / секции ---------- */
.mgr-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}
.mgr-section {
  padding-top: 96px;
}
.mgr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo);
  background: rgba(63, 61, 158, 0.07);
  border: 1px solid rgba(63, 61, 158, 0.16);
  border-radius: 999px;
  padding: 7px 14px;
}
.mgr-eyebrow--plain {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  letter-spacing: 0.16em;
}
.mgr-eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--indigo);
  box-shadow: 0 0 0 4px rgba(63, 61, 158, 0.18);
}
.mgr-h2 {
  font-family: 'Onest', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.mgr-lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  max-width: 60ch;
  text-wrap: pretty;
}
.mgr-section__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 44px;
  /* px-мера, а не ch: ch считается от 16px контейнера и зажимал H2 в ~480px → 3 строки */
  max-width: 48rem;
}

/* ---------- кнопки + :hover (правка 1) ---------- */
.mgr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Onest', sans-serif;
  font-weight: 600;
  border-radius: 13px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease,
    box-shadow 0.18s ease;
}
.mgr-btn--primary {
  font-size: 17px;
  color: #fff;
  background: linear-gradient(180deg, var(--btn-from), var(--btn-to));
  border: 1px solid var(--btn-border);
  padding: 16px 30px;
  box-shadow: var(--sh-btn);
}
.mgr-btn--primary:hover {
  background: linear-gradient(180deg, var(--btn-from-h), var(--btn-to-h));
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 16px 30px -10px rgba(45, 40, 90, 0.6);
}
.mgr-btn--primary:active {
  transform: translateY(0);
}
.mgr-btn--secondary {
  font-size: 17px;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff, #f7f3ec);
  border: 1px solid #e0d9cc;
  padding: 15px 26px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 6px 16px -10px rgba(45, 40, 90, 0.3);
}
.mgr-btn--secondary:hover {
  border-color: var(--card-border-h);
  transform: translateY(-1px);
}
.mgr-btn--sm {
  font-size: 15px;
  padding: 11px 20px;
  border-radius: 11px;
}
.mgr-btn--ghost {
  background: none;
  border: none;
  color: var(--indigo);
  font-size: 15px;
  padding: 11px 6px;
  box-shadow: none;
}
.mgr-btn--ghost:hover {
  color: var(--indigo-deep);
}

/* ---------- хедер (наш по наполнению, индиго-стиль) ---------- */
.mgr-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 233, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(224, 217, 204, 0.6);
}
.mgr-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 40px;
}
.mgr-nav__logo {
  display: flex;
  align-items: center;
  flex: none;
}
.mgr-nav__logo svg {
  height: 26px;
  width: auto;
  display: block;
}
.mgr-nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.mgr-nav__link {
  font-size: 15px;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.15s ease;
}
.mgr-nav__link:hover,
.mgr-nav__link.is-active {
  color: var(--indigo);
}
/* выпадающее меню «Решения» (контент как на /ru) */
.mgr-nav__item--menu {
  position: relative;
}
.mgr-nav__link--menu {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.mgr-nav__caret {
  transition: transform 0.2s ease;
}
.mgr-nav__item--menu:hover .mgr-nav__caret {
  transform: rotate(180deg);
}
/* невидимый «мост» через зазор, чтобы меню не схлопывалось при наведении */
.mgr-nav__item--menu::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}
.mgr-nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  margin-top: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  box-shadow: 0 18px 44px -20px rgba(45, 40, 90, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 60;
}
.mgr-nav__item--menu:hover .mgr-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mgr-nav__dropdown-link {
  display: block;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  color: #e5573a; /* глиняный акцент (orange-500), читаемый на белом */
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.mgr-nav__dropdown-link:hover {
  background: #fff1ed; /* orange-50 */
  color: #c2402a; /* orange-600 */
}
.mgr-nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.mgr-nav__lang {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}
.mgr-nav__lang:hover {
  color: var(--indigo);
  background: rgba(63, 61, 158, 0.07);
}

/* ---------- hero ---------- */
.mgr-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 72px 40px 80px;
  max-width: 1240px;
  margin: 0 auto;
  /* clip (не hidden): гасит горизонтальный спилл чипов, но не режет их
     вертикальный вынос и не создаёт скролл-контекст (sticky-хедер цел). */
  overflow-x: clip;
}
.mgr-hero__col {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.mgr-hero__h1 {
  font-family: 'Onest', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin: 0;
  max-width: 16ch;
  text-wrap: balance;
}
.mgr-hero__h1 em {
  color: var(--orange);
  font-style: normal;
  font-weight: 800;
  white-space: nowrap; /* «AI-ассессмент» не рвём по дефису */
}
.mgr-hero__sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  max-width: 48ch;
}
.mgr-hero__cta {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 4px;
}
/* hero: логотип-полоса клиентов (вместо строки «300+») */
.mgr-clients {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0 0;
}
.mgr-clients__row {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.mgr-clients__logo {
  height: 28px;
  width: auto;
  display: block;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.mgr-clients__logo:hover {
  filter: grayscale(0);
  opacity: 1;
}
.mgr-clients__cap {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.45;
  margin: 0;
  text-wrap: pretty;
}

/* hero media — широкая фото-карточка (без воздушного бордера) */
.mgr-hero__media {
  position: relative;
  display: block;
  min-width: 0;
}
.mgr-hero__glow {
  position: absolute;
  inset: -12% -8% -16% -6%;
  background: radial-gradient(58% 60% at 58% 32%, rgba(63, 61, 158, 0.3), rgba(63, 61, 158, 0) 70%);
  filter: blur(10px);
  z-index: 0;
}
.mgr-hero__photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 7 / 6;
  height: auto;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 20px;
  border: none;
  box-shadow: 0 40px 80px -34px rgba(45, 40, 90, 0.55), 0 10px 24px -14px rgba(45, 40, 90, 0.3);
}
.mgr-wave {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 34%;
}
.mgr-wave span {
  width: 5px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 3px;
  display: block;
  animation: mgrWave 1.1s ease-in-out infinite;
}
/* волна внутри плавающей пилюли (на светлом стекле — индиго) */
.mgr-wave--pill {
  height: 22px;
}
.mgr-wave--pill span {
  width: 3px;
  background: var(--indigo);
}
.mgr-wave span:nth-child(1) { height: 40%; animation-delay: 0s; }
.mgr-wave span:nth-child(2) { height: 75%; animation-delay: 0.12s; }
.mgr-wave span:nth-child(3) { height: 100%; animation-delay: 0.24s; }
.mgr-wave span:nth-child(4) { height: 55%; animation-delay: 0.36s; }
.mgr-wave span:nth-child(5) { height: 85%; animation-delay: 0.48s; }
.mgr-wave span:nth-child(6) { height: 45%; animation-delay: 0.6s; }

/* плавающий glass-чип на hero */
.mgr-chip {
  position: absolute;
  z-index: 3;
  top: 26px;
  left: -34px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 14px 17px;
  box-shadow: 0 18px 40px -16px rgba(45, 40, 90, 0.4);
  display: flex;
  flex-direction: column;
  gap: 5px;
  animation: mgrFloatA 7s ease-in-out infinite;
}
.mgr-chip__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-4);
}
.mgr-chip__score {
  font-family: 'Onest', system-ui, sans-serif;
  font-size: 27px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}
.mgr-chip__note {
  font-size: 12px;
  color: var(--ink-2);
}

/* плавающая пилюля с волной (внизу-справа фото) */
.mgr-pill {
  position: absolute;
  z-index: 3;
  bottom: 30px;
  right: -30px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 11px 18px;
  box-shadow: 0 18px 40px -16px rgba(45, 40, 90, 0.4);
  animation: mgrFloatB 8.5s ease-in-out 0.6s infinite;
}
.mgr-pill__text {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

/* плавающий тег компетенции (сверху-справа) */
.mgr-tag {
  position: absolute;
  z-index: 4;
  top: -16px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 8px 14px;
  box-shadow: 0 16px 36px -16px rgba(45, 40, 90, 0.38);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  white-space: nowrap;
  animation: mgrFloatC 6s ease-in-out 1.2s infinite;
}
.mgr-tag__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
}

/* плавающая live-строка расшифровки (снизу-слева) */
.mgr-live {
  position: absolute;
  z-index: 4;
  bottom: -18px;
  left: 24px;
  max-width: 270px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  padding: 11px 15px;
  box-shadow: 0 16px 36px -16px rgba(45, 40, 90, 0.38);
  animation: mgrFloatD 9s ease-in-out 0.3s infinite;
}
.mgr-live__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.07em;
  color: var(--ink-4);
}
.mgr-live__text {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink);
}
.mgr-live__num {
  color: var(--orange);
  font-weight: 700;
}

@keyframes mgrWave {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}
@keyframes mgrFloatA {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -9px, 0); }
}
@keyframes mgrFloatB {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, 8px, 0); }
}
@keyframes mgrFloatC {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-7px, 5px, 0); }
}
@keyframes mgrFloatD {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(6px, -6px, 0); }
}

/* ---------- mini-CTA (середина страницы) ---------- */
.mgr-midcta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 40px 48px;
  background: radial-gradient(120% 140% at 6% 0%, #34328a 0%, #25235c 56%, #1b1942 100%);
  border: 1px solid #2c2a66;
  box-shadow: 0 40px 80px -34px rgba(45, 40, 90, 0.6);
}
.mgr-midcta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(55% 60% at 92% 10%, rgba(124, 121, 222, 0.28), transparent 70%);
  pointer-events: none;
}
.mgr-midcta__text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 640px;
}
.mgr-midcta__h {
  font-family: 'Onest', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  text-wrap: balance;
}
.mgr-midcta__p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #c8c5e6;
  text-wrap: pretty;
}
.mgr-midcta__btn {
  position: relative;
  z-index: 1;
  flex: none;
}

/* ---------- trust strip ---------- */
.mgr-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: linear-gradient(180deg, var(--card-from), var(--card-to));
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--sh-card);
}
.mgr-trust__cell {
  padding: 30px 40px;
  border-right: 1px solid #efe9dd;
}
.mgr-trust__cell:last-child {
  border-right: none;
}
.mgr-trust__num {
  font-family: 'Onest', system-ui, sans-serif;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.mgr-trust__num--accent {
  color: var(--green);
}
.mgr-trust__cap {
  font-size: 14px;
  color: var(--ink-3);
  margin-top: 5px;
}

/* ---------- карточки / сетки ---------- */
.mgr-grid {
  display: grid;
  gap: 20px;
}
.mgr-grid--2 { grid-template-columns: repeat(2, 1fr); }
.mgr-grid--3 { grid-template-columns: repeat(3, 1fr); }
.mgr-grid--4 { grid-template-columns: repeat(4, 1fr); }

.mgr-card {
  background: linear-gradient(180deg, var(--card-from), var(--card-to));
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--sh-card);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.mgr-card--hover:hover {
  border-color: var(--card-border-h);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 6px -2px rgba(45, 40, 90, 0.1),
    0 28px 54px -26px rgba(45, 40, 90, 0.3);
}
.mgr-card__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--indigo);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.mgr-card__badge {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(180deg, #5552be, #3a3796);
  border: 1px solid var(--btn-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Onest', system-ui, sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 8px 16px -8px rgba(45, 40, 90, 0.5);
}
.mgr-card__title {
  font-family: 'Onest', system-ui, sans-serif;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 600;
  margin: 0 0 8px;
  text-wrap: balance;
}
/* в плотной 4-колоночной сетке колонка ~200px — уменьшаем кегль, чтобы заголовки были в 1–2 строки */
.mgr-grid--4 .mgr-card__title {
  font-size: 17px;
  line-height: 1.22;
}
.mgr-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-3);
  text-wrap: pretty;
}
.mgr-card__eval {
  margin: 12px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: pretty;
}
.mgr-card__eval b {
  color: var(--ink);
}

/* цитата под блоком */
.mgr-quote {
  margin: 28px 0 0;
  font-family: 'Onest', system-ui, sans-serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.45;
  color: var(--ink);
  max-width: 62ch;
  text-wrap: pretty;
}
.mgr-quote__by {
  display: block;
  margin-top: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-style: normal;
  font-size: 12px;
  color: var(--ink-4);
}

/* ---------- контраст-разворот ---------- */
.mgr-flip {
  text-align: center;
  padding: 40px;
  max-width: 1000px;
  margin: 0 auto;
}
.mgr-flip__small {
  font-size: 15px;
  color: var(--ink-3);
  margin: 0 0 18px;
}
.mgr-flip__big {
  font-family: 'Onest', system-ui, sans-serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.mgr-flip__big em {
  color: var(--orange);
  font-style: italic;
}

/* ---------- тёмная индиго-секция (Качество оценки) ---------- */
.mgr-dark {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: radial-gradient(120% 130% at 12% 0%, #34328a 0%, #25235c 52%, #1b1942 100%);
  box-shadow: 0 40px 80px -34px rgba(45, 40, 90, 0.6);
  border: 1px solid #2c2a66;
}
.mgr-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 88% 12%, rgba(124, 121, 222, 0.28), transparent 70%);
  pointer-events: none;
}
.mgr-dark__grid {
  position: relative;
  z-index: 1;
  padding: 60px 56px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.mgr-dark__text {
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: #edecf7;
}
.mgr-dark__eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a9a6e0;
}
.mgr-dark__h2 {
  font-family: 'Onest', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.mgr-dark__lead {
  font-size: 17px;
  line-height: 1.55;
  color: #bfbce0;
  margin: 0;
  max-width: 46ch;
  text-wrap: pretty;
}
.mgr-proofs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mgr-proofs li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.5;
  color: #c8c5e6;
}
.mgr-proofs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9c99ec;
  box-shadow: 0 0 8px #9c99ec;
}
.mgr-proofs li span {
  font-weight: 600;
  color: #edecf7;
}

/* glass-панель со score-картой */
.mgr-panel {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.mgr-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.mgr-panel__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #a9a6e0;
}
.mgr-panel__score {
  font-family: 'Onest', system-ui, sans-serif;
  font-size: 30px;
  font-weight: 600;
  color: #fff;
}
.mgr-panel__score small {
  font-size: 16px;
  color: #8f8cc0;
}
.mgr-metrics {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mgr-metric__row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #d7d5ee;
  margin-bottom: 7px;
}
.mgr-metric__row b {
  color: #fff;
}
.mgr-metric__bar {
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
/* score-color заливка (правка 4) */
.mgr-metric__fill {
  height: 100%;
  border-radius: 99px;
}
.mgr-metric__fill--high { background: var(--score-high); box-shadow: 0 0 12px rgba(99, 190, 123, 0.5); }
.mgr-metric__fill--good { background: var(--score-good); box-shadow: 0 0 12px rgba(164, 209, 127, 0.5); }
.mgr-metric__fill--mid  { background: var(--score-mid);  box-shadow: 0 0 12px rgba(253, 235, 132, 0.5); }
.mgr-metric__fill--low  { background: var(--score-low);  box-shadow: 0 0 12px rgba(248, 105, 107, 0.5); }
.mgr-metric__note {
  margin: 6px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: #b6b3da;
}
.mgr-panel__disc {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 13px;
  background: rgba(124, 121, 222, 0.14);
  border: 1px solid rgba(124, 121, 222, 0.3);
  display: flex;
  gap: 11px;
  align-items: flex-start;
}
.mgr-panel__disc span:first-child {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange, #ff7555);
  box-shadow: 0 0 0 0 rgba(255, 117, 85, 0.6);
  margin-top: 6px;
  flex: none;
  animation: mgrPulse 1.8s ease-out infinite;
}
.mgr-panel__disc span:last-child {
  font-size: 13.5px;
  line-height: 1.5;
  color: #e2e0f4;
}
/* мигающий курсор печати комментария */
.mgr-panel__disc span:last-child.is-typing::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 1px;
  vertical-align: -2px;
  background: var(--orange, #ff7555);
  animation: mgrCaret 0.7s step-end infinite;
}
@keyframes mgrPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 117, 85, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(255, 117, 85, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 117, 85, 0); }
}
@keyframes mgrCaret {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .mgr-panel__disc span:first-child { animation: none; }
  .mgr-panel__disc span:last-child.is-typing::after { display: none; }
  .mgr-chip, .mgr-pill, .mgr-tag, .mgr-live { animation: none; }
  .mgr-wave span { animation: none; }
}

/* блок отчётности под секцией */
.mgr-report {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.mgr-report__item {
  background: linear-gradient(180deg, var(--card-from), var(--card-to));
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--sh-card);
}
.mgr-report__t {
  font-family: 'Onest', system-ui, sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 6px;
  text-wrap: balance;
}
.mgr-report__d {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-3);
}

/* ---------- фото-карточки 32:9 (правка 2) ---------- */
.mgr-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 32 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(120deg, #e7e2f4 0%, #c9c4ec 40%, #8c89e0 100%);
  box-shadow: 0 22px 44px -22px rgba(45, 40, 90, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mgr-photo__hint {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(41, 39, 110, 0.55);
  text-align: center;
  padding: 0 16px;
}

/* ---------- встроенное демо-видео (Loom) ---------- */
.mgr-video {
  position: relative;
  width: 100%;
  /* пропорции Loom-эмбеда: высота = 61.96% ширины */
  aspect-ratio: 100 / 61.96;
  border-radius: 18px;
  overflow: hidden;
  background: #1b1942;
  box-shadow: 0 22px 44px -22px rgba(45, 40, 90, 0.45);
}
.mgr-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- отзыв ---------- */
.mgr-testi {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  background: linear-gradient(180deg, var(--card-from), var(--card-to));
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--sh-card);
}
.mgr-testi__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mgr-testi__q {
  font-family: 'Onest', system-ui, sans-serif;
  font-size: 28px;
  line-height: 1.32;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
}
.mgr-testi__name {
  font-size: 15px;
  font-weight: 600;
}
.mgr-testi__role {
  font-size: 14px;
  color: var(--ink-3);
}

/* ---------- ROI плитки ---------- */
.mgr-roi__plate {
  background: linear-gradient(180deg, var(--card-from), var(--card-to));
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--sh-card);
}
.mgr-roi__t {
  font-family: 'Onest', system-ui, sans-serif;
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 8px;
  text-wrap: balance;
}
.mgr-roi__d {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-3);
}
.mgr-disclaimer {
  margin: 22px 0 0;
  font-size: 13px;
  color: var(--ink-4);
  font-style: italic;
  text-wrap: pretty;
}

/* ---------- сравнение (3 колонки) ---------- */
.mgr-compare__col {
  background: linear-gradient(180deg, var(--card-from), var(--card-to));
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--sh-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mgr-compare__h {
  font-family: 'Onest', system-ui, sans-serif;
  font-weight: 600;
  font-size: 19px;
  margin: 0;
  text-wrap: balance;
}
.mgr-compare__p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-3);
}
.mgr-compare__add {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--indigo);
  font-style: italic;
}

/* ---------- метрики ---------- */
.mgr-metricbox {
  background: linear-gradient(180deg, var(--card-from), var(--card-to));
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--sh-card);
}
.mgr-metricbox__num {
  font-family: 'Onest', system-ui, sans-serif;
  font-size: 34px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: -0.01em;
}
.mgr-metricbox__cap {
  font-size: 14px;
  color: var(--ink-3);
  margin-top: 6px;
}

/* ---------- цитаты-карусель ---------- */
.mgr-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.mgr-quotes__card {
  background: linear-gradient(180deg, var(--card-from), var(--card-to));
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--sh-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mgr-quotes__text {
  font-family: 'Onest', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
  text-wrap: pretty;
}
.mgr-quotes__by {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--ink-4);
}

/* ---------- FAQ ---------- */
.mgr-faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
}
.mgr-faq__item {
  background: linear-gradient(180deg, var(--card-from), var(--card-to));
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 4px 24px;
  box-shadow: var(--sh-card);
}
.mgr-faq__item summary {
  list-style: none;
  cursor: pointer;
  font-family: 'Onest', system-ui, sans-serif;
  font-weight: 600;
  font-size: 19px;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  text-wrap: balance;
}
.mgr-faq__item summary::-webkit-details-marker {
  display: none;
}
.mgr-faq__item summary::after {
  content: '+';
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 26px;
  color: var(--indigo);
  transition: transform 0.2s ease;
  flex: none;
}
.mgr-faq__item[open] summary::after {
  transform: rotate(45deg);
}
.mgr-faq__a {
  margin: 0;
  padding: 0 0 22px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 70ch;
  text-wrap: pretty;
}

/* ---------- финальный CTA ---------- */
.mgr-final {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f7f2ea);
  border: 1px solid var(--card-border);
  padding: 64px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: var(--sh-card);
}
.mgr-final::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 60%;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle, rgba(63, 61, 158, 0.12), transparent 65%);
  pointer-events: none;
}
.mgr-final__h2 {
  position: relative;
  font-family: 'Onest', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  text-wrap: balance;
  line-height: 1.08;
}
.mgr-final__p {
  position: relative;
  font-size: 17px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.55;
  text-wrap: pretty;
}
.mgr-offer {
  position: relative;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mgr-offer li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.mgr-offer__n {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 8px;
  background: rgba(63, 61, 158, 0.1);
  color: var(--indigo);
  font-family: 'Onest', system-ui, sans-serif;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mgr-offer__t {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: pretty;
}
.mgr-offer__t b {
  color: var(--ink);
}
.mgr-final__actions {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.mgr-copy {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--ink-2);
  background: none;
  border: 1px dashed #d3cabb;
  border-radius: 10px;
  padding: 13px 16px;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.mgr-copy:hover {
  border-color: var(--indigo);
  color: var(--indigo);
}
.mgr-final__note {
  position: relative;
  grid-column: 1 / -1;
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.5;
  text-wrap: pretty;
}

/* ---------- футер ---------- */
.mgr-footer {
  border-top: 1px solid #e0d9cc;
  margin-top: 90px;
}
.mgr-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.mgr-footer__logo svg {
  height: 24px;
  width: auto;
  display: block;
}
.mgr-footer__links {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.mgr-footer__links a {
  font-size: 13px;
  color: var(--ink-3);
  text-decoration: none;
  transition: color 0.15s ease;
}
.mgr-footer__links a:hover {
  color: var(--indigo);
}
.mgr-footer__copy {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #a0937f;
}

/* ---------- утилиты ---------- */
.mgr-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mgr-mt-40 { margin-top: 40px; }
.mgr-center { text-align: center; }

/* ---------- адаптив ---------- */
@media (max-width: 980px) {
  .mgr-hero { grid-template-columns: 1fr; gap: 40px; padding: 48px 24px 56px; }
  .mgr-hero__h1 { max-width: none; }
  .mgr-hero__media { max-width: 560px; margin: 0 auto; }
  .mgr-hero__photo { aspect-ratio: 16 / 9; object-position: center 24%; }
  .mgr-chip { top: 18px; left: -14px; }
  .mgr-pill { bottom: 20px; right: -14px; }
  .mgr-tag { top: -14px; right: 14px; }
  .mgr-live { bottom: -14px; left: 14px; max-width: 240px; }
  .mgr-dark__grid { grid-template-columns: 1fr; gap: 32px; padding: 40px 28px; }
  .mgr-final { grid-template-columns: 1fr; gap: 28px; padding: 48px 28px; }
  .mgr-wrap { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 760px) {
  .mgr-nav__links { display: none; }
  .mgr-nav__inner { padding: 14px 24px; }
  .mgr-grid--2, .mgr-grid--3, .mgr-grid--4,
  .mgr-trust, .mgr-report, .mgr-quotes { grid-template-columns: 1fr; }
  .mgr-trust__cell { border-right: none; border-bottom: 1px solid #efe9dd; }
  .mgr-trust__cell:last-child { border-bottom: none; }
  .mgr-section { padding-top: 64px; }
  .mgr-midcta { padding: 32px 24px; gap: 22px; }
  .mgr-flip__big { font-size: 28px; }
  .mgr-hero__media { max-width: 460px; }
  .mgr-hero__photo { aspect-ratio: 4 / 3; }
  .mgr-chip { top: 12px; left: 6px; }
  .mgr-pill { bottom: 14px; right: 6px; }
  .mgr-tag { top: 8px; right: 8px; }
  .mgr-live { display: none; }
}
@media (max-width: 520px) {
  .mgr-nav__login { display: none; }
}
