.preguntas {
    max-width: 800px;
    margin: 40px auto;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.preguntas h2 {
    border-bottom: 2px solid rgba(166, 196, 177, 0.9); /*#4CAF50;*/
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    color: rgba(20, 55, 89, 0.9); /*#4CAF50;*/
}

.pregunta {
    margin-bottom: 1rem;
}

.pregunta-boton {
    width: 100%;
    padding: 1rem;
    background-color: #f1f1f1;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
    position: relative;
}

.pregunta-boton:hover {
    background-color: #e1e1e1;
}

.pregunta-boton::after {
    content: '▶';
    font-size: 1.2rem;
    position: absolute;
    right: 1rem;
    transition: transform 0.3s;
}

.pregunta-boton.activa {
    background-color: rgba(20, 55, 89, 0.9); /*#4CAF50;*/
    color: #ffffff;
}

.pregunta-boton.activa::after {
    transform: rotate(90deg);
}

.respuesta {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #ffffff;
    padding: 0 1rem;
    border-left: 2px solid rgba(20, 55, 89, 0.9); /*#4CAF50;*/
}

.respuesta p {
    margin: 1rem 0;
}