/* =========================================================
   Sber-Invest.kz — Главная страница
   Макет: Figma «SberInvest» → Главная_PC_1440 / Главная_Mobile_360
   Два состояния: десктоп (≥1024px, резиновый до 1440+) и мобильная версия (<1024px)
   ========================================================= */

.main2-page {
  --blue: #2e68de;
  --blue-hover: #5489f4;
  --text: #04162c;
  --logo-blue: #122549;
  --base: #475466;
  --muted: #828282;
  --answer: #6b7686;
  --bg: #f5f8fc;
  --light-btn: #eaf1ff;
  --tag-bg: #eef3fc;
  --border: #e3eaf5;
  --border-btn: #c9d8f5;
  --yellow: #fbb132;
  --yellow-hover: #f4a415;
  --yellow-2: #ffc933;
  --light-yellow: #fff3df;
  --footer: #1b1c1f;
  --white: #fff;

  --header-h: 64px;
  --container: 1156px;
  --gutter: 32px;            /* минимальный боковой отступ на десктопе */
  --font: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Изолируем лендинг от старых глобальных .container, .section, .btn и text-стилей. */
.main2-page,
.main2-page *,
.main2-page *::before,
.main2-page *::after {
  all: revert;
}

/* ---------- reset ---------- */
.main2-page *, .main2-page *::before, .main2-page *::after { box-sizing: border-box; }
.main2-page { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
.main2-page {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.4;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
.main2-page h1, .main2-page h2, .main2-page h3, .main2-page h4, .main2-page p, .main2-page ul, .main2-page ol, .main2-page figure { margin: 0; }
.main2-page ul, .main2-page ol { padding: 0; list-style: none; }
.main2-page img, .main2-page picture, .main2-page svg { display: block; max-width: 100%; }
.main2-page img { height: auto; }
.main2-page a { color: inherit; text-decoration: none; }
.main2-page button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.main2-page :focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.main2-page.is-locked { overflow: hidden; }

.main2-page .container {
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

/* ---------- кнопки ---------- */
.main2-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  text-align: center;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.main2-page .btn--xl { height: 60px; padding: 0 37px; }
.main2-page .btn--medium { font-weight: 500; }
.main2-page .btn--blue { background: var(--blue); color: var(--white); }
.main2-page .btn--blue:hover { background: var(--blue-hover); }
.main2-page .btn--yellow { background: var(--yellow); color: #000; }
.main2-page .btn--yellow:hover { background: var(--yellow-hover); }
.main2-page .btn--outline {
  height: 48px;
  padding: 0 36px;
  border: 1px solid var(--blue);
  background: var(--white);
  color: var(--blue);
  font-size: 18px;
}
.main2-page .btn--outline:hover { background: var(--blue); color: var(--white); }

/* ---------- общие заголовки секций ---------- */
.main2-page .section { position: relative; }
.main2-page .eyebrow {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .06em;          /* 0.96px */
  text-transform: uppercase;
  color: var(--blue-hover);
}
.main2-page .eyebrow--blue { color: var(--blue); }
.main2-page .h2 { font-weight: 500; color: var(--text); line-height: 1.2; }
.main2-page .h2--48 { font-size: 48px; }
.main2-page .h2--44 { font-size: 44px; }
.main2-page .h2--36 { font-size: 36px; color: #000; }

.main2-page .sec-head { display: flex; flex-direction: column; gap: 16px; }
.main2-page .sec-head__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 453px);
  gap: 24px;
  align-items: end;
}
.main2-page .sec-head__desc { font-size: 18px; line-height: 1.4; color: var(--logo-blue); }
.main2-page .sec-head__desc--muted { color: var(--base); line-height: 1.3; }

.main2-page .sec-head--split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 24px; }
.main2-page .sec-head__left { display: flex; flex-direction: column; gap: 16px; flex: 0 1 682px; }
.main2-page .sec-head__left .h2 { max-width: 521px; }
.main2-page .sec-head__right { display: flex; flex-direction: column; align-items: flex-end; gap: 28px; flex: 0 1 447px; }
.main2-page .more-link { font-size: 16px; font-weight: 500; line-height: 1.3; color: var(--blue); white-space: nowrap; }
.main2-page .more-link:hover { text-decoration: underline; }

.main2-page .d-only { display: inline; }

/* =========================================================
   ШАПКА
   ========================================================= */
.main2-page .header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: var(--white);
  box-shadow: 0 0 6px rgba(46, 104, 222, .3), 0 0 15px rgba(46, 104, 222, .3);
}
.main2-page .header__inner {
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.main2-page .logo { display: flex; align-items: center; gap: 14px; flex: none; }
.main2-page .logo__img { width: 52px; height: 52px; }
.main2-page .logo__text {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--logo-blue);
  white-space: nowrap;
}
.main2-page .logo__br { display: none; }

.main2-page .nav { margin-left: auto; }
.main2-page .nav__list { display: flex; align-items: center; gap: 12px; }
.main2-page .nav__item { position: relative; display: flex; align-items: center; gap: 2px; padding: 7px; }
.main2-page .nav__link { font-size: 18px; line-height: 1.2; color: var(--text); white-space: nowrap; transition: color .2s; }
.main2-page .nav__item:hover .nav__link,
.main2-page .nav__link:hover { color: var(--blue); }
.main2-page .nav__toggle { display: flex; width: 18px; height: 18px; align-items: center; justify-content: center; }
.main2-page .nav__toggle img { width: 18px; height: 18px; transition: transform .2s; }
.main2-page .nav__item--dd:hover .nav__toggle img,
.main2-page .nav__item--dd.is-open .nav__toggle img { transform: rotate(180deg); }

.main2-page .nav__item--dd::after { /* «мостик», чтобы меню не закрывалось при переходе курсора */
  content: "";
  position: absolute;
  left: 0; right: 0; top: 100%;
  height: 16px;
}
.main2-page .nav__sub {
  position: absolute;
  top: calc(100% + 12px);
  left: -12px;
  min-width: 260px;
  padding: 8px 0;
  background: var(--white);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 12px 32px rgba(27, 58, 122, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.main2-page .nav__item--dd:hover .nav__sub,
.main2-page .nav__item--dd:focus-within .nav__sub,
.main2-page .nav__item--dd.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; }
.main2-page .nav__item--dd:last-of-type .nav__sub { left: auto; right: -12px; }
.main2-page .nav__sub-link {
  display: block;
  padding: 10px 20px;
  font-size: 16px;
  line-height: 1.3;
  color: var(--text);
  white-space: nowrap;
}
.main2-page .nav__sub-link--primary { color: var(--blue); font-weight: 500; }
.main2-page .nav__sub-link:hover { background: var(--tag-bg); color: var(--blue); }

.main2-page .header__actions { display: flex; align-items: center; gap: 6px; flex: none; }
.main2-page .btn--login { width: 93px; height: 48px; border-radius: 11.43px; font-size: 18px; }

.main2-page .burger {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--blue);
  position: relative;
}
.main2-page .burger span {
  position: absolute;
  left: 14px;
  width: 20px;
  height: 3px;
  border-radius: 4px;
  background: var(--white);
  transition: transform .2s, opacity .2s, top .2s;
}
.main2-page .burger span:nth-child(1) { top: 15px; }
.main2-page .burger span:nth-child(2) { top: 20px; }
.main2-page .burger span:nth-child(3) { top: 25px; }
.main2-page .burger span:nth-child(4) { top: 30px; }
.main2-page .burger[aria-expanded="true"] span:nth-child(1),
.main2-page .burger[aria-expanded="true"] span:nth-child(4) { opacity: 0; }
.main2-page .burger[aria-expanded="true"] span:nth-child(2) { top: 22.5px; transform: rotate(45deg); }
.main2-page .burger[aria-expanded="true"] span:nth-child(3) { top: 22.5px; transform: rotate(-45deg); }

/* выпадающее мобильное меню */
.main2-page .mmenu {
  position: absolute;
  top: var(--header-h);
  left: 0; right: 0;
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  background: var(--white);
  box-shadow: 0 16px 24px rgba(27, 58, 122, .12);
  padding: 8px 24px 24px;
}
.main2-page .mmenu[hidden] { display: none; }
.main2-page .mmenu__item { border-bottom: 1px solid var(--border); }
.main2-page .mmenu__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.main2-page .mmenu__link { flex: 1; padding: 14px 0; font-size: 18px; line-height: 1.2; color: var(--text); }
.main2-page .mmenu__toggle { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.main2-page .mmenu__toggle img { transition: transform .2s; }
.main2-page .mmenu__toggle[aria-expanded="true"] img { transform: rotate(180deg); }
.main2-page .mmenu__sub { padding: 0 0 12px 12px; }
.main2-page .mmenu__sub[hidden] { display: none; }
.main2-page .mmenu__sub-link { display: block; padding: 8px 0; font-size: 16px; line-height: 1.3; color: var(--text); }
.main2-page .mmenu__sub-link--primary { color: var(--blue); font-weight: 500; }

/* Шапка: адаптация пунктов меню внутри десктопа */
@media (max-width: 1359.98px) {
  .main2-page .logo__text { display: none; }
}
@media (max-width: 1099.98px) {
  .main2-page .nav { display: none; }
  .main2-page .burger { display: block; }
  .main2-page .logo { gap: 6px; }
  .main2-page .logo__img { width: 48px; height: 48px; }
  .main2-page .logo__text { display: block; font-size: 12px; font-weight: 600; line-height: 1.2; }
  .main2-page .logo__br { display: block; height: 4px; }
  .main2-page .btn--login { width: auto; padding: 0 20px; border-radius: 10px; font-size: 14px; }
}

/* =========================================================
   1. ГЛАВНЫЙ ЭКРАН
   ========================================================= */
.main2-page .hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #dfeafb;
}
.main2-page .hero__bg, .main2-page .hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.main2-page .hero__bg img { object-fit: cover; object-position: 50% 50%; }
.main2-page .hero__char { display: none; }
.main2-page .hero__content {
  position: relative;
  z-index: 2;
  padding: 140px 0 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
}
.main2-page .hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; width: 570px; max-width: 100%; }
.main2-page .hero__tag {
  display: inline-flex;
  align-items: center;
  height: 27px;
  padding: 0 12px;
  border-radius: 20px;
  background: var(--light-yellow);
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
  color: #000;
}
.main2-page .hero__title { font-size: 48px; font-weight: 600; line-height: 1; color: var(--logo-blue); }
.main2-page .hero__subtitle { max-width: 445px; font-size: 20px; line-height: 1.2; color: var(--logo-blue); }

@media (max-width: 1439.98px) {
  .main2-page .hero { min-height: clamp(600px, 44.44vw, 640px); }
  .main2-page .hero__bg img { object-position: 60% 50%; }
}

/* =========================================================
   2. РЕШЕНИЯ
   ========================================================= */
.main2-page .solutions { padding: 96px 0; }
.main2-page .solutions .sec-head { margin-bottom: 48px; }
.main2-page .cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.main2-page .card {
  display: flex;
  flex-direction: column;
  padding: 8px 8px 16px;
  border-radius: 20px;
  background: var(--white);
}
.main2-page .card__img { width: 100%; height: 200px; object-fit: cover; border-radius: 14px; }
.main2-page .card__body { display: flex; flex-direction: column; gap: 16px; padding: 16px 12px 12px; }
.main2-page .card__text { display: flex; flex-direction: column; gap: 8px; }
.main2-page .card__title { font-size: 20px; font-weight: 500; line-height: 1.25; color: var(--text); }
.main2-page .card__desc { font-size: 16px; line-height: 1.35; color: var(--base); }
.main2-page .card__links { display: flex; flex-direction: column; gap: 8px; }
.main2-page .card__link { font-size: 16px; line-height: 24px; color: var(--blue); }
.main2-page .card__link:hover { text-decoration: underline; }
.main2-page .card__link--bold { font-weight: 700; }

/* =========================================================
   3. БЛОГ
   ========================================================= */
.main2-page .blog { background: var(--white); padding: 80px 0; }
.main2-page .blog .sec-head { margin-bottom: 40px; }
.main2-page .blog__grid {
  display: grid;
  grid-template-columns: minmax(0, 448fr) minmax(0, 330fr) minmax(0, 330fr);
  gap: 24px;
  min-height: 540px;
}
.main2-page .featured {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px 24px;
  border-radius: 20px;
  background: #04162c;
  isolation: isolate;
}
.main2-page .featured__img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 55.31%;
  object-fit: cover;
  z-index: -2;
  transition: transform .4s;
}
.main2-page .featured::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4, 22, 44, 0) 37.315%, #04162c 55.37%);
}
.main2-page .featured::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 140px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(13, 27, 51, 0), #0d1b33);
}
.main2-page .featured:hover .featured__img { transform: scale(1.03); }
.main2-page .featured__content { display: flex; align-items: flex-end; gap: 15px; }
.main2-page .featured__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.main2-page .featured__title { font-size: 28px; font-weight: 600; line-height: 1.2; color: var(--white); }
.main2-page .featured__desc { font-size: 16px; line-height: 1.3; color: rgba(255, 255, 255, .85); }

