/* =====================================
   SECCIÓN DE PREGUNTAS FRECUENTES (FAQ)
   Con degradado rojo → azul, moderno y limpio
===================================== */

/* Sección general */
.faq-section {
  background-color: #fff;
  padding: 80px 0;
}

/* Título principal */
.faq-title h2 {
  font-size: 2rem;
  color: #1c1c1c;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

/* Contenedor de cada pregunta */
.faq-item {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

/* Botón de pregunta */
.faq-button {
  width: 100%;
  border: none !important;
  outline: none !important;
  padding: 18px 22px;
  text-align: left;
  color: #fff !important;
  font-weight: 600;
  font-size: 1.05rem;
  background: linear-gradient(to right, #FF1A0B 0%, #2F00EF 100%) !important;
  display: flex;
  justify-content: space-between; /* flecha a la derecha */
  align-items: center;
  transition: all 0.4s ease;
  border-radius: 0;

  /* Mantener el texto junto y permitir saltos de línea */
  flex-wrap: nowrap; 
  white-space: normal; 
}

/* Texto dentro del botón */
.faq-button span {
  display: inline;
  color: #fff;
  line-height: 1.4;
}

/* Resaltar texto fuerte sin fondo ni subrayado */
.faq-button strong {
  font-weight: 900; /* Negritas más fuertes */
  color: #fff;      /* Blanco para que resalte sobre el degradado */
}

/* Hover del botón */
.faq-button:hover {
  filter: brightness(1.1);
  cursor: pointer;
}

.faq-button:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Flecha animada */
.faq-button::after {
  content: '\25BC'; /* Flecha hacia abajo */
  font-size: 1.1rem;
  color: #fff;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-button.collapsed::after {
  transform: rotate(180deg);
}

/* Cuerpo de la respuesta */
.faq-body {
  background-color: #f8f8f8;
  color: #333;
  font-size: 1rem;
  padding: 20px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  line-height: 1.6;
  border-radius: 0 0 12px 12px;
}

/* Animación al abrir/cerrar */
.accordion-collapse.collapse.show .faq-body {
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 767px) {
  .faq-title h2 {
    font-size: 1.6rem;
  }

  .faq-button {
    font-size: 0.95rem;
    padding: 15px 16px;
  }

  .faq-body {
    font-size: 0.9rem;
  }
}
