/* FAQ — стили для страниц спецтехники */
.faq-section {
  padding: 40px 20px;
  background-color: #ffffff;
  width: 100%;
  box-sizing: border-box;
}

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
}

.faq-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 40px;
  text-align: left;
  font-family: inherit;
}

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

.faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #f9f9f9;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #ffcc00;
}

.faq-question {
  width: 100%;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  line-height: 1.4;
}

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: 15px;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: #1a1a1a;
  transition: transform 0.3s ease;
}

.faq-icon::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}

.faq-icon::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}

.faq-item.active .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer-content {
  padding: 0 25px 25px 25px;
  font-size: 16px;
  line-height: 1.6;
  color: #4a4a4a;
}

.faq-answer-content p {
  margin: 0;
}

@media (max-width: 768px) {
  .faq-section { padding: 40px 15px; }
  .faq-title { font-size: 26px; margin-bottom: 25px; }
  .faq-question { padding: 16px 20px; font-size: 16px; }
  .faq-answer-content { padding: 0 20px 20px 20px; font-size: 14px; }
}

/* ============================================
   Единый стиль для таблиц характеристик спецтехники
   ============================================ */

.specs-table {
  width: 100%;
  max-width: 600px;
  border-collapse: collapse;
  margin: 20px 0;
  table-layout: fixed;
}

.specs-table td {
  padding: 10px;
  border: 1px solid #dddddd;
  vertical-align: top;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Первый столбец — параметр (серый фон, жирный шрифт) */
.specs-table td:first-child {
  background-color: #f9f9f9;
  font-weight: bold;
  width: 50%;
}

/* Второй столбец — значение */
.specs-table td:last-child {
  width: 50%;
}

/* Строка с ценой — красная, жирная */
.specs-table td.price {
  font-weight: bold;
  color: #d9534f;
}

/* ============================================
   Адаптив для мобильных
   ============================================ */

@media (max-width: 480px) {
  .specs-table {
    margin: 15px 0;
  }

  .specs-table td {
    padding: 8px 6px;
    font-size: 14px;
  }

  /* Уменьшаем шрифт в первом столбце */
  .specs-table td:first-child {
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .specs-table td {
    padding: 6px 5px;
    font-size: 13px;
  }

  .specs-table td:first-child {
    font-size: 12px;
  }
}