/**************************
  PREGUNTAS FRECUENTES
***************************/
.faq-wrapper {
  background-color: #ffffff;
  padding: 2rem 1rem;
}

.faq-section {
  max-width: 1200px;
  margin: auto;
  padding: 130px 20px 40px 20px;
  font-family: 'Arial', sans-serif;
  border-radius: 12px;
}

.faq-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.titulo-faq {
  font-family: var(--font-title);
  color: var(--verde);
  font-size: 60px;
  line-height: 1;
  text-align: center;
}

.subtitulo-faq {
  font-family: var(--font-subtitle2);
  font-size: 25px;
  color: var(--dorado);
  text-align: center;
}

.faq-left {
  flex: 1 1 100%;
  max-width: 800px;
}

.faq-right {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.faq-right img {
  max-width: 100%;
  height: auto;
}

.faq-question {
  font-family: var(--font-subtitle1);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  padding: 1rem;
  margin-top: 1rem;
  font-weight: bold;
  background-color: #ffffff;
  border: none;
  border: 2px solid var(--verde);
  border-radius: 8px;
  /*  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
  cursor: pointer;
  font-size: 18px;
  color: var(--verde);
  transition: color 0.3s ease;
}

.faq-question:hover .question-text {
  color: var(--dorado);
}

.faq-question.active .question-text {
  color: var(--dorado);
}

.faq-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  object-fit: contain;
}

.faq-question.active .faq-icon {
  transform: rotate(90deg);
}

.faq-answer {
  font-family: var(--font-subtitle2);
  color: var(--verde2);
  display: none;
  padding: 1rem;
  margin-top: 0.5rem;
  background: #f5f5f5;
  border-radius: 8px;
}

.faq-answer ul {
  padding-left: 1.5rem;
}

.faq-answer img,
.faq-answer video {
  margin-top: 1rem;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .faq-container {
    flex-direction: column;
  }

  .faq-question {
    border: 1.5px solid var(--verde);
    font-size: 15px;
  }

  .faq-right {
    display: none;
  }

  .titulo-faq {
    font-size: 40px;

  }

  .subtitulo-faq {
    font-size: 18px;
  }

  .faq-icon {
    width: 18px;
    height: 18px;
  }

}