.expert__more-link,
.expert__accent-paragraph {
  display: none;
}

.expert__desktop {
  align-items: start;
}

.expert {
  padding: 0 0 60px;
}

.expert__title,
.expert__intro {
  margin: 0 0 25px 0;
}

.expert__meta {
  margin-bottom: 25px;
}

.expert__bio-text {
  gap: 25px;
}

.expert__bio-text p {
  color: var(--text-main);
  font-size: 24px;
  font-weight: 400;
  line-height: 130%;
}

.expert__info-col {
  flex: 2.5;
  justify-content: space-between;
}

.expert__desktop {
  align-items: stretch;
}

.expert__image-col {
  align-items: stretch;
}

.expert__img-wrapper {
  height: 100%;
}

.expert__img {
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .expert--desktop {
    display: none;
  }

  .expert--mobile {
    display: block;
  }

  .expert__desktop {
    display: none !important;
  }

  .expert {
    padding: 50px 0 0;
    background-color: #ffffff;
  }

  .expert__container {
    padding: 0 20px;
  }

  .expert__mobile {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 100%;
  }

  /* --- НОВАЯ ВЕРХНЯЯ ШАПКА --- */
  .expert__mob-header {
    width: 100%;
    margin-bottom: 20px;
  }

  .expert__mob-title {
    margin: 0 0 8px 0;
    color: var(--color-accent);
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
  }

  .expert__mob-subtitle {
    margin: 0;
    color: var(--text-main);
    font-size: 16px;
    font-weight: 400;
    line-height: 135%;
    text-align: justify;
  }

  .expert__mob-subtitle strong {
    font-weight: 700;
  }

  /* --- КАРТОЧКА С ФОТО --- */
  .expert__mob-card {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
    overflow: hidden;
  }

  .expert__mob-img {
    display: block;
    width: 100%;
    height: auto;
  }

  /* Декоративный гамбургер на фото */
  .expert__mob-burger {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    width: 32px;
  }

  .expert__mob-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    padding: 40px 20px 20px;
    background-color: #ffffff00;
    text-align: center;
  }

  .expert__mob-name {
    margin-bottom: 2px;
    color: var(--white);
    font-size: 26px;
    font-weight: 700;
    line-height: 130%;
    text-align: justify;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .expert__mob-experience {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 130%;
    text-align: justify;
    letter-spacing: 0.03em;
  }

  /* --- ТЕКСТОВЫЙ БЛОК БИОГРАФИИ --- */
  .expert__mob-bio {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding: 0;
  }

  .expert__mob-p {
    color: var(--text-main);
    font-size: 14px;
    font-weight: 400;
    line-height: 135%;
  }

  /* Жирный финальный абзац */
  .expert__mob-p-bold {
    color: var(--text-main);
    font-size: 14px;
    font-weight: 700;
    line-height: 135%;
text-align:justify;
  }
}

/* --- СЕКЦИЯ ПОДХОДА НА СТРАНИЦЕ ABOUT --- */
.about-approach {
  padding: 0 0 100px; /* Сверху аккуратный отступ, снизу держим стандартные 130px */
}

.about-approach__container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-approach__text {
  max-width: 938px; /* Ограничиваем ширину, чтобы текст ложился ровно в три строки */
  color: var(--color-accent);
  font-size: 28px;

  font-weight: 700;
  line-height: 140%;
  text-align: justify;
}

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 1024px) {
  .about-approach__text {
    margin-left: 10%; /* На небольших экранах уменьшаем левый сдвиг */
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .about-approach {
    display: none;
  }
}

.expert--desktop {
  padding-top: 100px;
}

.about-path__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 100px;
}

/* --- ЗАГОЛОВКИ --- */
.about-path__header {
  margin-bottom: 60px;
  text-align: center;
}

.about-path__title {
  margin: 0 0 16px 0;
  color: var(--text-main);
  font-size: 56px;
  font-weight: 700;
  line-height: 100%;
  text-transform: uppercase;
}

/* Бирюзовое слово "МОЙ" */
.about-path__title span {
  color: var(--color-accent);
}

