/* FAQ Acordeón */
#faq {
  max-width: 900px;
  margin: 40px auto;
  font-family: Arial, sans-serif;
}

#faq h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 20px;
  color: #1a1a1a;
}

/* Quita el estilo por defecto del summary */
#faq details summary {
  cursor: pointer;
  font-weight: bold;
  padding: 15px 20px;
  background-color: #f0f4ff;
  border: 1px solid #cbd6ff;
  border-radius: 8px;
  margin-bottom: 8px;
  list-style: none;
  transition: background-color 0.3s ease;
}

#faq details summary:hover {
  background-color: #d0e0ff;
}

/* Icono de + / - */
#faq details summary::marker {
  display: none;
}

#faq details[open] summary::after {
  content: "–";
  float: right;
  font-size: 1.5em;
}

#faq details summary::after {
  content: "+";
  float: right;
  font-size: 1.5em;
}

/* Contenido del detalle */
#faq details p {
  padding: 15px 20px;
  background-color: #f9faff;
  border-left: 1px solid #cbd6ff;
  border-right: 1px solid #cbd6ff;
  border-bottom: 1px solid #cbd6ff;
  margin-top: -5px;
  border-radius: 0 0 8px 8px;
  line-height: 1.6;
  color: #333;
}

/* Para pantallas pequeñas */
@media (max-width: 600px) {
  #faq details summary {
    font-size: 1em;
    padding: 12px 15px;
  }

  #faq details p {
    padding: 12px 15px;
    font-size: 0.95em;
  }
}
