
/* Превью */
#about-us .video-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  z-index: 1; /* под текстом, над видео */
  transition: opacity 1s ease-in-out;
}



/*до этого*/
#about-us {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  overflow: hidden; /* предотвращает "вылазание" */
  margin-top: 10px;
}

/* Левая колонка (70%) */
#about-us .about-text {
  flex: 0 0 65%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#about-us .about-text .features {
  list-style: none;
  margin: 16px 0;
  padding: 0;
}

#about-us .about-text .features li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  font-size: 18px;        /* читаемый размер */
  line-height: 1.5;
  font-weight: 400;       /* обычный, не жирный */
}

#about-us .about-text .features li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--accent);
  font-size: 30px;        /* крупная точка */
  line-height: 1;
}

/* Правая колонка (30%) */
#about-us .video-side {
  flex: 0 0 35%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-height: 100%;       /* ограничение высоты */
  overflow: hidden;
  position: relative;
}

#about-us .video-side video {
  max-width: 100%;
  height: auto;           /* убираем "вылазание" */
  max-height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 0;
}

/* Текст поверх видео */
#about-us .video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 700;
  color: #fff;
  pointer-events: none;
  text-align: center;
  padding: 0 10px;
  z-index: 2;
}

#about-us .video-overlay .highlight {
  background: #ffeb3b;
  padding: 2px 8px;
  border-radius: 6px;
  color: #000;
  margin-left: 4px;
}


/* Адаптив */
@media (max-width: 900px) {
  #about-us {
    flex-direction: column;
  }

  #about-us .about-text {
    flex: 1 0 100%;
  }

  #about-us .video-side {
    flex: 1 0 100%;
    max-height: 1000px;
    display: block; /* чтобы видео тянулось по ширине */
    border-radius: var(--radius) !important;
  }

  #about-us .video-side video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* убираем возможные зазоры от inline-video */
  }

  #about-us .video-overlay {
    font-size: clamp(14px, 5vw, 20px);
  }

  #about-us .about-text .features li {
    font-size: 16px;
  }
}
