.faq-fon {
background-color: #f8f9fa;
      margin: 0;
      padding: 0;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}    
.faq-container {
  padding: 40px;
  width: 1200px;
  margin: 0 auto;
  max-width: 90%;
  font-family: Open sans-serif;
}

.faq-container h2 {
  font-size: 40px;
  font-weight: 700;
  color: #000;
  margin: 0px 0px 40px 0px;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.faq-toggle {
  width: 100%;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-question {
  flex: 1;
  margin-right: 16px;
  line-height: 1.5;
  font-size: 20px;
  font-weight: 600;
  font-family: Open sans-serif;
}

.faq-icon-container {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #edf2f7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #718096;
  transition: all 0.2s ease;
}

.faq-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon-container {
  background-color: #0D96F7;
  color: white;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), padding 0.35s ease;
  font-size: 15px;
  line-height: 1.6;
}

.faq-item.active .faq-content {
  max-height: 200px;
  padding: 0 20px 20px;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), padding 0.4s ease;
}

.faq-content p {
  margin: 12px 0;
  font-size: 18px;
  line-height: 1.6;
}

/* Планшеты */
@media (max-width: 1024px) {
  .faq-container {
    width: 90%;
    padding: 30px 20px;
  }

  .faq-container h2 {
    font-size: 22px;
    margin-bottom: 30px;
  }

  .faq-toggle {
    padding: 16px 18px;
    font-size: 15px;
  }

  .faq-icon-container {
    width: 32px;
    height: 32px;
  }

  .faq-icon {
    width: 20px;
    height: 20px;
  }

  .faq-item.active .faq-content {
    padding: 0 18px 18px;
  }
}

/* Мобильные устройства */
@media (max-width: 768px) {
  .faq-container {
    width: 100%;
    padding: 24px 16px;
  }

  .faq-container h2 {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .faq-toggle {
    padding: 14px 16px;
    font-size: 15px;
  }

  .faq-question {
    margin-right: 12px;
  }

  .faq-icon-container {
    width: 30px;
    height: 30px;
  }

  .faq-icon {
    width: 18px;
    height: 18px;
  }

  .faq-content {
    font-size: 14px;
    padding: 0 16px;
  }

  .faq-item.active .faq-content {
    padding: 0 16px 16px;
  }

  .faq-content p {
    margin: 10px 0;
  }
}

/* Маленькие мобильные устройства */
@media (max-width: 480px) {
  .faq-container {
    padding: 0px 10px 30px 10px;
    max-width: 90%;
  }

  .faq-container h2 {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .faq-toggle {
    padding: 12px 14px;
    font-size: 14px;
  }

  .faq-icon-container {
    width: 28px;
    height: 28px;
  }

  .faq-icon {
    width: 16px;
    height: 16px;
  }

  .faq-content {
    font-size: 13px;
  }

  .faq-item.active .faq-content {
    padding: 0 14px 14px;
  }
}