.main2-page .meta { display: flex; align-items: center; gap: 12px; }
.main2-page .article .meta { gap: 10px; }
.main2-page .tag {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--tag-bg);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--logo-blue);
  white-space: nowrap;
}
.main2-page .tag--white { background: var(--white); color: var(--blue); }
.main2-page .meta__date { font-size: 13px; line-height: 1.3; color: rgba(255, 255, 255, .8); white-space: nowrap; }
.main2-page .meta__date--muted { color: var(--muted); }

.main2-page .arrow-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  transition: background-color .2s, color .2s, border-color .2s;
}
.main2-page .arrow-btn--44 { width: 44px; height: 44px; }
.main2-page .arrow-btn--40 { width: 40px; height: 40px; border: 1px solid var(--border-btn); }
.main2-page .arrow-btn--32 { width: 32px; height: 32px; border: 1px solid var(--border-btn); }
.main2-page a:hover > .arrow-btn,
.main2-page a:hover .arrow-btn { background: var(--blue); border-color: var(--blue); color: var(--white); }

.main2-page .blog__articles { display: flex; flex-direction: column; gap: 24px; }
.main2-page .article {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 8px 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
}
.main2-page .article__img { width: 100%; height: 123px; object-fit: cover; border-radius: 12px; }
.main2-page .article__body { display: flex; flex-direction: column; gap: 10px; padding: 0 8px; }
.main2-page .article__row { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.main2-page .article__title { flex: 0 1 250px; font-size: 17px; font-weight: 600; line-height: 1.25; color: var(--text); }
.main2-page .article:hover .article__title { color: var(--blue); }

.main2-page .news {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
}
.main2-page .news__head { padding: 16px 20px; background: var(--tag-bg); font-size: 16px; font-weight: 600; line-height: 1.3; }
.main2-page .news__list { flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 4px 20px; }
.main2-page .news__sep { height: 1px; background: var(--border); }
.main2-page .news__item { display: flex; align-items: center; gap: 12px; padding: 16px 0; }
.main2-page .news__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; line-height: 1.3; }
.main2-page .news__date { font-size: 13px; color: var(--muted); }
.main2-page .news__title { font-size: 15px; font-weight: 500; color: var(--text); }
.main2-page .news__item:hover .news__title { color: var(--blue); }

