.faq-section .faq-content {
  max-width: 800px;
  margin: 0 auto;
}

.faq-section .faq-item {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 1rem;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-section .faq-item:hover {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
}

.faq-section .faq-item.active {
  border-color: var(--color-primary, #1e88e5);
  box-shadow: 0 0 0 2px rgba(30, 136, 229, 0.15);
}

.faq-section .faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-section .faq-item:hover .faq-question {
  background-color: rgba(30, 136, 229, 0.08);
}

.faq-section .faq-question .question-text {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #000;
  margin: 0;
}

.faq-section .faq-question .faq-toggle {
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9e9e9e;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.faq-section .faq-item.active .faq-toggle {
  color: var(--color-primary, #1e88e5);
  transform: rotate(180deg);
}

.faq-section .faq-question .faq-toggle:hover,
.faq-section .faq-question .faq-toggle:focus-visible {
  background-color: rgba(30, 136, 229, 0.15);
  color: var(--color-primary, #1e88e5);
  outline: none;
}

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

.faq-section .faq-answer.open {
  max-height: 600px;
}

.faq-section .faq-answer .answer-content {
  padding: 0 1.5rem 1.5rem;
}

.faq-section .faq-answer .answer-content p {
  font-size: 1rem;
  font-weight: 400;
  color: #424242;
  line-height: 1.6;
  margin: 0;
}

.faq-section .faq-answer .answer-content ul {
  list-style: none;
  padding-left: 1.5rem;
  margin: 0;
}

.faq-section .faq-answer .answer-content ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: #424242;
  line-height: 1.6;
}

.faq-section .faq-answer .answer-content ul li::before {
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--color-primary-light, #e6d3a3);
  font-size: 0.85rem;
}

.faq-section .faq-answer .answer-content .peon li::before {
  content: "♙";
}

.faq-section .faq-answer .answer-content .caballo li::before {
  content: "♞";
}

.faq-section .faq-answer .answer-content .reina li::before {
  content: "♛";
}

@media (max-width: 768px) {
  .faq-section .faq-question {
    padding: 1rem;
  }

  .faq-section .faq-question .question-text {
    font-size: 1rem;
    gap: 0.75rem;
  }

  .faq-section .faq-answer .answer-content {
    padding: 0 1rem 1rem;
  }
}

@media (max-width: 576px) {
  .faq-section .faq-item {
    margin-bottom: 0.5rem;
  }

  .faq-section .faq-question {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .faq-section .faq-question .question-text {
    font-size: 0.95rem;
  }

  .faq-section .faq-question .faq-toggle {
    width: 28px;
    height: 28px;
  }

  .faq-section .faq-answer .answer-content {
    padding-bottom: 0.75rem;
  }
}