/* Страница «О компании» (кадр 1657:39471) */

.ab-h2 { font-size: var(--t-h1); line-height: var(--lh-h1); font-weight: var(--w-medium); color: var(--ink); }
.ab-h2 .accent, .ab-h3 .accent { color: var(--brand); }
.ab-h2--light { color: #fff; }
.ab-h3 { font-size: var(--t-h2); line-height: var(--lh-h2); font-weight: var(--w-medium); color: #fff; }
.ab-h3--sm { font-size: var(--t-h3); line-height: var(--lh-h3); }
.ab-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.ab-arrows { display: flex; gap: 20px; padding-bottom: 8px; }
.ab-arrow {
  width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: var(--ink); transition: background .15s, color .15s, opacity .15s;
}
.ab-arrow svg { width: 16px; height: 16px; }
.ab-arrow:hover { background: var(--brand); color: #fff; }
.ab-arrow[disabled] { opacity: .4; cursor: default; background: #fff; color: var(--ink); }
.ab-dots { display: none; }

/* тёмные секции */
.ab-dark { position: relative; overflow: hidden; color: #fff; }
.ab-dark .honey {
  background-color: rgba(175, 198, 255, .10);
  background-image: url("../assets/img/pattern-girih.svg");
  background-size: 408px 408px;
  background-repeat: repeat;
}

/* --- Вступление --- */
.ab-intro { padding: 60px 0 120px; }
.ab-intro__text { max-width: 900px; margin-top: 40px; font-size: var(--t-lg); line-height: var(--lh-lg); color: var(--ink); }

/* --- Преимущества для вашего бизнеса --- */
/* Макет 1920: секция 662–1975 (1313), заголовок 48/53, текст 16/28, карточки 385×359 с зазором 20.
   Девушка на стуле — прозрачный вырез (814×1161 css), правый край 21px от края экрана, верх +153, низ = низ секции.
   Спираль точек 598×600 в правом верхнем углу; за девушкой мягкий синеватый ореол. */
.ab-adv { position: relative; padding: 120px 0; background: #1A1E25; overflow: hidden; }
.ab-adv .container { position: relative; z-index: 1; }
.ab-adv__art { position: absolute; inset: 0; pointer-events: none; }
.ab-adv__art::before {
  content: ""; position: absolute; left: 1000px; top: 560px; width: 980px; height: 900px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(96,118,160,.26), rgba(96,118,160,0));
}
.ab-adv__dots { position: absolute; right: 0; top: 0; width: clamp(200px, 32vw, 620px); height: auto; }
.ab-adv__photo { position: absolute; right: 21px; top: 153px; width: 814px; height: auto; }
.ab-adv__art-m { display: none; }
.ab-adv__text { max-width: 840px; margin-top: 30px; font-size: var(--t-base); line-height: 28px; color: var(--b2b-text-2); }
.ab-adv__grid { display: grid; grid-template-columns: repeat(2, 385px); gap: 20px; margin-top: 75px; }

.ab-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 360px; padding: 40px;
  border-radius: var(--r-card); border: 1px solid transparent;
}
.ab-card--outline { border-color: var(--brand); }
.ab-card__ico { display: block; width: 50px; height: 50px; color: var(--brand); }
.ab-card__ico svg { width: 100%; height: 100%; display: block; }
.ab-card__ico--sm { width: 40px; height: 40px; }
.ab-card__title { font-size: var(--t-h4); line-height: var(--lh-h4); font-weight: var(--w-medium); color: #fff; }
.ab-card__text { margin-top: 20px; font-size: var(--t-sm); line-height: 22px; color: var(--b2b-text-2); }

/* --- Миссия --- */
.ab-mission { padding: 120px 0 0; }
.ab-mission__grid { display: grid; grid-template-columns: 385px 1fr; gap: 20px; }
.ab-mission__text { max-width: 950px; font-size: var(--t-lg); line-height: var(--lh-lg); color: var(--ink); }
.ab-mission__text p + p { margin-top: 30px; }

/* --- Эволюция развития компании --- */
.ab-evo { padding: 120px 0; }
.tl {
  --tl-col: calc((100% - 100px) / 6);
  display: grid; grid-auto-flow: column; grid-auto-columns: var(--tl-col); grid-template-rows: auto 64px auto; gap: 40px 20px; margin-top: 30px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.tl::-webkit-scrollbar { display: none; }
.tl__years { scroll-snap-align: start; }
.tl__card { position: relative; padding: 20px; border-radius: var(--r-card); background: #fff; font-size: var(--t-base); line-height: 25px; font-weight: var(--w-medium); color: var(--ink); }
.tl__card--top { align-self: end; }
.tl__card--bottom { align-self: start; }
.tl__card::after {
  content: ""; position: absolute; width: 4px; height: 40px; background: #fff; left: calc(25% - 7px);
}
.tl__card--top::after { top: 100%; }
.tl__card--bottom::after { bottom: 100%; left: auto; right: calc(25% - 7px); }
.tl__logo { display: block; height: auto; max-width: 100%; margin-bottom: 12px; }
.tl__card--top .tl__logo { width: 160px; }
.tl__card--bottom .tl__logo { width: 118px; }
.tl__years { display: flex; gap: 20px; }
.tl__year {
  flex: 1 1 0; display: flex; align-items: center; justify-content: center; height: 64px; border-radius: var(--r-pill);
  background: var(--brand); color: #fff; font-size: var(--t-md); line-height: 1; font-weight: var(--w-medium);
}

/* --- Используемые технологии --- */
.ab-tech { padding: 120px 0; background: linear-gradient(90deg, #212429 0%, #1D2026 55%, #191C22 100%); }
.ab-tech::before {
  content: ""; position: absolute; right: 0; top: 0; z-index: 0; width: 720px; height: 1087px; pointer-events: none;
  background: url("../assets/img/photo/dots-tech.png") no-repeat 0 0 / 100% auto;
}
.ab-tech .honey { background-color: #2E323B; }
.ab-tech .container { position: relative; z-index: 1; }
.ab-tech__text { max-width: 680px; margin-top: 40px; font-size: var(--t-lg); line-height: var(--lh-lg); color: #fff; }

.ab-gpon { display: grid; grid-template-columns: 540px 1fr; gap: 0; margin-top: 120px; }
.ab-gpon__sub { margin-top: 30px; font-size: var(--t-lg); line-height: var(--lh-lg); color: var(--brand); }
.ab-gpon__desc { margin-top: 20px; max-width: 540px; font-size: var(--t-sm); line-height: 22px; color: var(--b2b-text-2); }
.ab-gpon__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.ab-fact { min-height: 160px; padding: 38px 40px; border-radius: var(--r-card); border: 1px solid transparent; }
.ab-fact--outline { border-color: var(--brand); }
.ab-fact strong { display: block; font-size: var(--t-lg); line-height: var(--lh-lg); font-weight: var(--w-medium); color: var(--brand); }
.ab-fact span { display: block; margin-top: 8px; font-size: var(--t-sm); line-height: 22px; color: var(--b2b-text-2); }
.ab-fact--tall { min-height: 180px; padding: 40px; }
.ab-fact--tall strong { color: #fff; }
.ab-fact--tall span { line-height: var(--lh-sm); }

.ab-h3--big { margin-top: 120px; }
.ab-how { margin-top: 65px; }
.ab-how__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 20%; gap: 0;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.ab-how__track::-webkit-scrollbar { display: none; }
.ab-how__item { margin: 0; scroll-snap-align: start; }
.ab-how__img {
  height: 305px; background-image: url("../assets/img/photo/gpon-scheme.webp"); background-repeat: no-repeat;
  background-size: 500% 100%; background-position: calc(var(--i) * 25%) 0;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40px, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(180deg, transparent, #000 40px, #000 calc(100% - 24px), transparent);
}
.ab-how__item:first-child .ab-how__img {
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40px, #000 calc(100% - 24px), transparent), linear-gradient(90deg, transparent, #000 70px);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, transparent, #000 40px, #000 calc(100% - 24px), transparent), linear-gradient(90deg, transparent, #000 70px); mask-composite: intersect;
}
.ab-how__item:last-child .ab-how__img {
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40px, #000 calc(100% - 24px), transparent), linear-gradient(270deg, transparent, #000 70px);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, transparent, #000 40px, #000 calc(100% - 24px), transparent), linear-gradient(270deg, transparent, #000 70px); mask-composite: intersect;
}
.ab-how__item figcaption { padding-right: 20px; }
.ab-how__item strong { display: block; font-size: var(--t-lg); line-height: var(--lh-lg); font-weight: var(--w-medium); color: #fff; }
.ab-how__item span { display: block; margin-top: 8px; font-size: var(--t-sm); line-height: var(--lh-sm); color: var(--b2b-text-2); }

.ab-tadv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.ab-tadv .ab-card { min-height: 320px; }

.ab-row { display: grid; grid-template-columns: 385px 1fr; gap: 20px; margin-top: 120px; }
.ab-row__desc { margin-top: 20px; max-width: 340px; font-size: var(--t-base); line-height: 25px; color: var(--b2b-text-2); }
.ab-row__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ab-norm__title { font-size: var(--t-lg); line-height: var(--lh-lg); color: #fff; }
.ab-norm__title .accent { color: var(--brand); }
.ab-norm__desc { margin-top: 12px; max-width: 820px; font-size: var(--t-sm); line-height: 22px; color: var(--b2b-text-2); }

/* --- Наша команда --- */
.ab-team { padding: 120px 0 0; }
.ab-team__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; margin-top: 40px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.ab-team__track::-webkit-scrollbar { display: none; }
/* Обращение генерального директора: карточка с фото слева, текст справа */
.ab-ceo { display: grid; grid-template-columns: 385px minmax(0, 1fr); gap: 60px; align-items: center; margin-top: 60px; }
.ab-ceo__text { display: grid; gap: 20px; max-width: 860px; font-size: var(--t-md); line-height: 1.5; color: var(--ink); }
.ab-ceo__hello { font-size: var(--t-h4); line-height: var(--lh-h4); font-weight: var(--w-medium); }
.ab-ceo__sign { margin-top: 10px; display: grid; gap: 4px; color: var(--ink-2); font-size: var(--t-base); line-height: var(--lh-base); }
.ab-ceo__sign strong { font-size: var(--t-md); line-height: var(--lh-md); font-weight: var(--w-medium); color: var(--ink); }
@media (max-width: 1100px) { .ab-ceo { grid-template-columns: 300px minmax(0, 1fr); gap: 40px; } }
@media (max-width: 767px) {
  .ab-ceo { grid-template-columns: minmax(0, 1fr); gap: 25px; margin-top: 25px; }
  .ab-ceo .ab-person { max-width: 320px; }
  .ab-ceo__text { font-size: var(--t-base); gap: 14px; }
  .ab-ceo__hello { font-size: 17px; line-height: 1.3; }
}
.ab-person { position: relative; display: flex; align-items: flex-end; aspect-ratio: 385 / 540; border-radius: var(--r-card); background: #2C3038; overflow: hidden; scroll-snap-align: start; }
.ab-person__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ab-person__info { position: relative; padding: 40px; }
.ab-person__name { font-size: var(--t-lg); line-height: var(--lh-lg); font-weight: var(--w-medium); color: #fff; }
.ab-person__role { margin-top: 20px; font-size: var(--t-sm); line-height: var(--lh-sm); color: #D6DAE1; }

/* --- Вакансии --- */
.ab-vac { padding: 120px 0; }
.ab-vac__list { display: grid; gap: 15px; margin: 60px 0 0; padding: 0; list-style: none; }
.ab-vac__item {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 70px; padding: 20px 30px;
  border-radius: var(--r-sm); background: #fff; color: var(--ink); font-size: var(--t-base); line-height: var(--lh-base); font-weight: var(--w-semibold);
  transition: color .15s;
}
.ab-vac__item svg { flex: none; width: 16px; height: 16px; color: var(--ink); }
.ab-vac__item:hover { color: var(--brand); }

/* --- Адаптив --- */
@media (max-width: 1440px) {
  .ab-adv__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 62%; }
  .ab-adv__photo { width: 40vw; right: 0; top: auto; bottom: 0; }
  .ab-adv__dots { width: 32vw; }
  .ab-adv__art::before { left: auto; right: -10vw; top: auto; bottom: -10vw; width: 60vw; height: 60vw; }
  .ab-gpon { grid-template-columns: 1fr 1.6fr; gap: 40px; }
  .ab-row, .ab-mission__grid { grid-template-columns: 300px 1fr; }
  .tl { --tl-col: 250px; }
}
@media (max-width: 1279px) {
  /* планшет/мобильный: девушка под карточками, спираль точек слева внизу (как в мобильном макете) */
  .ab-adv__art { position: relative; inset: auto; display: block; height: clamp(260px, 92vw, 420px); margin: 40px calc(var(--page-pad) * -1) 0; overflow: hidden; }
  .ab-adv__art::before { display: none; }
  .ab-adv__dots { right: auto; left: 0; top: auto; bottom: 0; width: min(280px, 72vw); transform: rotate(180deg); }
  .ab-adv__photo { right: 13%; top: auto; bottom: 0; width: min(62vw, 300px); }
  .ab-adv__grid { max-width: none; }
  .ab-gpon { grid-template-columns: 1fr; }
  .ab-gpon__grid { margin-top: 40px; }
  .ab-tadv { grid-template-columns: 1fr; }
  .ab-row, .ab-mission__grid { grid-template-columns: 1fr; }
  .ab-row__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ab-how__track { grid-auto-columns: 320px; }
  .ab-team__track { grid-auto-columns: calc((100% - 20px) / 2); }
  .ab-card, .ab-fact { padding: 30px; }
}
@media (max-width: 767px) {
  /* мобильный кадр «О компании» */
  .ab-h2 { font-size: 30px; line-height: 33px; }
  .ab-h3 { font-size: 24px; line-height: 31px; }
  .ab-h3--sm { font-size: 22px; line-height: 28px; }
  .ab-arrows { display: none; }
  .ab-dots { display: flex; justify-content: center; gap: 6px; margin-top: 25px; }
  .ab-dots span { width: 30px; height: 3px; border-radius: 2px; background: #C5CBD3; transition: background .2s; }
  .ab-dots span.is-active { background: var(--brand); }
  .ab-dots--dark span { background: var(--b2b-text-3); }
  .ab-dots--dark span.is-active { background: var(--brand); }

  .ab-intro { padding: 30px 0 50px; }
  .ab-intro__text { margin-top: 20px; font-size: var(--t-base); line-height: var(--lh-base); }

  .ab-adv { padding: 50px 0 0; }
  .ab-adv__text { margin-top: 20px; font-size: var(--t-base); line-height: var(--lh-base); }
  .ab-adv__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
  .ab-adv__art { margin-top: 24px; }
  .ab-card { min-height: 0; gap: 25px; padding: 20px 15px; border-radius: var(--r-sm); }
  .ab-card__ico { width: 40px; height: 40px; }
  .ab-card__ico--sm { width: 32px; height: 32px; }
  .ab-card__title { font-size: var(--t-base); line-height: var(--lh-base); }
  .ab-card__text { margin-top: 12px; font-size: 12px; line-height: 17px; }

  .ab-mission { padding-top: 50px; }
  .ab-mission__text { font-size: var(--t-base); line-height: var(--lh-base); }
  .ab-mission__text p + p { margin-top: 20px; }

  .ab-evo { padding: 50px 0; }
  .tl { --tl-col: 168px; grid-template-rows: auto 44px auto; gap: 20px 15px; margin-top: 25px; }
  .tl__card { padding: 15px; border-radius: var(--r-sm); font-size: var(--t-sm); line-height: var(--lh-sm); }
  .tl__card::after { height: 20px; width: 3px; left: calc(25% - 5px); }
  .tl__card--bottom::after { left: auto; right: calc(25% - 5px); }
  .tl__years { gap: 15px; }
  .tl__year { height: 44px; font-size: var(--t-sm); }
  .tl__card--top .tl__logo { width: 120px; }
  .tl__card--bottom .tl__logo { width: 90px; }

  .ab-tech { padding: 50px 0 60px; }
  .ab-tech::before { width: 360px; height: 543px; right: -60px; top: 0; }
  .ab-tech__text { margin-top: 20px; font-size: var(--t-base); line-height: var(--lh-base); }
  .ab-gpon { margin-top: 50px; }
  .ab-gpon__sub { margin-top: 15px; font-size: var(--t-base); line-height: var(--lh-base); }
  .ab-gpon__desc { margin-top: 15px; font-size: 12px; line-height: 17px; }
  .ab-gpon__grid { gap: 12px; margin-top: 30px; }
  .ab-fact { min-height: 0; padding: 20px 15px; border-radius: var(--r-sm); }
  .ab-fact strong { font-size: var(--t-base); line-height: var(--lh-base); }
  .ab-fact span { font-size: 12px; line-height: 17px; }
  .ab-fact--tall { padding: 20px 15px; }
  .ab-h3--big { margin-top: 50px; }
  .ab-how { margin-top: 30px; }
  .ab-how__track { grid-auto-columns: 300px; }
  .ab-how__img { height: 230px; background-size: 500% 100%; }
  .ab-how__item strong { font-size: var(--t-base); line-height: var(--lh-base); }
  .ab-how__item span { font-size: 12px; line-height: 17px; }
  .ab-tadv { gap: 12px; margin-top: 25px; }
  .ab-tadv .ab-card { min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 15px 20px; }
  .ab-tadv .ab-card__body { flex: 1 1 100%; }
  .ab-tadv .ab-card__title { flex: 1; }
  .ab-tadv .ab-card__ico--sm + .ab-card__body { display: contents; }
  .ab-tadv .ab-card__text { flex: 1 1 100%; margin-top: 0; }
  .ab-row { margin-top: 50px; }
  .ab-row__desc { margin-top: 15px; font-size: var(--t-sm); line-height: var(--lh-sm); }
  .ab-row__grid { grid-template-columns: 1fr; gap: 12px; margin-top: 25px; }
  .ab-row--norm { margin-top: 50px; }
  .ab-norm { margin-top: 20px; }
  .ab-norm__title { font-size: var(--t-base); line-height: var(--lh-base); }
  .ab-norm__desc { font-size: 12px; line-height: 17px; }

  .ab-team { padding-top: 50px; }
  .ab-team__track { grid-auto-columns: 100%; margin-top: 25px; }
  .ab-person__info { padding: 25px 20px; }
  .ab-person__role { margin-top: 12px; }

  .ab-vac { padding: 50px 0 60px; }
  .ab-vac__list { gap: 10px; margin-top: 25px; }
  .ab-vac__item { min-height: 56px; padding: 15px 20px; font-size: var(--t-sm); line-height: var(--lh-sm); }
}

/* единое скругление фотографий, как на остальных страницах */
.ab-person__photo { border-radius: 30px; }
@media (max-width: 767px) { .ab-person__photo { border-radius: 20px; } }

/* ===== Переработанные разделы: миссия и эволюция ===== */
.ab-mis { padding: 120px 0 0; }
.ab-mis__panel { position: relative; overflow: hidden; padding: 80px; border-radius: 30px; background: linear-gradient(135deg, #23272F 0%, #191C22 100%); color: #fff; }
.ab-mis__dots { position: absolute; right: -120px; top: -160px; width: 620px; max-width: none; opacity: .9; pointer-events: none; }
.ab-mis__label { position: relative; display: inline-block; padding: 8px 20px; border-radius: 30px; background: rgba(239, 127, 26, .16); color: #F5A55A; font-size: var(--t-base); line-height: var(--lh-base); font-weight: var(--w-regular); letter-spacing: .04em; text-transform: uppercase; }
.ab-mis__lead { position: relative; max-width: 1040px; margin-top: 30px; font-size: var(--t-h3); line-height: 1.3; font-weight: var(--w-medium); }
.ab-mis__sub { position: relative; max-width: 760px; margin-top: 30px; padding-left: 24px; border-left: 3px solid var(--brand); font-size: var(--t-lg); line-height: var(--lh-lg); color: rgba(255, 255, 255, .78); }

.ab-years { padding: 120px 0 0; }
.ab-years__grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 60px; list-style: none; padding: 0; counter-reset: none; }
.ab-year { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: 30px; background: #fff; }
.ab-year::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 6px rgba(239, 127, 26, .16); }
.ab-year__num { font-size: var(--t-h2); line-height: 1; font-weight: var(--w-medium); color: var(--ink); }
.ab-year p { flex: 1; font-size: var(--t-base); line-height: var(--lh-base); color: var(--ink); opacity: .78; }
.ab-year__logo { width: auto; height: 34px; align-self: flex-start; object-fit: contain; }
/* первая и последняя веха выделены оранжевой обводкой; логотипы — как есть, на белом */
.ab-year:first-child, .ab-year:last-child { box-shadow: inset 0 0 0 2px var(--brand); }
.ab-year:first-child .ab-year__num, .ab-year:last-child .ab-year__num { color: var(--brand); }
.ab-team { padding-bottom: 120px; }
@media (max-width: 1279px) {
  .ab-years__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ab-mis__panel { padding: 60px; }
}
@media (max-width: 900px) { .ab-years__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .ab-mis, .ab-years { padding-top: 60px; }
  .ab-mis__panel { padding: 30px 20px; border-radius: 20px; }
  .ab-mis__dots { width: 220px; right: -110px; top: -120px; opacity: .55; }
  .ab-mis__lead { margin-top: 20px; font-size: 21px; }
  .ab-mis__sub { margin-top: 20px; padding-left: 16px; font-size: 15px; line-height: 1.45; }
  .ab-years__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 30px; }
  .ab-year { padding: 20px; border-radius: 20px; gap: 10px; }
  .ab-team { padding-bottom: 60px; }
}