/* =========================================================
   4. ЭКОСИСТЕМА
   ========================================================= */
.main2-page .eco { padding: 96px 0; }
.main2-page .eco .sec-head { margin-bottom: 40px; }
.main2-page .eco__diagram-wrap { position: relative; height: calc(480px * var(--eco-scale, 1)); margin-bottom: 40px; }
.main2-page .eco__diagram {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1152px;
  height: 480px;
  transform: translateX(-50%) scale(var(--eco-scale, 1));
  transform-origin: 50% 0;
}
.main2-page .eco__orbit { position: absolute; left: 128px; top: 60px; width: 900px; height: 360px; }
.main2-page .eco__orbit-inner { position: absolute; left: 258px; top: 90px; width: 640px; height: 300px; }
.main2-page .eco__photo {
  position: absolute;
  left: 441px;
  top: 105px;
  width: 270px;
  height: 270px;
  object-fit: cover;
  border: 6px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 16px 40px rgba(46, 104, 222, .18);
}
.main2-page .eco__cta {
  position: absolute;
  left: calc(50% - 1px);
  top: 352px;
  transform: translateX(-50%);
  height: 60px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  background: var(--yellow-2);
  box-shadow: 0 8px 20px rgba(224, 168, 0, .3);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
  white-space: nowrap;
  transition: background-color .2s;
}
.main2-page .eco__cta:hover { background: var(--yellow); }
.main2-page .eco__cta-arrow { font-size: 14px; font-weight: 400; }