.about-path__subtitle {
  color: #0a0a0a;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* --- АКЦЕНТНАЯ ПЛАШКА --- */
.about-path__highlight {
  box-sizing: border-box;
  width: 100%;
  max-width: 938px;
  margin-bottom: 40px;
  padding: 30px 110px;
  border-radius: 16px;
  background-color: var(--color-yellow);
}

.about-path__highlight-text {
  color: var(--text-main);
  font-size: 24px;
  font-weight: 400;
  line-height: 130%;
}

.about-path__highlight-text:not(:last-child) {
  margin-bottom: 20px; /* Расстояние между строками в плашке */
}

.about-path__highlight strong {
  font-weight: 700;
}

/* --- ОСНОВНОЙ ТЕКСТ --- */
.about-path__description {
  width: 100%;
  text-align: justify;
}

.about-path__description p {
  margin: 0 0 40px 0;
  color: #4a4a4a;
  color: var(--text-main);
  font-size: 24px;
  font-weight: 400;
  line-height: 130%;
  text-align: justify; /* Для красивого блочного расположения, как на фото */
}

.about-path__description p:last-child {
  margin-bottom: 0;
}

.about-path__description strong {
  font-weight: 700;
}

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 768px) {
  .about-path__container {
    padding-bottom: 0;
  }

  .about-path {
    padding: 50px 0 0;
  }

  .about-path__title {
    font-size: 22px;
  }

  .about-path__subtitle {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .about-path__header {
    margin-bottom: 25px;
  }

  .about-path__highlight {
    margin-bottom: 25px;
    padding: 15px 10px;
  }

  .about-path__highlight-text {
    font-size: 14px;
  }

  .about-path__highlight-text:not(:last-child) {
    margin-bottom: 10px;
  }

  .about-path__description p {
    margin: 0 0 12px 0;
    font-size: 14px;
  }
}

.about-synthesis__container {
  padding-bottom: 100px;
  line-height: 1.5;
}

/* --- ЗАГОЛОВОК --- */
.about-synthesis__title {
  margin: 0 0 60px 0;
  color: #0a0a0a;
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.5px;
  br {
    display: none;
  }
}

/* Бирюзовое слово "СИНТЕЗ" */
.about-synthesis__title span {
  color: var(--color-accent);
  text-transform: uppercase;
}

/* --- ОБЕРТКА ДЛЯ КОНТЕНТА (ФЛЕКСЫ) --- */
.about-synthesis__content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

/* --- ЛЕВАЯ КОЛОНКА (КАРТИНКА) --- */
.about-synthesis__image-wrapper {
  display: flex;
  flex-shrink: 0;
}

.about-synthesis__image-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 252px;
  height: 252px;
  padding: 12px 16px 14px 15px;
  border-radius: 15px;
  background-color: var(--color-accent);
  overflow: hidden;
  flex-shrink: 0;
}

.about-synthesis__image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Или contain, в зависимости от того, как вырежешь SVG/PNG */
}

/* --- ПРАВАЯ КОЛОНКА (СПИСОК) --- */
.about-synthesis__list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.about-synthesis__list--mob {
  display: none;
}

.about-synthesis__item {
  color: var(--text-main);
  font-size: 24px;
  font-weight: 400;
  line-height: 130%;
}

.about-synthesis__item strong {
  font-weight: 700;
}

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 768px) {
  .about-synthesis__container {
    padding-bottom: 0;
  }

  .about-synthesis__list--mob {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-between;
  }

  .about-synthesis__list {
    display: none;
  }

  .about-synthesis {
    padding-top: 30px;
  }

  .about-synthesis__title {
    margin-bottom: 30px;
    font-size: 15px;
    text-align: justify;
    br {
      display: block;
    }
  }

  .about-synthesis__image-inner {
    width: 91px;
    height: auto;
    padding: 25px 9px;
  }

  .about-synthesis__image {
    object-fit: contain;
  }

  .about-synthesis__image-wrapper {
    gap: 15px;
  }

  .about-synthesis__content {
    flex-direction: column;
    gap: 15px;
  }

  .about-synthesis__item {
    font-size: 14px;
  }
}

.about-experience__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 100%;
  padding-bottom: 100px;
}

/* --- ЗАГОЛОВКИ --- */
.about-experience__header {
  margin-bottom: 60px;
  text-align: center;
}

.about-experience__title {
  margin: 0 0 16px 0;
  color: var(--text-main);
  font-size: 56px;
  font-weight: 700;
  text-transform: uppercase;
}

.about-experience__intro--mob {
  display: none;
}

/* Акцентное слово "ОСНОВА" */
.about-experience__title span {
  color: var(--color-accent);
}

.about-experience__subtitle {
  color: #0a0a0a;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
}

/* --- ВВОДНЫЙ ТЕКСТ --- */
.about-experience__intro {
  max-width: 990px;
  margin-bottom: 40px;
  padding: 0 20px;
  text-align: center;
}

