/* 1 Контейнер (если у тебя его еще нет) */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  
}

/* Блок "О Юрии" */
.about-yuri {
  padding: 80px 0;
  background-color: #ffffff; /* Тот же темный фон */
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Две равные колонки */
  gap: 60px;
  align-items: center;
}

/* Фото */
.about-image-block {
  display: flex;
  justify-content: center;
}

.about-photo {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* Текст */
.section-sub-title {
  font-size: 42px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #020202;
  margin-bottom: 20px;
  font-weight: 600;
}

.about-intro {
  font-size: 20px;
  line-height: 1.5;
  color: #000000;
  margin-bottom: 30px;
  font-weight: 400;
}

.about-experience {
  font-size: 18px;
  color: #000000;
  margin-bottom: 40px;
  }

/* Список преимуществ */
.about-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;  
}

.about-benefits li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: black;
}

.about-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-primary);
}


/* --- Адаптив (Мобильные) --- */
@media (max-width: 768px) {
  .about-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image-block {
    justify-content: center;
    margin-bottom: 30px;
  }

  .about-photo {
    max-width: 350px;
  }

  .about-benefits {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left; /* На мобильных возвращаем выравнивание влево для пунктов */
  }
  
  .about-benefits li {
    justify-content: flex-start;
  }
}





/* Применяем стили ТОЛЬКО к списку внутри секции #services */
#services .steps-list {
  display: grid;
  /* Создаем 2 равные колонки */
  grid-template-columns: 1fr 1fr;
  /* Расстояние между колонками */
  column-gap: 40px; 
  /* Расстояние между строками (если высота разная) */
  row-gap: 30px;
  
  /* Важно: убираем стандартный отступ браузера для <ol>, чтобы не было сдвига */
  padding-left: 0; 
  margin: 0;
  list-style: none; /* Убираем стандартные цифры браузера, оставляем твои span */
}

/* Растягиваем каждый пункт на всю ширину своей колонки */
#services .step-item {
  width: 100%;
  display: block; /* Сбрасываем любые flex/inline-block, если они были */
  margin-bottom: 0; /* Убираем лишние отступы снизу, так как за это отвечает row-gap */
}

/* Адаптивность: на мобильных возвращаем в одну колонку */
@media (max-width: 768px) {
  #services .steps-list {
    grid-template-columns: 1fr; /* Одна колонка */
    column-gap: 0;
    row-gap: 20px;
  }
}