.main2-page .eco-node { position: absolute; display: flex; align-items: flex-start; gap: 16px; }
.main2-page .eco-node picture { flex: none; }
.main2-page .eco-node__icon { border-radius: 20px; }
.main2-page .eco-node__text { display: flex; flex-direction: column; gap: 6px; }
.main2-page .eco-node__title { font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--text); white-space: nowrap; }
.main2-page .eco-node__desc { width: 220px; font-size: 15px; line-height: 1.4; color: var(--base); }

.main2-page .eco-node--1 { left: 313px; top: 3px; }
.main2-page .eco-node--1 .eco-node__icon { width: 74px; height: 72px; }
.main2-page .eco-node--1 .eco-node__desc { width: 297px; }
.main2-page .eco-node--2 { left: -32px; top: 119px; }
.main2-page .eco-node--2 .eco-node__icon { width: 72px; height: 72px; }
.main2-page .eco-node--3 { left: 825px; top: 179px; }
.main2-page .eco-node--3 .eco-node__icon { width: 81px; height: 74px; }
.main2-page .eco-node--4 { left: 60px; top: 330px; }
.main2-page .eco-node--4 .eco-node__icon { width: 78px; height: 73px; }
.main2-page .eco-node--5 { left: 737px; top: 40px; }
.main2-page .eco-node--5 .eco-node__icon { width: 78px; height: 75px; }
.main2-page .eco-node--6 { left: 814px; top: 362px; }
.main2-page .eco-node--6 .eco-node__icon { width: 72px; height: 72px; border-radius: 0; }

.main2-page .practice {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px;
  border-radius: 20px;
  background: var(--light-btn);
}
.main2-page .practice__title { font-size: 24px; font-weight: 500; line-height: 1.2; color: var(--text); }
.main2-page .practice__text { display: flex; flex-direction: column; gap: 12px; font-size: 18px; line-height: 1.4; color: var(--base); }

/* =========================================================
   5. КОМАНДА
   ========================================================= */
.main2-page .team { padding: 96px 0; background: var(--white); border-radius: 24px; }
.main2-page .team .sec-head { margin-bottom: 40px; }
.main2-page .team__grid {
  display: grid;
  grid-template-columns: minmax(0, 330fr) minmax(0, 330fr) minmax(0, 448fr);
  gap: 24px;
  align-items: start;
}
.main2-page .founder { display: flex; flex-direction: column; gap: 20px; }
.main2-page .founder__photo {
  position: relative;
  aspect-ratio: 330 / 440;
  overflow: hidden;
  border-radius: 20px;
  background: #e9edf2;
}
.main2-page .founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.main2-page .founder__label {
  position: absolute;
  left: 0; bottom: 0;
  width: 210px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  border-radius: 0 16px 0 0;
  background: rgba(255, 255, 255, .96);
}
.main2-page .founder__name { font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--blue); white-space: nowrap; }
.main2-page .founder__role { font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--base); }
.main2-page .founder__about { font-size: 16px; line-height: 1.45; color: var(--base); }

.main2-page .experts {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 24px;
  border-radius: 20px;
  background: var(--bg);
}
.main2-page .experts__title { font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--text); }
.main2-page .experts__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.main2-page .expert { display: flex; flex-direction: column; }
.main2-page .expert__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; margin-bottom: 12px; }
.main2-page .expert__name { font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--blue); margin-bottom: 4px; }
.main2-page a.expert__name:hover { text-decoration: underline; }
.main2-page .expert__role { font-size: 14px; line-height: 1.35; color: var(--base); }

/* =========================================================
   6. ТЕСТ
   ========================================================= */
.main2-page .test { background: var(--blue); padding: 48px 0; }
.main2-page .test__inner { display: flex; align-items: center; gap: 24px; }
.main2-page .test__img { flex: none; width: 212px; height: 167px; object-fit: cover; border-radius: 20px; background: #99b9fa; }
.main2-page .test__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 24px; color: var(--white); }
.main2-page .test__title { font-size: 36px; font-weight: 500; line-height: 1.2; }
.main2-page .test__desc { font-size: 18px; line-height: 1.35; }

