/* Estilos para la sección de Preguntas Frecuentes */
.faq-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

/* Elementos decorativos */
.faq-section:before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 84, 80, 0.05) 0%, rgba(12, 35, 64, 0.05) 100%);
    z-index: 1;
}

.faq-section:after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 84, 80, 0.05) 0%, rgba(12, 35, 64, 0.05) 100%);
    z-index: 1;
}

.faq-section .container {
    position: relative;
    z-index: 2;
}

/* Contenedor de preguntas y respuestas */
.faq-container {
    margin-top: 50px;
}

.faq-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

/* Estilos para cada pregunta */
.faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-icon {
    color: var(--secondary-color);
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 84, 80, 0.1);
}

/* Estilos para pregunta activa */
.faq-item.active .faq-question {
    border-left-color: var(--secondary-color);
    background-color: rgba(0, 84, 80, 0.03);
}

.faq-item.active .faq-question h3 {
    color: var(--secondary-color);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background-color: var(--secondary-color);
    color: #ffffff;
}

/* Respuesta */
.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 1000px; /* Valor alto para permitir cualquier contenido */
}

.faq-answer p {
    margin: 0;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Pregunta destacada */
.faq-highlight {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 40px;
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.faq-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 84, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-icon i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.highlight-content {
    flex: 1;
}

.highlight-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin: 0 0 10px;
}

.highlight-content p {
    color: var(--text-color);
    margin: 0 0 15px;
    font-size: 1rem;
}

.btn-secondary {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Estilos responsivos */
@media (max-width: 992px) {
    .faq-columns {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-highlight {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .highlight-icon {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .faq-section {
        padding: 50px 0;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 15px;
    }
    
    .faq-highlight {
        padding: 20px;
    }
    
    .highlight-content h3 {
        font-size: 1.2rem;
    }
}
