.uslugi {
  padding: 30px 0;
  background: #f8f8f8;
  border: 1px solid #A5A293;
  margin: 0 5px 5px 5px;
  border-radius: 20px;
}
.uslugi h1 {
  font-size: 50px;
  text-align: left;
  margin: 0 0 50px 50px;
  font-family: 'Raleway', sans-serif;
  color: #9F927A;
}

/* КАТЕГОРИЯ (details) */
.uslugi-category {
  background: #F6DEDE;
  border-radius: 15px;
  margin: 0 370px 20px 120px;
  padding: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s;
  overflow: hidden;
}

.uslugi-category:hover {
  box-shadow: 0 4px 15px rgba(214, 51, 108, 0.15);
}

.uslugi-category summary {
  font-size: 25px;
  font-weight: 400;
  color: #726858;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 20px 20px;
  
}

.uslugi-category summary::-webkit-details-marker {
  display: none;
}

/* СТРЕЛКА */
.uslugi-category summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  color: #726858;
  font-weight: bold;
  transition: transform 0.3s;
  padding-right: 20px;
}

.uslugi-category[open] summary::after {
  content: '−';
  padding-right: 20px;
}



/* СПИСОК УСЛУГ */
.uslugi-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: fadeIn 0.3s ease;
  background: #f8f8f8;
  padding: 20px;
}

.uslugi-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  color: #9F927A;
}

.uslugi-item:last-child {
  border-bottom: none;
}

.uslugi-price {
  font-weight: bold;
  color: #9F927A;
  white-space: nowrap;
  margin-left: 20px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {

  .uslugi h1 {
  font-size: 35px;
  text-align: center;
  margin: 0;
  margin-bottom: 60px;
}

.uslugi-category {
  margin: 0 10px 10px 10px;
}

.uslugi-category summary {
    font-size: 24px;
}
.uslugi-item {
  font-size: 16px;
}

.uslugi-price {
  font-size: 18px;
}

}