/* =========================================================
   7. ПАРТНЁРЫ
   ========================================================= */
.main2-page .partners { background: var(--white); padding: 96px 0; }
.main2-page .partners .sec-head { margin-bottom: 48px; }
.main2-page .partners__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.main2-page .partner {
  width: calc((100% - 72px) / 4);
  height: 128px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bg);
  border-radius: 20px;
  background: var(--white);
}
.main2-page .partner img { width: 215px; height: 80px; object-fit: contain; }
.main2-page .partner img.partner__astana { width: 200px; height: auto; }

/* =========================================================
   8. МИССИЯ
   ========================================================= */
.main2-page .mission { padding: 96px 0; border-radius: 20px; overflow: hidden; isolation: isolate; }
.main2-page .mission__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0 50%;
  z-index: -2;
}
.main2-page .mission::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .2); }
.main2-page .mission__inner { display: flex; flex-direction: column; gap: 24px; }
.main2-page .mission__top { position: relative; }
.main2-page .mission__main { position: relative; z-index: 1; width: 565px; display: flex; flex-direction: column; gap: 24px; }
.main2-page .mission__texts { width: 471px; max-width: 100%; display: flex; flex-direction: column; gap: 20px; font-size: 16px; line-height: 1.4; color: var(--base); }
.main2-page .mission__lead { font-size: 20px; font-weight: 500; line-height: 1.3; color: var(--text); }
.main2-page .mission__actions { display: flex; align-items: center; gap: 23px; margin-top: 8px; }
.main2-page .mission__book { width: 212px; flex: none; }
.main2-page .mission__caption { width: 243px; font-size: 16px; line-height: 1.2; color: var(--text); }

.main2-page .mission__media {
  position: absolute;
  top: 10px;
  left: 505px;
  /* ноутбук заходит за правый край контента, но не дальше бокового отступа страницы */
  width: min(760px, calc(100% - 505px + min(109px, max(0px, (100vw - 100%) / 2 - 24px))));
}
.main2-page .laptop { position: relative; aspect-ratio: 760 / 440; }
.main2-page .laptop__frame { width: 100%; height: 100%; }
.main2-page .laptop__screen {
  position: absolute;
  left: 12.763%;
  top: 2.5%;
  width: 70.921%;
  height: 76.591%;
  overflow: hidden;
  border-radius: 4px;
  background: #000;
}
.main2-page .laptop__screen picture, .main2-page .laptop__preview { width: 100%; height: 100%; }
.main2-page .laptop__preview { object-fit: cover; }
.main2-page .laptop__screen::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .15); pointer-events: none; }
.main2-page .laptop__screen.is-playing::after { display: none; }
.main2-page .laptop__play {
  position: absolute;
  z-index: 1;
  left: 45.08%;
  top: 48.66%;
  width: 13.36%;
  aspect-ratio: 1;
  border-radius: 50%;
  transition: transform .2s;
}
.main2-page .laptop__play img { width: 100%; height: 100%; }
.main2-page .laptop__play:hover { transform: scale(1.06); }
.main2-page .laptop__screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.main2-page .membership { display: flex; align-items: center; gap: clamp(40px, 10vw, 143px); padding-top: 48px; }
.main2-page .membership__img { flex: 0 1 445px; width: 445px; min-width: 0; aspect-ratio: 445 / 293; object-fit: cover; }
.main2-page .membership__content { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.main2-page .membership__texts { display: flex; flex-direction: column; gap: 20px; }
.main2-page .membership__title { font-size: 24px; font-weight: 600; line-height: 1.18; color: var(--text); }
.main2-page .membership__desc { font-size: 18px; line-height: 1.4; color: var(--base); }
.main2-page .membership__btn { width: 211px; padding: 0; }

/* =========================================================
   9. FAQ
   ========================================================= */
.main2-page .faq { background: var(--white); padding: 96px 0; }
.main2-page .faq__inner { display: grid; grid-template-columns: minmax(0, 448px) minmax(0, 1fr); gap: 24px; align-items: start; }
.main2-page .faq__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.main2-page .faq__eyebrow { font-size: 13px; font-weight: 500; line-height: 1.3; letter-spacing: .08em; color: var(--blue); }
.main2-page .faq__title { font-size: 40px; font-weight: 600; line-height: 1.15; color: var(--text); }
.main2-page .faq__desc { max-width: 380px; font-size: 17px; line-height: 1.45; color: var(--base); }
.main2-page .faq__cats { display: flex; flex-direction: column; gap: 14px; padding-top: 4px; }
.main2-page .faq__cats li { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 500; line-height: 1.3; color: var(--logo-blue); }
.main2-page .faq__btn { margin-top: 12px; width: 248px; }

.main2-page .accordion {
  overflow: hidden;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(27, 58, 122, .06);
}
.main2-page .acc-item { border-bottom: 1px solid var(--border); }
.main2-page .acc-item.is-open { padding-bottom: 16px; }
.main2-page .acc-item__h { font: inherit; margin: 0; }
.main2-page .acc-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 14px 14px 20px;
  border-radius: 12px;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text);
  transition: background-color .2s, color .2s;
}
.main2-page .acc-item__q > span:first-child { flex: 1; min-width: 0; }
.main2-page .acc-item__q:hover { color: var(--blue); }
.main2-page .acc-item.is-open .acc-item__q { background: var(--tag-bg); }
.main2-page .acc-item.is-open .acc-item__q:hover { color: var(--text); }
.main2-page .acc-item__icon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--tag-bg);
  position: relative;
  transition: background-color .2s;
}
.main2-page .acc-item__icon::before,
.main2-page .acc-item__icon::after { /* «+» / «−» */
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 1px;
  background: var(--blue);
  transition: transform .2s, background-color .2s;
}
.main2-page .acc-item__icon::after { transform: rotate(90deg); }
.main2-page .acc-item.is-open .acc-item__icon { background: var(--blue); }
.main2-page .acc-item.is-open .acc-item__icon::before,
.main2-page .acc-item.is-open .acc-item__icon::after { background: var(--white); }
.main2-page .acc-item.is-open .acc-item__icon::after { transform: rotate(0deg); }
.main2-page .acc-item__a { padding: 14px 60px 0 20px; font-size: 15px; line-height: 1.45; color: var(--answer); }
.main2-page .acc-item__a[hidden] { display: none; }
.main2-page .acc-item__a a { color: inherit; text-decoration: underline; text-decoration-color: rgba(107, 118, 134, .45); text-underline-offset: 2px; }
.main2-page .acc-item__a a:hover { color: var(--blue); text-decoration-color: currentColor; }

