/* =====================================================================
   Страница «О компании» 2026 — АО «ПФК «Рыбинсккомплекс»
   Точное соответствие дизайн-макету Figma (файл FPBFjMQiQfsSJd9klZdCJb, страница 1402:73)
   Разрешения: 1920px (Desktop), 1024px (Laptop), 768px (Tablet), 320px (Mobile)
   ===================================================================== */

/* ---------------------------------------------------------------------
   0. Шрифты (Proxima Nova) с абсолютными путями к шрифтам шаблона
   --------------------------------------------------------------------- */
@font-face {
  font-family: 'ProximaNova-Light';
  src: url('/local/templates/.default/fonts/ProximaNova-Light.woff') format('woff'),
       url('/local/templates/.default/fonts/ProximaNova-Light.otf') format('opentype'),
       url('/local/templates/.default/fonts/ProximaNova-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ProximaNova-Regular';
  src: url('/local/templates/.default/fonts/ProximaNova-Regular.woff') format('woff'),
       url('/local/templates/.default/fonts/ProximaNova-Regular.otf') format('opentype'),
       url('/local/templates/.default/fonts/ProximaNova-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ProximaNova-Semibold';
  src: url('/local/templates/.default/fonts/ProximaNova-Semibold.woff') format('woff'),
       url('/local/templates/.default/fonts/ProximaNova-Semibold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ProximaNova-Bold';
  src: url('/local/templates/.default/fonts/ProximaNova-Bold.woff') format('woff'),
       url('/local/templates/.default/fonts/ProximaNova-Bold.otf') format('opentype'),
       url('/local/templates/.default/fonts/ProximaNova-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------------------------------------------
   1. Изоляция стилей и переменные (.about26)
   --------------------------------------------------------------------- */
.about26 {
  --a26-blue: #0E468D;
  --a26-blue-hover: #1156AD;
  --a26-blue-light: #DFEFFC;
  --a26-tint: #F0F6FB;
  --a26-ink: #484848;
  --a26-ink-dark: #262626;
  --a26-muted: #7B828A;
  --a26-line: #DFE4E9;
  --a26-white: #FFFFFF;
  --a26-container: 1274px;
  --a26-pad: 20px;

  color: var(--a26-ink);
  font-family: 'ProximaNova-Light', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  background-color: var(--a26-white);
  overflow-x: clip;
}

.about26,
.about26 * {
  box-sizing: border-box;
}

/* Принудительный сброс легаси-стилей Битрикса (убираем полоски под H2, декоративные иконки и капс) */
.about26 h1,
.about26 h2,
.about26 h3,
.about26 h4,
.about26 p,
.about26 ul,
.about26 li,
.about26 figure,
.about26 figcaption {
  margin: 0 !important;
  padding: 0;
  border: 0;
  display: block;
  width: auto;
  text-transform: none !important;
  position: static;
  inset: auto;
  left: auto;
  margin-left: 0 !important;
  background: none;
  float: none;
  list-style: none;
  letter-spacing: normal;
}

.about26 h1::before, .about26 h1::after,
.about26 h2::before, .about26 h2::after,
.about26 h3::before, .about26 h3::after,
.about26 p::before, .about26 p::after,
.about26 ul::before, .about26 ul::after {
  content: none !important;
  display: none !important;
}

/* Контейнер страницы */
.about26-wrap {
  width: 100%;
  max-width: calc(var(--a26-container) + var(--a26-pad) * 2);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--a26-pad);
  padding-right: var(--a26-pad);
}

/* Типографика */
.about26-h1 {
  font-family: 'ProximaNova-Semibold', sans-serif;
  font-weight: 600;
  font-size: 36px;
  line-height: 38px;
  color: var(--a26-ink);
}

.about26-h2 {
  font-family: 'ProximaNova-Semibold', sans-serif;
  font-weight: 600;
  font-size: 36px;
  line-height: 38px;
  color: var(--a26-ink);
}

.about26-lead {
  font-family: 'ProximaNova-Light', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 18px;
  color: var(--a26-ink-dark);
}

/* ---------------------------------------------------------------------
   2. Баннер (с возможностью вставки динамического видео)
   --------------------------------------------------------------------- */
.about26-hero {
  margin-top: 24px;
}

.about26-hero__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1274 / 432;
  background-color: var(--a26-tint);
  overflow: hidden;
}

.about26-hero__media img,
.about26-hero__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ---------------------------------------------------------------------
   3. H1 + Карусель плашек с вылетом в правую часть экрана
   --------------------------------------------------------------------- */
.about26-intro {
  padding-top: 64px;
  position: relative;
}

/* Сетка: левая колонка по сетке контейнера, правая — вылет в край */
.about26-intro__grid {
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.about26-intro__head {
  padding-top: 8px;
}

.about26-intro__head .about26-h1 {
  margin-bottom: 18px !important;
}

.about26-intro__head .about26-lead {
  max-width: 320px;
}

/* Обертка карусели */
.about26-carousel {
  position: relative;
  width: 100%;
}

.about26-carousel__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 8px;
  cursor: grab;
  user-select: none;
  /* Вылет в правый край экрана за пределы контейнера */
  margin-right: calc(-1 * (100vw - 100%) / 2);
  padding-right: 40px;
}

.about26-carousel__track:active {
  cursor: grabbing;
}

.about26-carousel__track::-webkit-scrollbar {
  display: none;
}

/* Карточка карусели */
.about26-card {
  flex: 0 0 626px;
  min-height: 470px;
  background-color: var(--a26-tint);
  padding: 46px 42px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  scroll-snap-align: start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about26-card__title {
  font-family: 'ProximaNova-Semibold', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 27px;
  color: var(--a26-ink-dark);
  margin-bottom: 22px !important;
  white-space: pre-line;
}

.about26-card__text {
  font-family: 'ProximaNova-Light', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 18px;
  color: var(--a26-ink-dark);
}

.about26-card__count {
  margin-top: auto;
  padding-top: 32px;
  font-family: 'ProximaNova-Light', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 17px;
  color: var(--a26-muted);
}

/* Управление каруселью */
.about26-carousel__controls {
  display: flex;
  justify-content: flex-end;
  gap: 11px;
  margin-top: 24px;
}

.about26-arrow-btn {
  width: 40px;
  height: 40px;
  background-color: var(--a26-blue);
  color: var(--a26-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.about26-arrow-btn:hover:not(:disabled) {
  background-color: var(--a26-blue-hover);
}

.about26-arrow-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.about26-arrow-btn svg {
  width: 14px;
  height: 24px;
  display: block;
}

/* Точки пагинации для планшетов и мобильных */
.about26-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.about26-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--a26-line);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease;
}

.about26-dot.is-active {
  background-color: var(--a26-blue);
}

/* ---------------------------------------------------------------------
   4. Единый контур ответственности
   --------------------------------------------------------------------- */
.about26-contour {
  padding-top: 96px;
}

.about26-contour__top {
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.about26-contour__title {
  max-width: 320px;
}

.about26-contour__text p {
  font-family: 'ProximaNova-Light', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: var(--a26-ink);
  margin-bottom: 20px !important;
}

.about26-contour__text p:last-child {
  margin-bottom: 0 !important;
}

/* Плашки с цифрами */
.about26-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.about26-stat-card {
  background-color: var(--a26-tint);
  padding: 24px 20px;
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about26-stat-card__num {
  font-family: 'ProximaNova-Regular', sans-serif;
  font-weight: 400;
  font-size: 56px;
  line-height: 56px;
  color: var(--a26-ink);
  letter-spacing: -0.02em;
}

.about26-stat-card__num span {
  font-size: 24px;
  line-height: 24px;
  font-family: 'ProximaNova-Regular', sans-serif;
  letter-spacing: normal;
}

.about26-stat-card__label {
  font-family: 'ProximaNova-Light', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 18px;
  color: var(--a26-ink);
  margin-top: 12px;
}

/* ---------------------------------------------------------------------
   5. Этапы работы над проектом (Интерактив с реакцией на мышь)
   --------------------------------------------------------------------- */
.about26-stages {
  padding-top: 96px;
}

.about26-stages .about26-h2 {
  margin-bottom: 16px !important;
}

.about26-stages__lead {
  font-family: 'ProximaNova-Light', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: var(--a26-ink);
  max-width: 900px;
  margin-bottom: 54px !important;
}

.about26-stages__container {
  position: relative;
  width: 100%;
}

/* Непрерывная соединительная линия */
.about26-stages__track-line {
  position: absolute;
  top: 36px;
  left: 36px;
  right: 36px;
  height: 2px;
  background-color: var(--a26-blue-light);
  z-index: 1;
}

.about26-stages__fill-line {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: var(--a26-blue);
  transition: width 0.2s ease-out;
}

/* Сетка из 6 этапов */
.about26-stages__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}

.about26-stage-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
}

/* Круг с номером и индикатором дуги */
.about26-stage-circle {
  width: 73px;
  height: 73px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.about26-stage-circle svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 73px;
  height: 73px;
  transform: rotate(-90deg);
}

.about26-stage-circle .circle-bg {
  stroke: var(--a26-blue-light);
  stroke-width: 2.5;
  fill: var(--a26-white);
}

.about26-stage-circle .circle-arc {
  stroke: var(--a26-blue);
  stroke-width: 2.5;
  stroke-linecap: round;
  fill: none;
  stroke-dasharray: 214;
  stroke-dashoffset: 214;
  transition: stroke-dashoffset 0.3s ease;
}

.about26-stage-num {
  font-family: 'ProximaNova-Semibold', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 27px;
  color: #B2B2B8;
  position: relative;
  z-index: 3;
  transition: color 0.2s ease;
}

.about26-stage-desc {
  font-family: 'ProximaNova-Light', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 18px;
  color: #7B828A;
  transition: color 0.2s ease;
}

/* Активный этап или пройденные этапы */
.about26-stage-item.is-active .about26-stage-num,
.about26-stage-item.is-done .about26-stage-num {
  color: var(--a26-blue);
}

.about26-stage-item.is-active .about26-stage-desc,
.about26-stage-item.is-done .about26-stage-desc {
  color: var(--a26-ink-dark);
}

.about26-stage-item.is-active .circle-arc {
  stroke-dashoffset: 140; /* ~35% окружности */
}

.about26-stage-item.is-done .circle-arc {
  stroke-dashoffset: 0; /* Полный круг */
}

/* ---------------------------------------------------------------------
   6. Наши основные направления работы
   --------------------------------------------------------------------- */
.about26-dir {
  padding-top: 96px;
}

.about26-dir .about26-h2 {
  margin-bottom: 40px !important;
}

.about26-dir__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.about26-dir-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.about26-dir-card:hover {
  transform: translateY(-4px);
}

.about26-dir-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: var(--a26-tint);
  overflow: hidden;
  margin-bottom: 24px;
}

.about26-dir-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.about26-dir-card:hover .about26-dir-card__img img {
  transform: scale(1.04);
}

.about26-dir-card__title {
  font-family: 'ProximaNova-Semibold', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 27px;
  color: var(--a26-ink-dark);
  margin-bottom: 12px !important;
}

.about26-dir-card__desc {
  font-family: 'ProximaNova-Light', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 18px;
  color: var(--a26-ink);
  margin-bottom: 22px !important;
}

.about26-dir-card__link {
  font-family: 'ProximaNova-Regular', sans-serif;
  font-size: 16px;
  line-height: 19px;
  color: var(--a26-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: auto;
  transition: color 0.2s ease;
}

.about26-dir-card:hover .about26-dir-card__link {
  color: var(--a26-blue-hover);
}

/* ---------------------------------------------------------------------
   7. География и опыт
   --------------------------------------------------------------------- */
.about26-geo {
  padding-top: 96px;
}

.about26-geo .about26-h2 {
  margin-bottom: 16px !important;
}

.about26-geo__lead {
  font-family: 'ProximaNova-Regular', sans-serif;
  font-size: 19px;
  line-height: 22px;
  color: var(--a26-ink);
  max-width: 800px;
  margin-bottom: 40px !important;
}

.about26-geo__map {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
}

.about26-geo__map img {
  width: 100%;
  height: auto;
  display: block;
  min-width: 800px;
}

/* ---------------------------------------------------------------------
   8. Стабильность системы / История развития (Интерактив)
   --------------------------------------------------------------------- */
.about26-hist {
  padding-top: 96px;
}

.about26-hist__top {
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.about26-hist__info {
  display: flex;
  flex-direction: column;
}

.about26-hist__title {
  margin-bottom: 20px !important;
  white-space: pre-line;
}

.about26-hist__text {
  font-family: 'ProximaNova-Light', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: var(--a26-ink);
  margin-bottom: 48px !important;
}

/* Навигатор текущего события под текстом */
.about26-hist__current-box {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: auto;
}

.about26-hist__arrow {
  background: none;
  border: none;
  color: var(--a26-blue);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, color 0.15s ease;
}

.about26-hist__arrow:hover {
  color: var(--a26-blue-hover);
  transform: scale(1.15);
}

.about26-hist__current-text {
  flex: 1;
}

.about26-hist__current-year {
  font-family: 'ProximaNova-Semibold', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 27px;
  color: var(--a26-blue);
  margin-bottom: 6px !important;
}

.about26-hist__current-desc {
  font-family: 'ProximaNova-Light', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 19px;
  color: var(--a26-ink);
}

/* Фотография справа с наложением плашки */
.about26-hist__media {
  position: relative;
  width: 100%;
  aspect-ratio: 788 / 591;
  background-color: var(--a26-tint);
  overflow: hidden;
}

.about26-hist__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about26-hist__badge {
  position: absolute;
  top: 32px;
  right: 32px;
  max-width: 260px;
  text-align: right;
  color: var(--a26-white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.about26-hist__badge-year {
  font-family: 'ProximaNova-Semibold', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 27px;
  margin-bottom: 6px !important;
}

.about26-hist__badge-desc {
  font-family: 'ProximaNova-Light', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 19px;
}

/* Шкала времени (ось с точками и реакцией на курсор) */
.about26-hist__timeline {
  margin-top: 54px;
  position: relative;
  padding: 24px 0 10px;
  cursor: pointer;
}

.about26-hist__axis-line {
  position: relative;
  width: 100%;
  height: 2px;
  background-color: var(--a26-line);
}

.about26-hist__axis-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: var(--a26-blue);
  transition: width 0.15s ease-out;
}

.about26-hist__nodes {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: -5px; /* центрирование точек по высоте линии */
}

.about26-hist-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.about26-hist-node__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--a26-line);
  transition: background-color 0.2s ease, transform 0.2s ease;
  position: relative;
}

.about26-hist-node.is-done .about26-hist-node__dot {
  background-color: var(--a26-blue);
}

.about26-hist-node.is-active .about26-hist-node__dot {
  background-color: var(--a26-blue);
  transform: scale(1.2);
}

/* Концентрическое кольцо активного года (как в Figma) */
.about26-hist-node.is-active .about26-hist-node__dot::after {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--a26-blue);
  border-radius: 50%;
}

.about26-hist-node__year {
  margin-top: 14px !important;
  font-family: 'ProximaNova-Light', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 18px;
  color: var(--a26-ink);
  transition: color 0.2s ease, font-weight 0.2s ease;
}

.about26-hist-node.is-bold .about26-hist-node__year {
  font-family: 'ProximaNova-Semibold', sans-serif;
  font-weight: 600;
  color: var(--a26-ink-dark);
}

.about26-hist-node.is-active .about26-hist-node__year {
  color: var(--a26-blue) !important;
  font-family: 'ProximaNova-Semibold', sans-serif;
  font-weight: 600;
  font-size: 16px;
}

/* ---------------------------------------------------------------------
   9. Цитата
   --------------------------------------------------------------------- */
.about26-quote {
  padding-top: 96px;
}

.about26-quote__box {
  background-color: var(--a26-tint);
  border-left: 4px solid var(--a26-blue);
  padding: 32px 40px;
}

.about26-quote__text {
  font-family: 'ProximaNova-Regular', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
  color: var(--a26-ink-dark);
}

/* ---------------------------------------------------------------------
   10. Форма обратной связи («Свяжитесь с нами»)
   --------------------------------------------------------------------- */
.about26-form {
  padding-top: 96px;
  padding-bottom: 96px;
}

.about26-form__box {
  background-color: var(--a26-tint);
  padding: 48px 56px;
}

.about26-form__title {
  margin-bottom: 36px !important;
}

.about26-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.about26-form__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Поля ввода */
.about26-input,
.about26-textarea {
  display: block !important;
  width: 100% !important;
  background-color: var(--a26-white) !important;
  border: 1px solid #DFE4E9 !important;
  padding: 14px 18px !important;
  font-family: 'ProximaNova-Light', sans-serif !important;
  font-size: 16px !important;
  line-height: 20px !important;
  color: var(--a26-ink-dark) !important;
  outline: none !important;
  box-sizing: border-box !important;
  border-radius: 0 !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.about26-input::placeholder,
.about26-textarea::placeholder {
  color: #9AA0A6 !important;
  font-family: 'ProximaNova-Light', sans-serif !important;
}

.about26-input:focus,
.about26-textarea:focus {
  border-color: var(--a26-blue) !important;
}

.about26-textarea {
  min-height: 160px !important;
  resize: vertical !important;
}

.about26-form__hint {
  font-family: 'ProximaNova-Light', sans-serif;
  font-size: 13px;
  line-height: 16px;
  color: var(--a26-muted);
}

/* Загрузка файла */
.about26-file-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.about26-file-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 28px !important;
  background-color: var(--a26-tint) !important;
  border: 1px solid var(--a26-blue) !important;
  border-radius: 0 !important;
  color: var(--a26-blue) !important;
  font-family: 'ProximaNova-Regular', sans-serif !important;
  font-size: 15px !important;
  line-height: 18px !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap !important;
}

.about26-file-btn:hover {
  background-color: var(--a26-blue) !important;
  color: var(--a26-white) !important;
}

.about26-file-input {
  display: none !important;
  opacity: 0 !important;
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
}

/* Чекбокс согласия */
.about26-checkbox-label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  cursor: pointer !important;
  margin-top: 8px !important;
  user-select: none !important;
  position: relative !important;
}

.about26-checkbox {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
  margin: 0 !important;
}

.about26-checkbox-custom {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  flex-shrink: 0 !important;
  border: 1.5px solid var(--a26-blue) !important;
  background-color: var(--a26-white) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 2px !important;
  transition: background-color 0.15s ease !important;
  box-sizing: border-box !important;
}

.about26-checkbox:checked + .about26-checkbox-custom {
  background-color: var(--a26-blue) !important;
}

.about26-checkbox:checked + .about26-checkbox-custom::after {
  content: "" !important;
  display: block !important;
  width: 5px !important;
  height: 10px !important;
  border: solid var(--a26-white) !important;
  border-width: 0 2px 2px 0 !important;
  transform: rotate(45deg) !important;
  margin-bottom: 2px !important;
}

.about26-checkbox-text {
  font-family: 'ProximaNova-Light', sans-serif !important;
  font-size: 13px !important;
  line-height: 18px !important;
  color: var(--a26-ink) !important;
}

.about26-checkbox-text a {
  color: var(--a26-blue) !important;
  text-decoration: underline !important;
}

/* Кнопка отправки формы */
.about26-submit-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: flex-start !important;
  background-color: var(--a26-blue) !important;
  color: var(--a26-white) !important;
  font-family: 'ProximaNova-Semibold', sans-serif !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  line-height: 20px !important;
  padding: 16px 40px !important;
  border: none !important;
  border-radius: 0 !important;
  cursor: pointer !important;
  margin-top: 8px !important;
  transition: background-color 0.2s ease !important;
  box-sizing: border-box !important;
}

.about26-submit-btn:hover {
  background-color: var(--a26-blue-hover) !important;
}

/* Специфичные правила интеграции страницы О компании в Bitrix-шаблон */
body.page-about .search-page > .ablock > h1:first-child,
body.page-about .ablock > h1.wow {
  display: none !important;
}

body.page-about .search-page {
  padding-bottom: 0 !important;
}

body.page-about .section-inner {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

body.page-about .ablock {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}

body.page-about .block-inner.has-scroll {
  max-width: 100% !important;
  padding: 0 !important;
  overflow: visible !important;
}

body.page-about .two-columns {
  margin-top: 0 !important;
}

body.page-about .search-page:has(.ablock) .breadcrumb,
body.page-about .breadcrumb {
  max-width: var(--a26-container) !important;
  margin: 16px auto 20px auto !important;
  padding: 0 var(--a26-pad) !important;
}

/* =====================================================================
   АДАПТИВНОСТЬ ПО РАЗРЕШЕНИЯМ ИЗ МАКЕТА FIGMA
   ===================================================================== */

/* ---------------------------------------------------------------------
   Ноутбуки и планшеты в ландшафте (1024px)
   --------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .about26-intro__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about26-intro__head .about26-lead {
    max-width: 100%;
  }

  .about26-card {
    flex: 0 0 520px;
    min-height: 420px;
    padding: 36px 32px;
  }

  .about26-contour__top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about26-contour__title {
    max-width: 100%;
  }

  .about26-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .about26-hist__top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about26-hist__current-box {
    margin-bottom: 24px;
  }
}

/* ---------------------------------------------------------------------
   Планшеты в портрете (768px)
   --------------------------------------------------------------------- */
@media (max-width: 900px) {
  .about26-card {
    flex: 0 0 380px;
    min-height: 380px;
    padding: 32px 24px;
  }

  .about26-card__title {
    font-size: 20px;
    line-height: 24px;
  }

  .about26-stats {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 16px;
    padding-bottom: 8px;
  }

  .about26-stats::-webkit-scrollbar {
    display: none;
  }

  .about26-stat-card {
    flex: 0 0 240px;
    scroll-snap-align: start;
  }

  .about26-dots {
    display: flex;
  }

  .about26-stages__grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 36px;
  }

  .about26-stages__track-line {
    display: none; /* на средних экранах скрываем горизонтальную соединительную линию */
  }

  .about26-dir__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about26-hist__timeline {
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 16px;
  }

  .about26-hist__axis-line {
    min-width: 700px;
  }

  .about26-hist__nodes {
    min-width: 700px;
  }

  .about26-form__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about26-form__box {
    padding: 36px 28px;
  }
}

/* ---------------------------------------------------------------------
   Смартфоны (320px - 576px) — Вертикальные этапы и 1 колонка
   --------------------------------------------------------------------- */
@media (max-width: 576px) {
  .about26 {
    --a26-pad: 16px;
  }

  .about26-h1,
  .about26-h2 {
    font-size: 28px;
    line-height: 32px;
  }

  .about26-hero {
    margin-top: 16px;
  }

  .about26-intro,
  .about26-contour,
  .about26-stages,
  .about26-dir,
  .about26-geo,
  .about26-hist,
  .about26-quote,
  .about26-form {
    padding-top: 56px;
  }

  .about26-form {
    padding-bottom: 56px;
  }

  .about26-card {
    flex: 0 0 calc(100vw - 32px);
    min-height: 340px;
    padding: 28px 20px;
  }

  .about26-carousel {
    padding-right: 16px;
  }

  .about26-carousel__controls {
    display: none; /* на смартфонах листание свайпом, точки внизу */
  }

  .about26-dots {
    display: flex;
  }

  .about26-stat-card {
    flex: 0 0 200px;
    min-height: 130px;
    padding: 20px 16px;
  }

  .about26-stat-card__num {
    font-size: 42px;
    line-height: 42px;
  }

  /* ВЕРТИКАЛЬНЫЙ ТАЙМЛАЙН ЭТАПОВ (как в макете 320px) */
  .about26-stages__container {
    padding-left: 20px;
  }

  .about26-stages__grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    padding-left: 20px;
  }

  .about26-stages__track-line {
    display: block;
    top: 24px;
    bottom: 24px;
    left: 44px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .about26-stages__fill-line {
    width: 100%;
    height: 0%;
    transition: height 0.2s ease-out;
  }

  .about26-stage-item {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

  .about26-stage-circle {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .about26-stage-circle svg {
    width: 52px;
    height: 52px;
  }

  .about26-stage-num {
    font-size: 18px;
    line-height: 20px;
  }

  .about26-stage-desc {
    font-size: 14px;
    line-height: 18px;
  }

  .about26-dir__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about26-hist__badge {
    top: 16px;
    right: 16px;
    max-width: 200px;
  }

  .about26-hist__badge-year {
    font-size: 20px;
  }

  .about26-hist__badge-desc {
    font-size: 13px;
    line-height: 16px;
  }

  .about26-quote__box {
    padding: 24px 20px;
  }

  .about26-quote__text {
    font-size: 16px;
    line-height: 23px;
  }

  .about26-form__box {
    padding: 28px 16px;
  }

  .about26-file-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .about26-submit-btn {
    width: 100%;
  }
}