.faq {
  padding: 80px 0;
  background: #fff;
}

.section__title {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 40px;
}

.faq__list {
  border-top: 1px solid #e5e5e5;
}

.faq__item {
  border-bottom: 1px solid #e5e5e5;
  transition: all 0.3s ease;
}

.faq__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 24px 0;
  min-height: 44px;
}

.faq__header .question {
  font-size: 18px;
  font-weight: 500;
  margin: 0;
  max-width: 90%;
}

.faq__header__icon {
  position: relative;
  width: 18px;
  height: 18px;
}

.faq__header__icon .line {
  position: absolute;
  background: #000;
  transition: all 0.3s ease;
}

.faq__header__icon .line:first-child {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.faq__header__icon .line:last-child {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

/* открытое состояние */
.faq__item.active .faq__header__icon .line:last-child {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq__body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
  will-change: max-height;
}

.faq__body__inner {
  padding: 0 0 24px 0;
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

/* hover эффект */
.faq__header:hover .question {
  color: #c00;
}

@media (hover: none) {
  .faq__header:hover .question {
    color: inherit;
  }
}

/* ====== TABLET (до 1024px) ====== */
@media (max-width: 1024px) {
  .faq {
    padding: 60px 0;
  }

  .section__title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .faq__header {
    padding: 20px 0;
  }

  .faq__header .question {
    font-size: 16px;
  }

  .faq__body__inner {
    font-size: 15px;
    line-height: 1.5;
  }
}

/* ====== MOBILE (до 768px) ====== */
@media (max-width: 768px) {
  .faq {
    padding: 40px 0;
  }

  .section__title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .faq__header {
    padding: 18px 0;
    align-items: flex-start;
    gap: 10px;
  }

  .faq__header .question {
    font-size: 15px;
    line-height: 1.4;
    max-width: 85%;
  }

  .faq__header__icon {
    width: 16px;
    height: 16px;
    margin-top: 4px;
    flex-shrink: 0;
  }

  .faq__body__inner {
    font-size: 14px;
    line-height: 1.5;
    padding-bottom: 20px;
  }
}

/* ====== SMALL MOBILE (до 480px) ====== */
@media (max-width: 480px) {
  .section__title {
    font-size: 20px;
  }

  .faq__header {
    padding: 16px 0;
  }

  .faq__header .question {
    font-size: 14px;
  }

  .faq__body__inner {
    font-size: 13px;
  }
}