/* =========================================================
   ФУТЕР
   ========================================================= */
.main2-page .footer { background: var(--footer); color: var(--white); padding: 48px 24px; }
.main2-page .footer__inner { display: flex; align-items: flex-start; gap: clamp(40px, 10vw, 142px); min-height: 241px; }
.main2-page .footer__main { flex: 0 1 684px; min-width: 0; display: flex; flex-direction: column; gap: 78px; }
.main2-page .footer__about { display: flex; flex-direction: column; gap: 14px; }
.main2-page .footer__desc { font-size: 18px; line-height: 1.2; }
.main2-page .socials { display: flex; align-items: center; gap: 12px; }
.main2-page .social { display: flex; align-items: center; justify-content: center; opacity: .8; transition: opacity .2s; }
.main2-page .social:hover { opacity: 1; }
.main2-page .social--ig, .main2-page .social--tg, .main2-page .social--wa { width: 42px; height: 42px; }
.main2-page .social--ig img, .main2-page .social--tg img { width: 36px; height: 36px; }
.main2-page .social--wa img { width: 37px; height: 37px; }
.main2-page .social--mail { width: 56px; height: 42px; }
.main2-page .social--mail img { width: 52px; height: 36px; }
.main2-page .social--yt { width: 55px; height: 55px; }
.main2-page .social--yt img { width: 51px; height: 47px; }
.main2-page .footer__copy { font-size: 18px; line-height: 1.2; color: #bebebe; }
.main2-page .footer__nav { display: flex; gap: 24px; }
.main2-page .footer__col { display: flex; flex-direction: column; gap: 16px; width: 212px; }
.main2-page .footer__col--legal { width: auto; }
.main2-page .footer__col a { display: inline-block; padding: 4px 0; font-size: 18px; line-height: 1.2; white-space: nowrap; }
.main2-page .footer__col a:hover { text-decoration: underline; }

/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ  (< 1024px) — макет Главная_Mobile_360
   ========================================================= */
@media (max-width: 1023.98px) {
  .main2-page { --gutter: 24px; }
  .main2-page .container { width: calc(100% - 2 * var(--gutter)); }
  .main2-page .d-only { display: none; }

  .main2-page .h2--48, .main2-page .h2--44, .main2-page .h2--36 { font-size: 28px; }
  .main2-page .h2--36 { color: var(--text); }
  .main2-page .sec-head__row { display: flex; flex-direction: column; align-items: stretch; gap: 24px; }
  .main2-page .sec-head__desc { font-size: 16px; }
  .main2-page .sec-head--split { flex-direction: column; align-items: stretch; gap: 16px; }
  .main2-page .sec-head__left, .main2-page .sec-head__right { flex: none; }
  .main2-page .sec-head__left .h2 { max-width: none; }
  .main2-page .sec-head__right { align-items: flex-start; gap: 16px; }
  .main2-page .sec-head__right .more-link { order: 2; }
  .main2-page .sec-head__right .sec-head__desc { font-size: 16px; line-height: 1.3; }

  /* 1. hero */
  .main2-page .hero { min-height: 680px; align-items: flex-start; }
  .main2-page .hero__bg img { object-position: 50% 50%; }
  .main2-page .hero__char {
    display: block;
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 44.75%;
    height: 91.62%;
    width: auto;
    max-width: none;
    transform: translateX(-50%);
  }
  .main2-page .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(255, 255, 255, .8) 40.809%, rgba(255, 255, 255, 0) 62.5%);
  }
  .main2-page .hero__content { padding: 96px 0 40px; gap: 24px; align-items: stretch; }
  .main2-page .hero__text { width: 100%; gap: 12px; align-items: stretch; }
  .main2-page .hero__tag { height: auto; padding: 6px 12px; font-size: 14px; line-height: 1.2; }
  .main2-page .hero__title { font-size: 28px; }
  .main2-page .hero__subtitle { max-width: none; }
  .main2-page .hero__btn { height: 48px; padding: 0 20px; font-size: 14px; }

  /* 2. решения */
  .main2-page .solutions { padding: 56px 0; border-radius: 20px; }
  .main2-page .solutions .sec-head { margin-bottom: 24px; }
  .main2-page .cards { grid-template-columns: 1fr; }

  /* 3. блог */
  .main2-page .blog { padding: 48px 0; border-radius: 24px; }
  .main2-page .blog .sec-head { margin-bottom: 24px; }
  .main2-page .blog__grid { grid-template-columns: 1fr; min-height: 0; }
  .main2-page .featured { height: 376px; padding: 24px 20px; }
  .main2-page .featured::after { height: 220px; }
  .main2-page .featured__content { flex-direction: column; align-items: flex-start; }
  .main2-page .featured__title { font-size: 24px; }
  .main2-page .featured .arrow-btn { font-size: 16px; }
  .main2-page .article__row { align-items: flex-start; gap: 12px; }
  .main2-page .article__title { flex: 1; font-size: 16px; }
  .main2-page .article .arrow-btn--40, .main2-page .news .arrow-btn--32 { width: 36px; height: 36px; font-size: 16px; }
  .main2-page .article:last-child .article__row { align-items: center; }
  .main2-page .news__list { justify-content: flex-start; }

  /* 4. экосистема */
  .main2-page .eco { padding: 56px 0; border-radius: 24px; background: var(--bg); }
  .main2-page .eco .sec-head { margin-bottom: 24px; }
  .main2-page .eco__diagram-wrap { height: auto; margin-bottom: 24px; }
  .main2-page .eco__diagram {
    position: static;
    width: auto;
    height: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .main2-page .eco__orbit, .main2-page .eco__orbit-inner { display: none; }
  .main2-page .eco__photo { position: static; width: 220px; height: 220px; }
  .main2-page .eco__nodes { width: 100%; display: flex; flex-direction: column; gap: 20px; }
  .main2-page .eco-node { position: static; width: 100%; }
  .main2-page .eco-node .eco-node__icon { width: 56px !important; height: 56px !important; border-radius: 16px !important; }
  .main2-page .eco-node__text { flex: 1; min-width: 0; }
  .main2-page .eco-node__title { font-size: 18px; white-space: normal; }
  .main2-page .eco-node__desc, .main2-page .eco-node--1 .eco-node__desc { width: auto; }
  .main2-page .eco__cta { position: static; transform: none; width: 100%; height: 48px; }
  .main2-page .eco__cta > span:first-child { flex: 1; }
  .main2-page .practice { gap: 16px; padding: 24px; }
  .main2-page .practice__title { font-size: 20px; line-height: 1.3; }
  .main2-page .practice__text { gap: 16px; font-size: 16px; }

  /* 5. команда */
  .main2-page .team { padding: 56px 0; }
  .main2-page .team .sec-head { margin-bottom: 24px; }
  .main2-page .team__grid { grid-template-columns: 1fr; }
  .main2-page .founder__photo { aspect-ratio: auto; height: 400px; }
  .main2-page .founder__label { width: auto; }
  .main2-page .founder__name { font-size: 16px; }
  .main2-page .experts__title { font-size: 18px; }
  .main2-page .experts__list { grid-template-columns: 1fr; }

  /* 6. тест */
  .main2-page .test { padding: 32px 0; }
  .main2-page .test__inner { flex-direction: column; align-items: stretch; }
  .main2-page .test__img { width: 100%; }
  .main2-page .test__title { font-size: 28px; }
  .main2-page .test__desc { font-size: 16px; }
  .main2-page .test__btn { height: 48px; }

  /* 7. партнёры */
  .main2-page .partners { padding: 56px 0; }
  .main2-page .partners .sec-head { margin-bottom: 24px; }
  .main2-page .partners__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .main2-page .partner { width: auto; height: 80px; padding: 12px; border-color: var(--light-btn); }
  .main2-page .partner img { width: 124px; height: 46px; }
  .main2-page .partner img.partner__astana { width: 124px; height: auto; }

  /* 8. миссия */
  .main2-page .mission { padding: 56px 0; }
  .main2-page .mission__bg { object-position: 50% 50%; }
  .main2-page .mission__main { width: auto; gap: 24px; }
  .main2-page .mission__texts { width: auto; }
  .main2-page .mission__lead { font-size: 18px; }
  .main2-page .mission__actions { flex-direction: column; align-items: stretch; gap: 24px; margin-top: 8px; }
  .main2-page .mission__book { width: 100%; height: 48px; }
  .main2-page .mission__caption { width: auto; }
  .main2-page .mission__media { position: static; width: 100%; margin-top: 24px; }
  .main2-page .membership { flex-direction: column; align-items: stretch; gap: 32px; padding-top: 8px; }
  .main2-page .membership__img { flex: none; width: 100%; border-radius: 16px; aspect-ratio: 312 / 205; }
  .main2-page .membership__content { gap: 24px; align-items: stretch; }
  .main2-page .membership__texts { gap: 16px; }
  .main2-page .membership__title { font-size: 20px; line-height: 1.25; }
  .main2-page .membership__desc { font-size: 16px; line-height: 1.45; }
  .main2-page .membership__btn { width: 100%; height: 48px; }

  /* 9. FAQ */
  .main2-page .faq { padding: 56px 0; }
  .main2-page .faq__inner { grid-template-columns: 1fr; }
  .main2-page .faq__title { font-size: 28px; }
  .main2-page .faq__desc { max-width: none; font-size: 16px; }
  .main2-page .faq__cats li { font-size: 16px; }
  .main2-page .acc-item__q { gap: 12px; padding: 14px 12px 14px 16px; }
  .main2-page .acc-item__icon { width: 32px; height: 32px; }
  .main2-page .acc-item__a { padding: 14px 16px 0; }

  /* футер */
  .main2-page .footer { padding: 48px 24px; }
  .main2-page .footer__inner { flex-direction: column; gap: 54px; min-height: 0; }
  .main2-page .footer__main { display: contents; }
  .main2-page .footer__about { gap: 20px; order: 1; }
  .main2-page .footer__desc { font-size: 16px; max-width: 277px; }
  .main2-page .footer__nav { order: 2; flex-direction: column; gap: 14px; }
  .main2-page .footer__copy { order: 3; font-size: 12px; line-height: 1.2; }
  .main2-page .footer__col { gap: 10px; width: auto; }
  .main2-page .footer__col a { font-size: 16px; }
  .main2-page .social--ig, .main2-page .social--tg, .main2-page .social--wa { width: 32px; height: 32px; }
  .main2-page .social--ig img, .main2-page .social--tg img, .main2-page .social--wa img { width: 28px; height: 28px; }
  .main2-page .social--mail, .main2-page .social--yt { width: 42px; height: 32px; }
  .main2-page .social--mail img, .main2-page .social--yt img { width: 40px; height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .main2-page { scroll-behavior: auto; }
  .main2-page *, .main2-page *::before, .main2-page *::after { transition: none !important; animation: none !important; }
}

/* ---------- Digital Bridge popup (isolated from the site chrome) ---------- */
body.is-popup-open { overflow: hidden; }
.event-popup, .event-popup *, .event-popup *::before, .event-popup *::after { box-sizing: border-box; }
.event-popup[hidden] { display: none; }
.event-popup { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 32px; font-family: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
.event-popup__backdrop { position: absolute; inset: 0; background: rgba(217, 220, 225, .78); }
.event-popup__dialog { position: relative; width: min(1156px, 100%); overflow: hidden; border-radius: 24px; background: #fff; padding: 40px 24px 24px; box-shadow: 0 24px 80px rgba(4, 22, 44, .14); }
.event-popup__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin: 0 0 40px; }
.event-popup__title { margin: 0; color: #04162c; font-size: 40px; font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }
.event-popup__close { position: relative; flex: 0 0 auto; width: 48px; height: 48px; margin-top: -16px; padding: 0; border: 0; border-radius: 10px; background: #2e68de; color: #fff; cursor: pointer; }
.event-popup__close span { position: absolute; top: 22px; left: 13px; width: 22px; height: 4px; border-radius: 2px; background: #fff; transform: rotate(45deg); }
.event-popup__close span:last-child { transform: rotate(-45deg); }
.event-popup__content { display: grid; grid-template-columns: minmax(0, 2fr) minmax(330px, 1.15fr); overflow: hidden; border-radius: 20px; }
.event-popup__image { display: block; width: 100%; max-width: 100%; height: 457px; object-fit: cover; }
.event-popup__copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 36px 40px 32px; background: #f5f8fc; color: #475466; }
.event-popup__copy p { margin: 0; }
.event-popup__meta { color: #8b8b8b; font-size: 16px; line-height: 1.35; }
.event-popup__desktop-text { display: flex; flex-direction: column; gap: 20px; margin-top: 22px; font-size: 18px; line-height: 1.38; }
.event-popup__lead { color: #04162c; }
.event-popup__button { display: inline-flex; align-items: center; justify-content: center; min-width: 194px; height: 52px; margin-top: auto; border-radius: 10px; background: #2e68de; color: #fff; font-size: 18px; font-weight: 400; text-decoration: none; }
.event-popup__mobile-text, .event-popup__button-mobile { display: none; }

@media (max-width: 1023.98px) {
  .event-popup { place-items: center; padding: 20px 0; overflow-y: auto; }
  .event-popup__dialog { width: min(360px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; border-radius: 20px; padding: 24px; box-shadow: none; }
  .event-popup__header { display: block; margin: 80px 0 28px; }
  .event-popup__title { padding-right: 4px; font-size: 30px; line-height: 1.12; letter-spacing: -.02em; }
  .event-popup__close { position: absolute; top: 24px; right: 24px; width: 36px; height: 36px; margin: 0; border-radius: 9px; }
  .event-popup__close span { top: 16px; left: 9px; width: 18px; height: 4px; }
  .event-popup__content { display: block; border-radius: 16px; background: #f5f8fc; }
  .event-popup__image { width: 100%; height: auto; aspect-ratio: 312 / 208; object-fit: cover; }
  .event-popup__copy { padding: 32px 24px 28px; }
  .event-popup__meta { font-size: 14px; }
  .event-popup__desktop-text { display: none; }
  .event-popup__mobile-text { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; font-size: 16px; line-height: 1.42; }
  .event-popup__button { width: 100%; height: 48px; margin-top: 28px; font-size: 16px; }
  .event-popup__button-desktop { display: none; }
  .event-popup__button-mobile { display: inline; }
}
