.solution {
    padding: 130px 20px;
    background: #000000;
    position: relative;
}

.solution::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #000000;
}

/* ====== Flex контейнер ====== */
.solution-content {
  display: flex;
  align-items: flex-start; /* выравнивание по верхнему краю */
  gap: 40px; /* расстояние между слайдером и текстом */
  flex-wrap: wrap; /* на мобильных текст под слайдер */
}

.solution-photo img {
  max-width: 100%;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
  object-fit: cover;
}

/* ====== Слайдер ====== */
.custom-slider {
  position: relative;
  flex: 0 0 600px; /* фиксированная ширина слайдера */
  max-width: 100%;
  overflow: hidden;
  border-radius: 10px;
  background: #000000;
}

.slides {
  position: relative;
  width: 100%;
  height: auto;
}

.slide {
  display: none;
}

.slide.active {
  display: block;
}

.slide img,
.slide video {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* ====== Стрелки ====== */
.arrow {
  position: absolute;
  display:flex;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #000000;
  font-size: 2rem;
  font-weight: 200;
  padding: 4px 10px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s, opacity 0.3s, box-shadow 0.3s;
  z-index: 10;
  opacity: 0.8;
}

.arrow:hover {
  background: rgba(0, 0, 0, 0.7);
  opacity: 1;
  box-shadow: 0 0 8px 2px rgba(255,255,255,0.7);
}

.custom-slider:hover .arrow {
  color: #ffffff;
  opacity: 1;
}

.prev { left: 10px; }
.next { right: 10px; }

@media (max-width: 568px) {
  .arrow {
    font-size: 1.5rem;
    padding: 2px 8px;
    opacity: 1;
    box-shadow: 0 0 6px 1px rgba(255,255,255,0.5);
    color: #ffffff;
  }
}

/* ====== Текст справа ====== */
.project-description {
  max-width: 600px;
  padding: 0 20px;
  text-align: left;
}

.project-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.lead-text {
  font-size: 1.5rem;
  line-height: 1.6;
  color: #edebeb;
  margin-bottom: 1rem;
}

.highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.highlight-item {
  margin-bottom: 0.75rem;
}

.highlight-title {
  font-weight: 600;
  color: #0d6efd; /* основной цвет акцента */
  margin-right: 0.3rem;
}

.highlight-text {
  color: #d7d6d6;
}
