/* Estilos para la sección de Preguntas Frecuentes */
.faq-section {
    padding: 280px 0;
    background-image: linear-gradient(rgba(154, 156, 250, 0.171), rgba(193, 50, 250, 0.158)), url('../images/faq.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.faq-container {
    max-width: 900px;
    margin: 40px auto 0;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #fffefef1;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 20px 25px;
    background-color: #f8dbc03a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
    padding-right: 30px;
}

.faq-icon {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--primary-color, #ff7b00);
    transition: all 0.3s ease;
}

.faq-icon::before {
    width: 2px;
    height: 20px;
    top: 0;
    left: 9px;
}

.faq-icon::after {
    width: 20px;
    height: 2px;
    top: 9px;
    left: 0;
}

.faq-item.active .faq-icon::before {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.3s ease;
    background-color: #fdfdfde7;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 25px 25px;
}

.faq-answer p {
    margin-top: 0;
    line-height: 1.6;
    color: #555;
}

.faq-answer ul {
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 8px;
    color: #555;
}

/* Estilos responsive */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-container {
        padding: 0 15px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}