.faq-section {
  background-color: var(--bg-color);
  position: relative;
  padding: 50px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.faq-title {
  margin-bottom: 10px;
  * {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 500;
    color: #fff;
    text-align: center;
    letter-spacing: 1px;
  }
}

.faq-list {
  width: 100%;
}

.faq-item {
  border-bottom: 1px solid #bbc6f9;
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s ease;
}

.faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.faq-question-text {
  flex: 1;
  * {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: #fff;
    font-weight: 600;
    line-height: 1.6;
  }
}

.faq-icon {
  width: 100%;
  max-width: 50px;
  height: 50px;;
  {#color: white;#}
  flex-shrink: 0;
  margin-top: 0.25rem;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-icon::before {
  content: '';
  background-image: url('https://5092991.fs1.hubspotusercontent-na1.net/hubfs/5092991/flecha-faqs.png');
  background-size: cover;
  background-position: center;
  width: 30px;
  height: 30px;
  font-size: 10px;
  font-weight: 300;
}

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

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

.faq-item.open .faq-answer {
  max-height: 500px;
  opacity: 1;
}

.faq-answer-text * {
  font-family: 'Montserrat', sans-serif;
  padding: 0 1.5rem 2rem 1.5rem;
  color: white;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
}


@media (min-width: 768px) {
  .faq-answer-text {
    padding: 0 2rem 2rem 2rem;
    font-size: 1.125rem;
  }
  .faq-title * {
    font-size: 40px;
  }
  .faq-question-text * {
    font-size: 28px;
  }
  .faq-answer-text * {
    font-size: 20px;
  }
  .faq-question {
    padding: 20px;
  }
}

@media (min-width: 1024px) {
  .faq-title * {
    font-size: 40px;
  }
  .faq-question-text * {
    font-size: 28px;
  }
  .faq-answer-text * {
    font-size: 20px;
  }
}
