/* ========================================
   СТИЛИ СТРАНИЦЫ УСЛУГ
   ======================================== */

.services-header {
  text-align: center;
  margin: 30px 0;
}

.services-intro {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
  color: #666;
  font-size: 18px;
  line-height: 1.6;
}

/* Сетка услуг */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

/* Выровнять стиль услуг под клиентов */
.service-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 30px;
}
.service-name {
  font-weight: bold;
  font-size: 16px;
  margin-top: 10px;
}
.service-name a {
  color: #b0ff00;
  text-decoration: none;
}
.service-name a:hover {
  text-decoration: underline;
}

.service-image {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}
.service-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* не используем тёмную шапку в карточке списка услуг */
.service-card-header {
  display: none;
}

.service-card-header img {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  filter: brightness(0) invert(1);
}

.service-card-header h3 {
  color: white;
  margin-bottom: 10px;
  font-size: 20px;
}

.service-card-body {
  padding: 25px;
}

.service-card-body p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  margin: 20px 0;
}

.service-features li {
  padding: 8px 0;
  color: #333;
  position: relative;
  padding-left: 25px;
}

.service-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #b0ff00;
  font-weight: bold;
  font-size: 16px;
}

.service-price {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  margin: 20px 0;
}

.service-price .price {
  font-size: 24px;
  font-weight: bold;
  color: #b0ff00;
}

.service-price .period {
  color: #666;
  font-size: 14px;
}

.service-cta {
  text-align: center;
  margin-top: 20px;
}

.service-cta .button {
  background: #b0ff00;
  color: #2c2c2c;
  font-weight: bold;
  padding: 12px 25px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.service-cta .button:hover {
  background: #9ee600;
  transform: translateY(-2px);
}

/* Фильтр услуг */
.services-filter {
  margin: 30px 0;
  text-align: center;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.filter-button {
  background: white;
  border: 2px solid #2c2c2c;
  color: #2c2c2c;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
}

.filter-button:hover,
.filter-button.active {
  background: #2c2c2c;
  color: white;
}

/* Детальная страница услуги */
.service-detail {
  max-width: 900px;
  margin: 0 auto;
}

.service-detail-header {
  text-align: center;
  margin: 30px 0;
  padding: 40px;
  background: linear-gradient(135deg, #2c2c2c, #444);
  color: white;
  border-radius: 12px;
}

.service-detail-header img {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.service-detail-content {
  line-height: 1.8;
  font-size: 16px;
}

.service-detail-content h3 {
  color: #2c2c2c;
  margin: 30px 0 15px;
  border-bottom: 2px solid #b0ff00;
  padding-bottom: 10px;
}

.service-detail-content ul {
  margin: 20px 0;
  padding-left: 20px;
}

.service-detail-content li {
  margin-bottom: 10px;
  color: #333;
}

/* Детальная страница услуги */
.service-info {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.service-price,
.service-duration {
  text-align: center;
}

.service-price strong,
.service-duration strong {
  color: #2c2c2c;
  display: block;
  margin-bottom: 5px;
}

.service-features-section {
  margin: 30px 0;
}

.service-features-section h3 {
  color: #2c2c2c;
  margin-bottom: 15px;
  border-bottom: 2px solid #b0ff00;
  padding-bottom: 10px;
}

.service-features-list {
  list-style: none;
  padding: 0;
}

.service-features-list li {
  padding: 10px 0;
  color: #333;
  position: relative;
  padding-left: 25px;
  border-bottom: 1px solid #eee;
}

.service-features-list li:last-child {
  border-bottom: none;
}

.service-features-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #b0ff00;
  font-weight: bold;
  font-size: 16px;
}

.service-description {
  line-height: 1.8;
  font-size: 16px;
  color: #333;
  margin: 30px 0;
}

.service-description h2,
.service-description h3,
.service-description h4 {
  color: #2c2c2c;
  margin: 30px 0 15px;
  border-bottom: 2px solid #b0ff00;
  padding-bottom: 10px;
}

.service-contact {
  background: linear-gradient(135deg, #2c2c2c, #444);
  color: white;
  padding: 30px;
  border-radius: 12px;
  margin: 40px 0;
  text-align: center;
}

.service-contact h3 {
  color: #b0ff00;
  margin-bottom: 20px;
  border-bottom-color: #b0ff00;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.contact-buttons .button {
  background: #b0ff00;
  color: #2c2c2c;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.contact-buttons .button:hover {
  background: #9ee600;
  transform: translateY(-2px);
}

/* Адаптивность для страницы услуг */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    margin-bottom: 20px;
  }

  .filter-buttons {
    flex-direction: column;
    align-items: center;
  }

  .filter-button {
    width: 200px;
  }

  .service-detail-header {
    padding: 30px 20px;
  }

  .service-info {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }

  .contact-buttons .button {
    width: 200px;
  }
}

/* Текст краткого описания в карточке */
.service-excerpt {
  color: #666;
}
