.yslugi{
  padding: 55px 0px 110px;
  background-color: #ffffff;
}

.yslugi__title-box{
  max-width: 58%;
  padding-left: 20px;
  position: relative;
}

.yslugi__title-box:before{
  content: "";
  position: absolute;
  width: 110px;
  height: 2px;
  background-color: #ffc222;
  left: 0;
  top: 11px;
}

.yslugi__title{
  font-size: 24px;
  font-weight: 500;
  line-height: 24px;
  color: #212020;
  font-family: 'Roboto', sans-serif;
  margin-bottom: 25px;
}

.yslugi__text{
  font-size: 1rem;
  letter-spacing: 0.1px;
}

ul {
  cursor: pointer;
}

.sub-list {
  list-style-type: none; /* Убираем маркеры для подпунктов */
  padding-left: 20px; /* Отступ для вложенности */
  display: none; /* Подпункты скрыты по умолчанию */
}

.sub-list li {
  background-color: #fafafa;
  padding: 5px 10px;
  border: 1px solid #eee;
  margin-top: 5px;
}

.arrow {
margin-right: 10px;
transition: transform 0.3s ease;
}

.arrow.rotated {
transform: rotate(90deg);
}

.list3a {
  list-style-type: none;
  padding:0;
  list-style: none;
  counter-reset: li;
}    
.list3a li {
  position: relative;
  border-left: 4px solid #ffc222;
  padding:19px 20px 20px 30px;
  margin:12px 0 19px 0px;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.list3a li:before {
  line-height: 32px;
  position: absolute;
  top: 10px;
  left:-80px;
  width:80px;
  text-align:center;
  font-size: 24px;
  font-weight: bold;
  color: #ffc222;
  counter-increment: li;
  content: counter();
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;    
}
.list3a li:hover:before {
  color: #ffc222;
}
.text_size {
font-size: 18px;
font-weight: bold;
line-height: 1.3;
}
.list3a li:after {
  position: absolute;
  top: 26px;
  left: -40px;
  width: 60px;
  height: 60px;
  border: 30px solid #ffc222;
  border-radius: 50%;
  content: '';
  opacity: 0;
  -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
  -moz-transition: -moz-transform 0.3s, opacity 0.3s;
  transition: transform 0.3s, opacity 0.3s;
  -webkit-transform: translateX(-50%) translateY(-50%) scale(0.1);
  -moz-transform: translateX(-50%) translateY(-50%) scale(0.1);
  transform: translateX(-50%) translateY(-50%) scale(0.1);
  pointer-events: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;        
}
.list3a li:hover:after {
  opacity: 0.5;
  -webkit-transform: translateX(-50%) translateY(-50%) scale(1);
  -moz-transform: translateX(-50%) translateY(-50%) scale(1);
  transform: translateX(-34%) translateY(-50%) scale(0.5);
}

@media (min-width: 320px) {
/* Дополнительная настройка для телефонов */
.yslugi__title-box {
    padding-left: 30px;
}
}
@media (min-width: 900px) {
/* Дополнительная настройка для телефонов */
.yslugi__title-box {
    padding-left: 140px;
}
}

.yslugi__inner {
display: flex; /* Создаем двухколоночный макет */
gap: 30px; /* Отступ между колонками */
align-items: flex-start; /* Выравниваем элементы по верхнему краю */
}

.form__box-inner label,
.form__box-inner input,
.form__box-inner textarea {
display: block;
width: 100%;
margin-bottom: 10px;
}

.form__box-inner input,
.form__box-inner textarea {
height: 40px;
padding: 5px 10px;
border: 1px solid #e6e6e6;
border-radius: 5px;
}

.form__box-inner textarea {
height: 100px;
resize: none;
}

.form__box-left1{
max-width: 360px;
width: 100%;
}

.form__box-inner input{
margin-bottom: 8px;
outline: none;
height: 40px;
border: 1px solid #e6e6e6;
padding: 0px 10px;
}

.text_zayavki {
font-size: 30px;
line-height: 1.3;
color: black;
font-weight: 500;
font-family: 'Roboto', sans-serif;
}

.zayavki {
flex: 1; /* Правая колонка занимает меньше места */
background-color: #f9f9f9;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .yslugi__inner {
    flex-direction: column; /* Одноколоночный макет */
    gap: 20px;
  }

  .zayavki {
    margin-top: 20px; /* Добавляем отступ сверху */
  }
}

/* Адаптация для больших экранов */
@media (min-width: 768px) {
  .yslugi__inner {
    flex-direction: row; /* Двухколоночный макет */
    gap: 30px;
  }

  .zayavki {
    flex: 1; /* Правая колонка занимает меньше места */
  }
}

@media (max-width: 760px) {
  .yslugi__title-box {
    max-width: 100%;
  }
}