/* ============================================
   PREGUNTAS FRECUENTES - Sección para incluir en páginas
   ============================================ */

.faq-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #03045E 0%, #020348 100%);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #B8FB3C, transparent);
}

.faq-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.faq-section .section-title h2 {
    color: #ffffff;
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    margin-bottom: 15px;
    font-weight: 800;
}

.faq-section .section-title p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(184, 251, 60, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(184, 251, 60, 0.4);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.faq-question {
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(184, 251, 60, 0.05);
}

.faq-question h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
    padding-right: 20px;
}

.faq-toggle {
    color: #B8FB3C;
    font-size: 1.2rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(184, 251, 60, 0.1);
    transition: all 0.3s ease;
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 200px;
}

.faq-answer strong {
    color: #B8FB3C;
}

.faq-footer {
    text-align: center;
    margin-top: 40px;
}

.faq-footer .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: #B8FB3C;
    color: #03045E;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.faq-footer .btn-primary:hover {
    background: #9CDB2E;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(184, 251, 60, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer {
        font-size: 0.9rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 15px;
    }
}