.about-experience__intro p {
  color: var(--text-main);
  font-size: 24px;
  font-weight: 400;
  line-height: 135%;
  letter-spacing: 0.01em;
}

/* --- БОЛЬШАЯ КРЕМОВАЯ ПЛАШКА --- */
.about-experience__board {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--color-yellow);
}

/* --- СПИСОК ЭТАПОВ --- */
.about-experience__list {
  display: flex;
  flex-direction: column;
  gap: 35px; /* Отступ между блоками опыта */
  max-width: 1280px;
}

.about-experience__item {
  display: flex;
  flex-direction: column;
}

.about-experience__item-title {
  margin: 0 0 5px 0;
  color: var(--text-main);
  font-size: 28px;
  font-weight: 700;
  line-height: 130%;
}

/* Название учреждения (курсив) */
.about-experience__item-source {
  margin-bottom: 10px;
  color: var(--text-main);
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
}

/* Описание этапа */
.about-experience__item-text {
  color: var(--text-main);
  font-size: 24px;
  font-weight: 400;
}

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 768px) {
  .about-experience__container {
    padding: 0;
  }

  .about-experience {
    padding-top: 50px;
    padding-bottom: 30px;
  }

  .about-experience__title {
    font-size: 22px;
  }

  .about-experience__header {
    margin-bottom: 20px;
    padding-right: 15px;
    padding-left: 15px;
  }

  .about-experience__intro--mob {
    display: block;
    margin-bottom: 20px;
    text-align: left;
  }

  .about-experience__intro {
    display: none;
  }

  .about-experience__subtitle {
    font-size: 14px;
  }

  .about-experience__intro p {
    font-size: 15px;
  }

  .about-experience__board {
    padding: 15px 20px;
  }

  .about-experience__list {
    gap: 20px;
  }

  .about-experience__item-title {
    font-size: 14px;
  }

  .about-experience__item-source {
    margin-bottom: 8px;
    font-size: 12px;
  }

  .about-experience__item-text {
    font-size: 14px;
  }
}

/* Стили для кликабельного года */
.open-certificate {
  cursor: pointer;
  transition: color 0.3s;
}

.open-certificate:hover {
  color: #6D9688;
  transform: scale(1.02);
}

/* Точки будут показываться только там, где есть два документа. */
/* Общая обёртка сертификата и точек */
.cert-popup__wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90%;
  max-height: 90%;
}

/* Точки непосредственно под белой рамкой */
.cert-popup__wrapper .cert-popup__dots {
  position: static;
  transform: none;
  margin-top: 15px;
  flex-shrink: 0;
}

.cert-popup__dots[hidden] {
  display: none;
}

.cert-popup__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #c5c5c5;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cert-popup__dot--active {
  background: #87b2a3;
  transform: scale(1.2);
}

/* Точки под белой рамкой сертификата */
.cert-popup__dots {
  position: absolute;
  left: 50%;
  bottom: 35px;
  transform: translateX(-50%);
  margin-top: 0;
  z-index: 10;
}

/* Стрелки переключения сертификатов */
.cert-popup__prev,
.cert-popup__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;

  padding: 0;
  border: none;
  background: transparent;
  color: #87b2a3;
  font-size: 36px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}

.cert-popup__prev {
  right: calc(100% + 30px);
}

.cert-popup__next {
  left: calc(100% + 30px);
}

.cert-popup__prev:hover,
.cert-popup__next:hover {
  color: #6d9688;
}

/* Скрываем неактивные стрелки */
.cert-popup__prev[hidden],
.cert-popup__next[hidden] {
  display: none;
}

/* Стрелки на мобильных устройствах */
@media (max-width: 768px) {
  .cert-popup__prev,
  .cert-popup__next {
    font-size: 32px;
  }

  .cert-popup__prev {
    right: calc(100% - 5px);
  }

  .cert-popup__next {
    left: calc(100% - 5px);
  }
}




/* --- СЕКЦИЯ С ВИДЕО (ПРОСТОЙ ВАРИАНТ КАРТИНКОЙ) --- */
.about-video {
  width: 100%;
}

/* Растянутая темная подложка на всю ширину экрана */
.about-video__board {
  width: 100%;
}

/* Контейнер, который центрирует баннер по общей сетке сайта */
.about-video__container {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  padding-bottom: 100px;
}

/* Ссылка-обертка */
.about-video__link {
  display: block;
  width: 100%;
  overflow: hidden;
}

/* Сама картинка внутри */
.about-video__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* --- АДАПТИВНОСТЬ --- */

@media (max-width: 768px) {
  .about-video__container {
    padding-bottom: 0;
  }
}
