/* Стили для страницы с ценами */
#prices {
  padding: 60px 0;
  background-color: #f8f9fa;
}

#prices h1 {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
  font-size: 2.5em;
}

.price-intro {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
  font-size: 1.3em;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

/* .price-card {
    background: white;оаршгггерегшамгргш гшшкмш енмм гн
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
} */

.price-card {
  text-decoration: none;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 30px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.price-card {
  border: 2px solid #007bff;
}

#price-card-header {
  position: relative;
  overflow: hidden;
}

#price-card-header::before {
  content: "Нажмите, чтобы узнать цены подробнее";
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  padding: 10px;
  background-color: rgba(0, 123, 255, 0.9);
  color: white;
  text-align: center;
  transition: bottom 0.3s ease;
}
#price-card-header:hover::before {
  bottom: 0;
}

.price-card.main-service {
  border: 2px solid #007bff;
  grid-column: 1 / -1;
  max-width: 600px;
  margin: 0 auto;
  min-height: auto;
}

@media screen and (max-width: 768px) {
  .price-card.main-service {
    max-width: 80%;
  }
}

.price-card-header {
  text-align: center;
  margin-bottom: 20px;
}

.price-card-header i {
  font-size: 2.5em;
  color: #007bff;
  margin-bottom: 15px;
}

.price-card-header h2 {
  color: #333;
  font-size: 1.8em;
  margin: 10px 0;
}

.price {
  font-size: 2em;
  color: #28a745;
  font-weight: bold;
  margin: 15px 0;
}

.description {
  color: #666;
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
}

.features h3 {
  color: #333;
  font-size: 1.3em;
  margin-bottom: 15px;
}

.features ul {
  list-style: none;
  padding: 0;
}

.features li {
  padding: 8px 0;
  color: #555;
  position: relative;
  padding-left: 25px;
}

.features li:before {
  content: "✓";
  color: #28a745;
  position: absolute;
  left: 0;
}

/* Стили для бесплатных услуг */
.price-card.free-service {
  background: #f8f9fa;
  border: 2px dashed #28a745;
}

.free-label {
  color: #28a745;
  font-size: 1.5em;
  font-weight: bold;
  background: rgba(40, 167, 69, 0.1);
  padding: 5px 15px;
  border-radius: 20px;
  display: inline-block;
}

/* Стили для примечаний к ценам */
.price-note {
  font-size: 0.6em;
  color: #666;
  display: block;
  margin-top: 5px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .price-card {
    padding: 20px;
  }

  .price-card-header h2 {
    font-size: 1.5em;
  }

  .price {
    font-size: 1.8em;
  }
}

/* Стили для блока с уведомлением о ценах */
.price-notice {
  background: linear-gradient(135deg, rgba(0,123,255,0.15) 0%, rgba(40,167,69,0.15) 100%);
  border-radius: 12px;
  padding: 25px;
  margin: 30px 0 40px;
  border-left: 4px solid #007bff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.price-notice-content {
  display: flex;
  align-items: flex-start;
  gap: 25px;
}

.price-notice-icon {
  font-size: 2.2em;
  color: #007bff;
  padding: 20px; /* Увеличил padding для круглости */
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  flex-shrink: 0;
  width: 60px; /* Фиксированная ширина */
  height: 60px; /* Фиксированная высота */
  display: flex;
  align-items: center;
  justify-content: center;
}

.price-notice-text h3 {
  color: #0056b3;
  margin-top: 5px;
  margin-bottom: 15px;
  font-size: 1.5em;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.price-notice-text p {
  color: #333;
  line-height: 1.7;
  margin-bottom: 18px;
  font-size: 1.1em;
  font-weight: 500;
}

.price-guarantee {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0,123,255,0.1);
  padding: 14px 18px;
  border-radius: 8px;
  color: #004a9c;
  font-weight: 600;
  border: 1px solid rgba(0,123,255,0.2);
}

.price-guarantee i {
  font-size: 1.3em;
  color: #007bff;
}

@media (max-width: 768px) {
  .price-notice-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  
  .price-guarantee {
    justify-content: center;
    text-align: left;
  }
  
  .price-notice-icon {
    width: 55px;
    height: 55px;
    padding: 15px;
  }
}