/* Изолированные стили для компонента business */
.business-component {
  width: 100%;
  background-color: #f8f9fa;
  padding: 40px 0;
  box-sizing: border-box;
}

.business-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.business-heading {
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 40px;
  line-height: 1.3;
}

.business-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}

.business-card {
  background: white;
  border-radius: 24px;
  padding: 20px 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  min-width: 0; /* Позволяет карточкам сжиматься */
}

.business-card:hover {
  transform: translateY(-5px);
}

.business-icon {
  margin: 0 auto 20px;
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.business-description {
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  padding: 0 10px;
}

.business-button {
  display: block;
  width: 100%;
  margin: 0 auto;
  padding: 16px;
  background: #0D96F7;
  color: white;
  border: none;
  border-radius: 24px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s ease;
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.business-button:hover {
  background: #1976d2;
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

/* === Модальное окно (универсальные стили) === */
.expert-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  box-sizing: border-box;
}

.expert-modal {
  background: white;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: expertModalFadeIn 0.3s ease;
}

@keyframes expertModalFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.expert-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: #f1f1f1;
  border-radius: 50%;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 10;
}

.expert-modal-close:hover {
  background: #e0e0e0;
  color: #333;
}

.expert-modal-content {
  padding: 40px 30px 30px;
}

/* Адаптивность */
@media (max-width: 768px) {
  .expert-modal {
    max-width: 100%;
    border-radius: 12px;
  }
  .expert-modal-content {
    padding: 50px 20px 20px;
  }
  .expert-modal-close {
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    font-size: 20px;
  }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 992px) {
  .business-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .business-heading {
    font-size: 24px;
  }
  
  .business-cards {
    grid-template-columns: 1fr;
  }
  
  .business-card {
    padding: 25px 20px;
  }
  
  .business-description {
    font-size: 15px;
  }
}